ARM: dts: aspeed: Reorder ADC node
authorJoel Stanley <joel@jms.id.au>
Wed, 4 Oct 2017 06:49:10 +0000 (17:19 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 5 Oct 2017 04:36:13 +0000 (15:06 +1030)
We try to keep the nodes in address order. The ADC node was out of
place.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 1edd0ce..c2d96b8 100644 (file)
                                };
                        };
 
+                       adc: adc@1e6e9000 {
+                               compatible = "aspeed,ast2400-adc";
+                               reg = <0x1e6e9000 0xb0>;
+                               clocks = <&clk_apb>;
+                               #io-channel-cells = <1>;
+                               status = "disabled";
+                       };
+
                        sram@1e720000 {
                                compatible = "mmio-sram";
                                reg = <0x1e720000 0x8000>;      // 32K
                                no-loopback-test;
                                status = "disabled";
                        };
-
-                       adc: adc@1e6e9000 {
-                               compatible = "aspeed,ast2400-adc";
-                               reg = <0x1e6e9000 0xb0>;
-                               clocks = <&clk_apb>;
-                               #io-channel-cells = <1>;
-                               status = "disabled";
-                       };
                };
        };
 };
index f56dd67..9e71c2d 100644 (file)
                                reg-io-width = <4>;
                        };
 
+                       adc: adc@1e6e9000 {
+                               compatible = "aspeed,ast2500-adc";
+                               reg = <0x1e6e9000 0xb0>;
+                               clocks = <&clk_apb>;
+                               #io-channel-cells = <1>;
+                               status = "disabled";
+                       };
+
                        sram@1e720000 {
                                compatible = "mmio-sram";
                                reg = <0x1e720000 0x9000>;      // 36K
                                no-loopback-test;
                                status = "disabled";
                        };
-
-                       adc: adc@1e6e9000 {
-                               compatible = "aspeed,ast2500-adc";
-                               reg = <0x1e6e9000 0xb0>;
-                               clocks = <&clk_apb>;
-                               #io-channel-cells = <1>;
-                               status = "disabled";
-                       };
                };
        };
 };