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>
Thu, 13 Apr 2017 06:18:57 +0000 (08:18 +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 8e9b1361c95b41b3df5a84273c5322b727c2a630..466a072bae3b6dedf71a7f132ad5f9d9fbffa0d9 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>;
+               };
+       };
 };