arm64: dts: renesas: spider: Complete SCIF3 description
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Feb 2022 15:48:54 +0000 (16:48 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 25 Feb 2022 13:00:39 +0000 (14:00 +0100)
Complete the description of the serial console by adding RTS/CTS, the
external clock crystal, and pin control.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/8e5701ca2a5f5925918217ab79e8489535339e7b.1645458249.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi

index 3a90932..6e07c54 100644 (file)
        clock-frequency = <32768>;
 };
 
+&pfc {
+       pinctrl-0 = <&scif_clk_pins>;
+       pinctrl-names = "default";
+
+       scif3_pins: scif3 {
+               groups = "scif3_data", "scif3_ctrl";
+               function = "scif3";
+       };
+
+       scif_clk_pins: scif_clk {
+               groups = "scif_clk";
+               function = "scif_clk";
+       };
+};
+
 &rwdt {
        timeout-sec = <60>;
        status = "okay";
 };
 
 &scif3 {
+       pinctrl-0 = <&scif3_pins>;
+       pinctrl-names = "default";
+
+       uart-has-rtscts;
        status = "okay";
 };
+
+&scif_clk {
+       clock-frequency = <24000000>;
+};