ramips: use the ralink,mtd-eeprom device tree property
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / BR-6475ND.dts
index 87b048a84101c3ec3ef2a8bd24c006cc04d9dcea..2ab2cba8941c92a9d3f9d26c541b498bc3d2ec95 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 0x8000>;
                        };
                };
        };