From f2f672c32ca32643c6985ff4f7f994934725cd40 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 9 Apr 2017 09:14:52 +0200 Subject: [PATCH] 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 --- target/linux/ramips/dts/RP-N53.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts index 514481b382..fe18b6f828 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>; + }; + }; };