ath79: rearrange nand node by register address
authorSungbo Eo <mans0n@gorani.run>
Thu, 2 Jul 2020 12:50:08 +0000 (21:50 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 2 Jul 2020 19:34:37 +0000 (21:34 +0200)
All other nodes in the DTS are placed in order of address space. Harmonize
the nand nodes as well.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ath79/dts/ar934x.dtsi
target/linux/ath79/dts/qca955x.dtsi

index 0451960a60a4e69ab384f4a256c1c02445607f9d..763d1c8afeaa685879c4ae20bd3d641eccf69b3e 100644 (file)
                        };
                };
 
-               nand: nand@1b000200 {
-                       compatible = "qca,ar934x-nand";
-                       reg = <0x1b000200 0xb8>;
-
-                       interrupts = <21>;
-                       interrupt-parent = <&miscintc>;
-
-                       resets = <&rst 14>;
-                       reset-names = "nand";
-
-                       nand-ecc-mode = "hw";
-
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       status = "disabled";
-               };
-
                gmac: gmac@18070000 {
                        compatible = "qca,ar9340-gmac";
                        reg = <0x18070000 0x14>;
                        status = "disabled";
                };
 
+               nand: nand@1b000200 {
+                       compatible = "qca,ar934x-nand";
+                       reg = <0x1b000200 0xb8>;
+
+                       interrupts = <21>;
+                       interrupt-parent = <&miscintc>;
+
+                       resets = <&rst 14>;
+                       reset-names = "nand";
+
+                       nand-ecc-mode = "hw";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+               };
+
                spi: spi@1f000000 {
                        compatible = "qca,ar934x-spi";
                        reg = <0x1f000000 0x1c>;
index ff8ac70d73c9a77f7a3d3f3a3c5927a03f873bfb..4883965db79243ebaa7596b2d59bf9f378fe334d 100644 (file)
                        };
                };
 
-               nand: nand@1b800200 {
-                       compatible = "qca,ar934x-nand";
-                       reg = <0x1b800200 0xb8>;
-
-                       interrupts = <21>;
-                       interrupt-parent = <&miscintc>;
-
-                       resets = <&rst 14>;
-                       reset-names = "nand";
-
-                       nand-ecc-mode = "hw";
-
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       status = "disabled";
-               };
-
                gmac: gmac@18070000 {
                        compatible = "qca,qca9550-gmac";
                        reg = <0x18070000 0x58>;
                        status = "disabled";
                };
 
+               nand: nand@1b800200 {
+                       compatible = "qca,ar934x-nand";
+                       reg = <0x1b800200 0xb8>;
+
+                       interrupts = <21>;
+                       interrupt-parent = <&miscintc>;
+
+                       resets = <&rst 14>;
+                       reset-names = "nand";
+
+                       nand-ecc-mode = "hw";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+               };
+
                spi: spi@1f000000 {
                        compatible = "qca,ar934x-spi";
                        reg = <0x1f000000 0x1c>;