ramips: use the ralink,mtd-eeprom device tree property
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / WHR-1166D.dts
index 0c0f62728c7b42f493784b8849a0a7764e8e5e30..fd2e451c37738a1911bb8a6142501ee9a4989eea 100644 (file)
        status = "okay";
 
        pcie-bridge {
-               mt76@0,0 {
+               wifi@0,0 {
+                       compatible = "pci0,0";
                        reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
-                       mediatek,mtd-eeprom = <&factory 32768>;
+                       mediatek,mtd-eeprom = <&factory 0x8000>;
                        mediatek,2ghz = <0>;
                };
        };