lantiq: dts: move localbus childs to dts
[openwrt/staging/lynxis.git] / target / linux / lantiq / files / arch / mips / boot / dts / ARV4520PW.dts
index ad5d65a1e63b3c5ccc1c9ba6d4631557f06a9f04..275abdd0aa6cb33e927a722fba0900bd555a9d0e 100644 (file)
        };
 };
 
-&gpiomm {
-       status = "okay";
-       lantiq,shadow = <0x400>;
-};
-
 &gsw {
        /* gpiomm 10 - switch */
        phy-mode = "rmii";
                        };
                };
        };
+
+       gpiomm: gpiomm@1 {
+               compatible = "lantiq,gpio-mm";
+               reg = <1 0x0 0x10 >;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               #gpio-cells = <2>;
+               gpio-controller;
+               lantiq,shadow = <0x400>;
+       };
 };
 
 &pci0 {