lantiq: dts: move localbus childs to dts
[openwrt/staging/blogic.git] / target / linux / lantiq / files / arch / mips / boot / dts / ARV752DPW22.dts
index 8e1d5248b81508d0ad009292b7e353b0e4e5ff51..f809bcb19dfda09645cf7887d791db3e7cde7628 100644 (file)
        };
 };
 
-
-&gpiomm {
-       status = "okay";
-       lantiq,shadow = <3>;
-};
-
 &gsw {
        phy-mode = "mii";
        mtd-mac-address = <&boardconfig 0x16>;
                        };
                };
        };
+
+       gpiomm: gpiomm@1 {
+               compatible = "lantiq,gpio-mm";
+               reg = <1 0x0 0x10 >;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               #gpio-cells = <2>;
+               gpio-controller;
+               lantiq,shadow = <3>;
+       };
 };
 
 &pci0 {