From: Roger Pueyo Centelles Date: Wed, 24 Oct 2018 16:07:43 +0000 (+0200) Subject: ramips: mt7620: add DIR-810L's mt7610e 5 GHz radio X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cb6a8aa584a2be62aeac9b5b1573303d5615c672;p=openwrt%2Fstaging%2Fdedeckeh.git ramips: mt7620: add DIR-810L's mt7610e 5 GHz radio The 5 GHz radio of this device uses an mt7610e pci-e chip, which has been recently added support. Tested on the actual device as AP and client, TCP throughput ~90 Mbps U/D. Signed-off-by: Roger Pueyo Centelles --- diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts index b38290af53..c6d437820d 100644 --- a/target/linux/ramips/dts/DIR-810L.dts +++ b/target/linux/ramips/dts/DIR-810L.dts @@ -143,3 +143,11 @@ &wmac { ralink,mtd-eeprom = <&factory 0>; }; + +&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 bf04a75ea1..a7aeaf130c 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -154,8 +154,9 @@ TARGET_DEVICES += dch-m225 define Device/dir-810l DTS := DIR-810L - IMAGE_SIZE := 6720k + DEVICE_PACKAGES := kmod-mt76x0e DEVICE_TITLE := D-Link DIR-810L + IMAGE_SIZE := 6720k endef TARGET_DEVICES += dir-810l