From 77e27e0f5354e3155c9951a0d5e570e36d548f1c Mon Sep 17 00:00:00 2001 From: Kevin Schmidt Date: Sat, 23 Nov 2019 22:18:32 +0100 Subject: lantiq: enable 5ghz wifi on VR200/VR200v Enable mt76 driver on VR200/VR200v. Signed-off-by: Kevin Schmidt --- .../arch/mips/boot/dts/lantiq/vr9_tplink_vr200.dtsi | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'target/linux/lantiq/files') diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_vr200.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_vr200.dtsi index 93178da7e2..77b4f0defb 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_vr200.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_vr200.dtsi @@ -112,6 +112,25 @@ }; }; +&pcie0 { + pcie@0 { + reg = <0 0 0 0 0>; + #interrupt-cells = <1>; + #size-cells = <2>; + #address-cells = <3>; + device_type = "pci"; + + wifi@0,0 { + reg = <0 0 0 0 0>; + mediatek,mtd-eeprom = <&radio 0x0000>; + big-endian; + ieee80211-freq-limit = <5000000 6000000>; + mtd-mac-address = <&romfile 0xf100>; + mtd-mac-address-increment = <2>; + }; + }; +}; + &pci0 { status = "okay"; gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; @@ -166,7 +185,7 @@ read-only; }; - partition@ff0000 { + radio: partition@ff0000 { reg = <0xff0000 0x10000>; label = "radio"; read-only; -- cgit v1.2.3