arm64: dts: meson: Switch simple-mfd and syscon order
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 13 Sep 2018 07:12:27 +0000 (09:12 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 13 Sep 2018 16:16:36 +0000 (09:16 -0700)
The order between "syscon" and "simple-mfd" is important because in these
particular cases, the node needs to be first a "simple-mfd" to expose
it's sub-nodes, and later on a "syscon" to permit other nodes to access
this register space through the "syscon" mechanism.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg.dtsi
arch/arm64/boot/dts/amlogic/meson-gx.dtsi

index 9f614073a21940eb21d5140702353a542a3dbb51..df017dbd2e572028f2c98b66b065d1d2b5325b3a 100644 (file)
 
                        sysctrl: system-controller@0 {
                                compatible = "amlogic,meson-axg-hhi-sysctrl",
-                                            "syscon", "simple-mfd";
+                                            "simple-mfd", "syscon";
                                reg = <0 0 0 0x400>;
 
                                clkc: clock-controller {
                        ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
 
                        sysctrl_AO: sys-ctrl@0 {
-                               compatible = "amlogic,meson-axg-ao-sysctrl", "syscon", "simple-mfd";
+                               compatible = "amlogic,meson-axg-ao-sysctrl", "simple-mfd", "syscon";
                                reg =  <0x0 0x0 0x0 0x100>;
 
                                clkc_AO: clock-controller {
index 49c22f269958f3bafb99f36861dd272130589547..f1e5cdbade5edf281ecc9ea183c5e5b763c0f726 100644 (file)
                        ranges = <0x0 0x0 0x0 0xc8100000 0x0 0x100000>;
 
                        sysctrl_AO: sys-ctrl@0 {
-                               compatible = "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd";
+                               compatible = "amlogic,meson-gx-ao-sysctrl", "simple-mfd", "syscon";
                                reg =  <0x0 0x0 0x0 0x100>;
 
                                pwrc_vpu: power-controller-vpu {
                        ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>;
 
                        sysctrl: system-controller@0 {
-                               compatible = "amlogic,meson-gx-hhi-sysctrl", "syscon", "simple-mfd";
+                               compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon";
                                reg = <0 0 0 0x400>;
                        };