[source] ramips: add RP-N53 pcie wireless eeprom

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 12 23:22:22 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/b4be4617b5f33b47a5eb00756f939a23cf368145

commit b4be4617b5f33b47a5eb00756f939a23cf368145
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sun Apr 9 09:14:52 2017 +0200

    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 at kresin.me>
---
 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 8e9b136..466a072 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 at 1814,5592 {
+			compatible = "pci1814,5592";
+			reg = <0x0000 0 0 0 0>;
+			ralink,2ghz = <0>;
+			ralink,mtd-eeprom = <&factory 0x8000>;
+		};
+	};
 };



More information about the lede-commits mailing list