arm64: dts: renesas: white-hawk-cpu: Add serial port pin control
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 9 Sep 2022 09:53:51 +0000 (11:53 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Sun, 18 Sep 2022 12:53:34 +0000 (14:53 +0200)
Complete the description of the serial console and the external serial
clock by adding pin control.

Based on larger patch in the BSP by Takeshi Kihara.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/74c862ef6e46b4af398d9b371ff38fae17b3db05.1662715538.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi

index 9d20d3e..ba8cc16 100644 (file)
        status = "okay";
 };
 
+&pfc {
+       pinctrl-0 = <&scif_clk_pins>;
+       pinctrl-names = "default";
+
+       hscif0_pins: hscif0 {
+               groups = "hscif0_data";
+               function = "hscif0";
+       };
+
+       scif_clk_pins: scif_clk {
+               groups = "scif_clk";
+               function = "scif_clk";
+       };
+};
+
 &scif_clk {
        clock-frequency = <24000000>;
 };