summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-09 09:14:52 +0200
committerMathias Kresin <dev@kresin.me>2017-04-12 10:13:40 +0200
commitf2f672c32ca32643c6985ff4f7f994934725cd40 (patch)
treef013e863ddc9445f3fc621206e5a21a9b3903e3a /target/linux
parentf3dc2ffdd4462dd08220fbafc4ac2971f7ef43b0 (diff)
downloadmtk-20170518-f2f672c32ca32643c6985ff4f7f994934725cd40.zip
mtk-20170518-f2f672c32ca32643c6985ff4f7f994934725cd40.tar.gz
mtk-20170518-f2f672c32ca32643c6985ff4f7f994934725cd40.tar.bz2
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>
Diffstat (limited to 'target/linux')
-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 514481b..fe18b6f 100644
--- a/target/linux/ramips/dts/RP-N53.dts
+++ b/target/linux/ramips/dts/RP-N53.dts
@@ -163,4 +163,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>;
+ };
+ };
};