]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: renesas: gray-hawk-single: Add serial console pin control
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 26 Jan 2024 10:54:58 +0000 (11:54 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 22 Feb 2024 10:03:31 +0000 (11:03 +0100)
Complete the descriptions of the serial console and the external serial
clock by adding pin control.

Based on patches for Gray Hawk in the BSP by Hai Pham and Nghia Nguyen.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/b1eb2d3364d5ead7f7bcf7a737c5914971db64d3.1706266286.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts

index e04de1d74825ea40bcf6ab59a825963c276d71a3..e68cd962f908330e9ff11d6f4da9bf27954e23e1 100644 (file)
 };
 
 &hscif0 {
+       pinctrl-0 = <&hscif0_pins>;
+       pinctrl-names = "default";
+
        uart-has-rtscts;
        status = "okay";
 };
 
+&pfc {
+       pinctrl-0 = <&scif_clk_pins>;
+       pinctrl-names = "default";
+
+       hscif0_pins: hscif0 {
+               groups = "hscif0_data", "hscif0_ctrl";
+               function = "hscif0";
+       };
+
+       scif_clk_pins: scif-clk {
+               groups = "scif_clk";
+               function = "scif_clk";
+       };
+};
+
 &rwdt {
        timeout-sec = <60>;
        status = "okay";