Просмотр исходного кода

ramips: enable MT7610E 5GHz radio of MT7620a_MT7610e EVB

This enables MT7610E of the EVB

Signed-off-by: Deng Qingfang <[email protected]>
Deng Qingfang 7 лет назад
Родитель
Сommit
6621da55b7

+ 8 - 0
target/linux/ramips/dts/MT7620a_MT7610e.dts

@@ -89,3 +89,11 @@
 &pcie {
 	status = "okay";
 };
+
+&pcie0 {
+	wifi@0,0 {
+		reg = <0x0000 0 0 0 0>;
+		mediatek,mtd-eeprom = <&factory 0x8000>;
+		ieee80211-freq-limit = <5000000 6000000>;
+	};
+};

+ 1 - 0
target/linux/ramips/image/mt7620.mk

@@ -431,6 +431,7 @@ TARGET_DEVICES += mt7620a_mt7530
 define Device/mt7620a_mt7610e
   DTS := MT7620a_MT7610e
   DEVICE_TITLE := MediaTek MT7620a + MT7610e EVB
+  DEVICE_PACKAGES := kmod-mt76x0e
   SUPPORTED_DEVICES := mt7620a_mt7610e
 endef
 TARGET_DEVICES += mt7620a_mt7610e