aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorOzgur Can Leonard <ozgurcan@gmail.com>2019-08-02 21:55:41 +0300
committerDavid Bauer <mail@david-bauer.net>2019-08-10 00:32:28 +0200
commitd7c082ba4f7de97b3708d1f4a064954ffc774778 (patch)
tree2cb48e8fc6d2897149f0a5de417042aef932595d /target/linux/ramips
parent63ced140484e072dddbba39bb729adc98d94d522 (diff)
downloadupstream-d7c082ba4f7de97b3708d1f4a064954ffc774778.tar.gz
upstream-d7c082ba4f7de97b3708d1f4a064954ffc774778.tar.bz2
upstream-d7c082ba4f7de97b3708d1f4a064954ffc774778.zip
ramips: add kmod-mt7615e to Xiaomi Mi Router 3 Pro images
Now that the mt76/mt7615e driver is in Openwrt, might as well use it. Signed-off-by: Ozgur Can Leonard <ozgurcan@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts5
-rw-r--r--target/linux/ramips/image/mt7621.mk3
2 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
index 9800517597..34efb1f6d4 100644
--- a/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
+++ b/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
@@ -156,15 +156,16 @@
&pcie0 {
wifi@0,0 {
- compatible = "pci14c3,7615";
+ compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
+ ieee80211-freq-limit = <2400000 2500000>;
};
};
&pcie1 {
wifi@0,0 {
- compatible = "pci14c3,7615";
+ compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index d86eb8cc34..d32feb7eab 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -669,7 +669,8 @@ define Device/xiaomi_mir3p
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
DEVICE_PACKAGES := \
- kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic uboot-envtools
+ kmod-mt7615e kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic \
+ uboot-envtools
endef
TARGET_DEVICES += xiaomi_mir3p