From: Deng Qingfang Date: Wed, 9 Jan 2019 12:54:34 +0000 (+0800) Subject: ramips: enable MT7610E 5GHz radio of MT7620a_MT7610e EVB X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6621da55b7a8e4db07ac3104b4304a508336741c;p=openwrt%2Fstaging%2Fxback.git ramips: enable MT7610E 5GHz radio of MT7620a_MT7610e EVB This enables MT7610E of the EVB Signed-off-by: Deng Qingfang --- diff --git a/target/linux/ramips/dts/MT7620a_MT7610e.dts b/target/linux/ramips/dts/MT7620a_MT7610e.dts index f90ba851be..e0ae57a0d9 100644 --- a/target/linux/ramips/dts/MT7620a_MT7610e.dts +++ b/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>; + }; +}; diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index e487f529d6..57903232ed 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/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