arm64: dts: renesas: spider-cpu: Switch from SCIF3 to HSCIF0
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 13 Jun 2022 13:10:32 +0000 (15:10 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 10 Nov 2022 15:40:37 +0000 (16:40 +0100)
Every loader before Linux utilizes HSCIF0 with a speed of 1843200 bps.
Make Linux behave the same.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220613131033.10053-2-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi

index a45df10..045d705 100644 (file)
        compatible = "renesas,spider-cpu", "renesas,r8a779f0";
 
        aliases {
-               serial0 = &scif3;
+               serial0 = &hscif0;
                serial1 = &scif0;
        };
 
        chosen {
                bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
-               stdout-path = "serial0:115200n8";
+               stdout-path = "serial0:1843200n8";
        };
 
        memory@48000000 {
        clock-frequency = <32768>;
 };
 
+&hscif0 {
+       pinctrl-0 = <&hscif0_pins>;
+       pinctrl-names = "default";
+
+       uart-has-rtscts;
+       status = "okay";
+};
+
 &i2c4 {
        pinctrl-0 = <&i2c4_pins>;
        pinctrl-names = "default";
        pinctrl-0 = <&scif_clk_pins>;
        pinctrl-names = "default";
 
+       hscif0_pins: hscif0 {
+               groups = "hscif0_data", "hscif0_ctrl";
+               function = "hscif0";
+       };
+
        i2c4_pins: i2c4 {
                groups = "i2c4";
                function = "i2c4";
                function = "scif0";
        };
 
-       scif3_pins: scif3 {
-               groups = "scif3_data", "scif3_ctrl";
-               function = "scif3";
-       };
-
        scif_clk_pins: scif_clk {
                groups = "scif_clk";
                function = "scif_clk";
        status = "okay";
 };
 
-&scif3 {
-       pinctrl-0 = <&scif3_pins>;
-       pinctrl-names = "default";
-
-       uart-has-rtscts;
-       status = "okay";
-};
-
 &scif_clk {
        clock-frequency = <24000000>;
 };