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>
master
Ozgur Can Leonard 5 years ago committed by David Bauer
parent 63ced14048
commit d7c082ba4f

@ -156,15 +156,16 @@
&pcie0 { &pcie0 {
wifi@0,0 { wifi@0,0 {
compatible = "pci14c3,7615"; compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
}; };
}; };
&pcie1 { &pcie1 {
wifi@0,0 { wifi@0,0 {
compatible = "pci14c3,7615"; compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;

@ -669,7 +669,8 @@ define Device/xiaomi_mir3p
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE) IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
DEVICE_PACKAGES := \ 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 endef
TARGET_DEVICES += xiaomi_mir3p TARGET_DEVICES += xiaomi_mir3p

Loading…
Cancel
Save