Explorar o código

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 <[email protected]>
Mathias Kresin %!s(int64=9) %!d(string=hai) anos
pai
achega
b4be4617b5
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      target/linux/ramips/dts/RP-N53.dts

+ 9 - 0
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>;
+		};
+	};
 };