lantiq: use the device tree bindings from rt2x00 driver
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV752DPW.dts
index d6de881faeb7fe5631cd8c1378b231e7785137e1..d51a70a593ee677536472e717a95b591a2d9a879 100644 (file)
                        phy-mode = "rmii";
                        mtd-mac-address = <&boardconfig 0x16>;
                };
-
-               pci@E105400 {
-                       status = "okay";
-                       lantiq,external-clock;
-                       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
-                       interrupt-map = <0x7000 0 0 1 &icu0 135>;
-                       req-mask = <0x3>;
-               };
-       };
-
-       ralink_eep {
-               compatible = "ralink,eeprom";
-               ralink,eeprom = "RT2860.eeprom";
        };
 
        gpio-keys-polled {
                };
        };
 };
+
+&pci0 {
+       status = "okay";
+       lantiq,external-clock;
+       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+       interrupt-map = <0x7000 0 0 1 &icu0 135>;
+       req-mask = <0x3>;
+
+       wifi@1814,0601 {
+               compatible = "pci1814,0601";
+               reg = <0x7000 0 0 0 0>;
+               ralink,mtd-eeprom = <&boardconfig 0x410>;
+               ralink,mtd-eeprom-swap;
+       };
+};