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

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


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

commit f2f672c32ca32643c6985ff4f7f994934725cd40
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 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 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