riscv: dts: thead: Fix node ordering in TH1520 device tree
authorThomas Bonnefille <thomas.bonnefille@bootlin.com>
Thu, 25 Apr 2024 08:21:33 +0000 (10:21 +0200)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 7 May 2024 16:14:06 +0000 (17:14 +0100)
According to the device tree coding style, nodes shall be ordered by
unit address in ascending order.

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/thead/th1520.dtsi

index 8b915e206f3a01a1f7cfb5a3a78217b3df2e26a0..d2fa25839012c3852867e331cd3c042bf0474ea7 100644 (file)
                        status = "disabled";
                };
 
+               emmc: mmc@ffe7080000 {
+                       compatible = "thead,th1520-dwcmshc";
+                       reg = <0xff 0xe7080000 0x0 0x10000>;
+                       interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&sdhci_clk>;
+                       clock-names = "core";
+                       status = "disabled";
+               };
+
+               sdio0: mmc@ffe7090000 {
+                       compatible = "thead,th1520-dwcmshc";
+                       reg = <0xff 0xe7090000 0x0 0x10000>;
+                       interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&sdhci_clk>;
+                       clock-names = "core";
+                       status = "disabled";
+               };
+
+               sdio1: mmc@ffe70a0000 {
+                       compatible = "thead,th1520-dwcmshc";
+                       reg = <0xff 0xe70a0000 0x0 0x10000>;
+                       interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&sdhci_clk>;
+                       clock-names = "core";
+                       status = "disabled";
+               };
+
                uart1: serial@ffe7f00000 {
                        compatible = "snps,dw-apb-uart";
                        reg = <0xff 0xe7f00000 0x0 0x100>;
                        status = "disabled";
                };
 
-               emmc: mmc@ffe7080000 {
-                       compatible = "thead,th1520-dwcmshc";
-                       reg = <0xff 0xe7080000 0x0 0x10000>;
-                       interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&sdhci_clk>;
-                       clock-names = "core";
-                       status = "disabled";
-               };
-
-               sdio0: mmc@ffe7090000 {
-                       compatible = "thead,th1520-dwcmshc";
-                       reg = <0xff 0xe7090000 0x0 0x10000>;
-                       interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&sdhci_clk>;
-                       clock-names = "core";
-                       status = "disabled";
-               };
-
-               sdio1: mmc@ffe70a0000 {
-                       compatible = "thead,th1520-dwcmshc";
-                       reg = <0xff 0xe70a0000 0x0 0x10000>;
-                       interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&sdhci_clk>;
-                       clock-names = "core";
-                       status = "disabled";
-               };
-
                timer0: timer@ffefc32000 {
                        compatible = "snps,dw-apb-timer";
                        reg = <0xff 0xefc32000 0x0 0x14>;