From 39f2f9b1bf719ff11a4497cbfa6de4e3380e35bc Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Tue, 25 Jun 2019 22:20:44 +0900 Subject: ramips: add MT7615 wireless support for ELECOM WRC-GST devices ELECOM WRC-1900GST and WRC-2533GST have two MT7615 chips for 2.4/5 GHz wireless. Signed-off-by: INAGAKI Hiroshi [WRC-1900GST] Acked-by: NOGUCHI Hiroshi --- target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi | 29 +++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts') diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi index 03fe467578..43f31cf2b6 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi @@ -194,7 +194,34 @@ &pcie { status = "okay"; - /* WRC-xxxxGST has MT7615 for 2.4/5 GHz wifi, but it's not supported */ +}; + +&pcie0 { + wifi@0,0 { + compatible = "mediatek,mt76"; + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x0000>; + ieee80211-freq-limit = <2400000 2500000>; + + led { + led-sources = <0>; + led-active-low; + }; + }; +}; + +&pcie1 { + wifi@0,0 { + compatible = "mediatek,mt76"; + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x8000>; + ieee80211-freq-limit = <5000000 6000000>; + + led { + led-sources = <0>; + led-active-low; + }; + }; }; &xhci { -- cgit v1.2.3