aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-09 09:14:52 +0200
committerMathias Kresin <dev@kresin.me>2017-04-13 08:18:57 +0200
commitb4be4617b5f33b47a5eb00756f939a23cf368145 (patch)
treee403042924b7d435d6980435d7d37d50c3c351c1
parent21abb7492c217e7d9959f578a7aab98457e3820a (diff)
downloadupstream-b4be4617b5f33b47a5eb00756f939a23cf368145.tar.gz
upstream-b4be4617b5f33b47a5eb00756f939a23cf368145.tar.bz2
upstream-b4be4617b5f33b47a5eb00756f939a23cf368145.zip
ramips: add RP-N53 pcie wireless eeprom
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>
-rw-r--r--target/linux/ramips/dts/RP-N53.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts
index 8e9b1361c9..466a072bae 100644
--- a/target/linux/ramips/dts/RP-N53.dts
+++ b/target/linux/ramips/dts/RP-N53.dts
@@ -162,4 +162,13 @@
&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>;
+ };
+ };
};