ramips: use the ralink,mtd-eeprom device tree property
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / CY-SWR1100.dts
index 031d8f00523e6c7b7d2cc93db463cfe5f9807aea..95827d5017f534ca18111ff922eab463c5cdac5b 100644 (file)
                pci-bridge@1 {
                        status = "okay";
 
-                       wmac@0,0 {
+                       wifi@0,0 {
+                               compatible = "pci0,0";
+                               reg = <0x10000 0 0 0 0>;
                                ralink,5ghz = <0>;
-                               compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
-                               reg = < 0x10000 0 0 0 0 >;
-                               ralink,eeprom = "rt2x00pci_1_0.eeprom";
+                               ralink,mtd-eeprom = <&factory 0x2000>;
                        };
                };
        };