ramips: add RP-N53 pcie wireless eeprom
authorMathias Kresin <dev@kresin.me>
Sun, 9 Apr 2017 07:14:52 +0000 (09:14 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 12 Apr 2017 08:13:40 +0000 (10:13 +0200)
Fix the PCIe 5GHz wireless by using the on flash eeprom/caldata.
Disable the 2.4GHz band as this band has no antennas attached but is
enabled in the eeprom/caldata.

Fixes: FS#691

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/RP-N53.dts

index 514481b38218f2433ae6f55b0460db38f1c3597a..fe18b6f828e5604fb0bc53cb60df76a432003739 100644 (file)
 
 &pcie {
        status = "okay";
+
+       pcie-bridge {
+               wifi@1814,5592 {
+                       compatible = "pci1814,5592";
+                       reg = <0x0000 0 0 0 0>;
+                       ralink,2ghz = <0>;
+                       ralink,mtd-eeprom = <&factory 0x8000>;
+               };
+       };
 };