From b4be4617b5f33b47a5eb00756f939a23cf368145 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 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>; + }; + }; }; -- 2.30.2