mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
ramips: add MT7615 wireless support for ELECOM WRC-1167GHBK2-S
ELECOM WRC-1167GHBK2-S has a MediaTek MT7615D chip for 2.4/5 GHz wireless. A driver package for MT7615 chip is added to OpenWrt in a0e5ca4f3523b9eef96bff32e45f6fa8275b982f, so add preliminary MT7615 chip support for WRC-1167GHBK2-S. Note: Currently, DBDC mode for MT7615 is not supported in mt76 driver. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
parent
16ac5c4fbd
commit
cda123fe69
@ -26,6 +26,7 @@
|
|||||||
wlan2g {
|
wlan2g {
|
||||||
label = "wrc-1167ghbk2-s:white:wlan2g";
|
label = "wrc-1167ghbk2-s:white:wlan2g";
|
||||||
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
|
||||||
|
linux,default-trigger = "phy0radio";
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan5g {
|
wlan5g {
|
||||||
@ -139,10 +140,16 @@
|
|||||||
|
|
||||||
&pcie {
|
&pcie {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
/*
|
};
|
||||||
* WRC-1167GHBK2-S has MT7615D for 2.4/5 GHz wifi,
|
|
||||||
* but it's not supported in OpenWrt.
|
&pcie0 {
|
||||||
*/
|
wifi@0,0 {
|
||||||
|
compatible = "mediatek,mt76";
|
||||||
|
reg = <0x0000 0 0 0 0>;
|
||||||
|
mediatek,mtd-eeprom = <&factory 0x0>;
|
||||||
|
mtd-mac-address = <&factory 0xe000>;
|
||||||
|
mtd-mac-address-increment = <1>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&xhci {
|
&xhci {
|
||||||
|
@ -181,6 +181,7 @@ define Device/elecom_wrc-1167ghbk2-s
|
|||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) |\
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) |\
|
||||||
elecom-wrc-factory WRC-1167GHBK2-S 0.00
|
elecom-wrc-factory WRC-1167GHBK2-S 0.00
|
||||||
|
DEVICE_PACKAGES := kmod-mt7615e wpad-basic
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += elecom_wrc-1167ghbk2-s
|
TARGET_DEVICES += elecom_wrc-1167ghbk2-s
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user