lantiq: dts: move localbus childs to dts
[openwrt/staging/noltari.git] / target / linux / lantiq / files / arch / mips / boot / dts / ARV752DPW.dts
index 5f877723f6d0097ff44d449a2c8c0d5c8310035a..c66df234fb1835c928519517a2b835d0fefe4d08 100644 (file)
        };
 
        memory@0 {
+               device_type = "memory";
                reg = <0x0 0x4000000>;
        };
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <100>;
 
                wps {
        };
 };
 
-&gpiomm {
-       status = "okay";
-       lantiq,shadow = <0x3>;
-};
-
 &gsw {
        phy-mode = "rmii";
        mtd-mac-address = <&boardconfig 0x16>;
                compatible = "lantiq,nor";
                bank-width = <2>;
                reg = <0 0x0 0x800000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
 
                partitions {
                        compatible = "fixed-partitions";
                        };
                };
        };
+
+       gpiomm: gpiomm@1 {
+               compatible = "lantiq,gpio-mm";
+               reg = <1 0x0 0x10 >;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               #gpio-cells = <2>;
+               gpio-controller;
+               lantiq,shadow = <0x3>;
+       };
 };
 
 &pci0 {