From 9c6913ccad078c075cb687f10aeeb6cfc9cc4805 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 (cherry picked from commit 9861fa7abab97cb928aaa6cd5732a413d973ac95) --- target/linux/ramips/dts/R6350.dts | 9 +++++++++ target/linux/ramips/image/mt7621.mk | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/R6350.dts b/target/linux/ramips/dts/R6350.dts index 538fa21ace..00c9825750 100644 --- a/target/linux/ramips/dts/R6350.dts +++ b/target/linux/ramips/dts/R6350.dts @@ -136,6 +136,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 53a264f527..fd3a8e558e 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -374,7 +374,7 @@ define Device/netgear_r6350 IMAGE/rootfs.bin := append-ubi | check-size $$$$(IMAGE_SIZE) DEVICE_TITLE := Netgear 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.25.1