From 9861fa7abab97cb928aaa6cd5732a413d973ac95 Mon Sep 17 00:00:00 2001 From: Christoph Krapp Date: Thu, 29 Aug 2019 10:06:12 +0200 Subject: [PATCH] ramips: add mt7615e support to Netgear R6350 Signed-off-by: Christoph Krapp --- target/linux/ramips/dts/mt7621_netgear_r6350.dts | 9 +++++++++ target/linux/ramips/image/mt7621.mk | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/mt7621_netgear_r6350.dts b/target/linux/ramips/dts/mt7621_netgear_r6350.dts index a5c3a1907c..54640244c5 100644 --- a/target/linux/ramips/dts/mt7621_netgear_r6350.dts +++ b/target/linux/ramips/dts/mt7621_netgear_r6350.dts @@ -131,6 +131,15 @@ status = "okay"; }; +&pcie0 { + wifi@0,0 { + compatible = "mediatek,mt76"; + reg = <0x0 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x8000>; + ieee80211-freq-limit = <5000000 6000000>; + }; +}; + &pcie1 { wifi@0,0 { reg = <0x0 0 0 0 0>; diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index a00e6280c7..3b79c509f3 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -428,7 +428,7 @@ define Device/netgear_r6350 DEVICE_VENDOR := NETGEAR DEVICE_MODEL := R6350 DEVICE_PACKAGES := \ - kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + kmod-mt7603 kmod-mt7615e kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic endef TARGET_DEVICES += netgear_r6350 -- 2.30.2