ramips: fix WHR-600D eeprom dt property
authorMathias Kresin <dev@kresin.me>
Sun, 9 Apr 2017 07:12:55 +0000 (09:12 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 13 Apr 2017 06:18:57 +0000 (08:18 +0200)
Fix the PCIe 5GHz wireless by using the ralink mtd-eeprom property as
this board have a RT5592 and uses the rt2x00 driver. The mediathek
device tree bindings do not work here.

Fixes: FS#691

Fixes: d8dd207ea6f2 ("ramips: use the ralink,mtd-eeprom device tree property")
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/WHR-600D.dts

index 9370d15bbf914031b16674230e9cfb9a530bfb02..1100261da99c735ca344bf860dd41e5b1ec6f8b4 100644 (file)
        status = "okay";
 
        pcie-bridge {
-               wifi@1814,3091 {
-                       compatible = "pci1814,3091";
+               wifi@1814,5592 {
+                       compatible = "pci1814,5592";
                        reg = <0x0000 0 0 0 0>;
-                       mediatek,mtd-eeprom = <&factory 0x8000>;
+                       ralink,mtd-eeprom = <&factory 0x8000>;
                };
        };
 };