Skip to content

Commit 52a3554

Browse files
bijudasgeertu
authored andcommitted
arm64: dts: renesas: r9a07g044: Enable SCI0 using DT overlay
Enable sci0 node using dt overlay and disable can{0,1}-stb-hog nodes in DT overlay as its pins are shared with sci0 pins. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230321114753.75038-6-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent c21a1fc commit 52a3554

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

arch/arm64/boot/dts/renesas/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb
7676
dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb
7777

7878
dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc.dtb
79+
dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043-smarc-pmod.dtbo
7980

8081
dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044c2-smarc.dtb
8182
dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Device Tree Source for the RZ/{G2UL, Five} SMARC EVK PMOD parts
4+
*
5+
* Copyright (C) 2023 Renesas Electronics Corp.
6+
*
7+
*
8+
* [Connection]
9+
*
10+
* SMARC EVK
11+
* +----------------------------+
12+
* |CN7 (PMOD1 PIN HEADER) |
13+
* | SCI0_TXD pin7 |
14+
* | SCI0_RXD pin8 |
15+
* | Gnd pin11 |
16+
* | Vcc pin12 |
17+
* +----------------------------+
18+
*
19+
*/
20+
21+
/dts-v1/;
22+
/plugin/;
23+
24+
#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
25+
26+
&pinctrl {
27+
can0-stb-hog {
28+
status = "disabled";
29+
};
30+
31+
can1-stb-hog {
32+
status = "disabled";
33+
};
34+
35+
sci0_pins: sci0-pins {
36+
pinmux = <RZG2L_PORT_PINMUX(2, 2, 5)>, /* TxD */
37+
<RZG2L_PORT_PINMUX(2, 3, 5)>; /* RxD */
38+
};
39+
};
40+
41+
&sci0 {
42+
pinctrl-0 = <&sci0_pins>;
43+
pinctrl-names = "default";
44+
status = "okay";
45+
};

0 commit comments

Comments
 (0)