]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: renesas: rzg3s-smarc: Enable SCIF3
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Mon, 20 Jan 2025 13:09:35 +0000 (15:09 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Feb 2025 15:23:00 +0000 (16:23 +0100)
Enable SCIF3.  It is routed to the SER1_UART interface on the RZ SMARC
Carrier II board.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250120130936.1080069-4-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi

index 81b4ffd1417d7f56f532cb1718646ec972162080..0851e0b7ed408df650e0de3c97595202b1d55e52 100644 (file)
@@ -12,6 +12,7 @@
 / {
        aliases {
                i2c0 = &i2c0;
+               serial1 = &scif3;
                serial3 = &scif0;
                mmc1 = &sdhi1;
        };
                         <RZG2L_PORT_PINMUX(6, 4, 1)>; /* TXD */
        };
 
+       scif3_pins: scif3 {
+               pinmux = <RZG2L_PORT_PINMUX(17, 2, 7)>, /* RXD */
+                        <RZG2L_PORT_PINMUX(17, 3, 7)>; /* TXD */
+       };
+
        sdhi1_pins: sd1 {
                data {
                        pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3";
        status = "okay";
 };
 
+&scif3 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&scif3_pins>;
+       status = "okay";
+};
+
 &sdhi1 {
        pinctrl-0 = <&sdhi1_pins>;
        pinctrl-1 = <&sdhi1_pins_uhs>;