]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
riscv: dts: starfive: visionfive 2: Fix uart0 pins sort order
authorHal Feng <hal.feng@starfivetech.com>
Tue, 29 Aug 2023 02:05:11 +0000 (10:05 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 13 Sep 2023 13:24:56 +0000 (14:24 +0100)
Node uart0_pins should be sorted alphabetically.

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

index 687dccd88f597fb8cfefaa081facd2ada6edd31c..12ebe979235635bafc30a90207017f43bea93467 100644 (file)
                };
        };
 
-       uart0_pins: uart0-0 {
-               tx-pins {
-                       pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX,
-                                            GPOEN_ENABLE,
-                                            GPI_NONE)>;
-                       bias-disable;
-                       drive-strength = <12>;
-                       input-disable;
-                       input-schmitt-disable;
-                       slew-rate = <0>;
-               };
-
-               rx-pins {
-                       pinmux = <GPIOMUX(6, GPOUT_LOW,
-                                            GPOEN_DISABLE,
-                                            GPI_SYS_UART0_RX)>;
-                       bias-disable; /* external pull-up */
-                       drive-strength = <2>;
-                       input-enable;
-                       input-schmitt-enable;
-                       slew-rate = <0>;
-               };
-       };
-
        tdm_pins: tdm-0 {
                tx-pins {
                        pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,
                        input-enable;
                };
        };
+
+       uart0_pins: uart0-0 {
+               tx-pins {
+                       pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX,
+                                            GPOEN_ENABLE,
+                                            GPI_NONE)>;
+                       bias-disable;
+                       drive-strength = <12>;
+                       input-disable;
+                       input-schmitt-disable;
+                       slew-rate = <0>;
+               };
+
+               rx-pins {
+                       pinmux = <GPIOMUX(6, GPOUT_LOW,
+                                            GPOEN_DISABLE,
+                                            GPI_SYS_UART0_RX)>;
+                       bias-disable; /* external pull-up */
+                       drive-strength = <2>;
+                       input-enable;
+                       input-schmitt-enable;
+                       slew-rate = <0>;
+               };
+       };
 };
 
 &tdm {