diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-12-19 20:16:03 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-12-22 21:44:57 +0100 |
commit | d0b7e186e622872626dc462162a66fdff826d2bd (patch) | |
tree | 36b36c85b271874db79e3eb2f4b4e0940ef76b45 /target/linux/ramips/dts/mt7621_elecom_wrc-gs-2pci.dtsi | |
parent | 212ad9163063381fef48aac8628d346df696d2a6 (diff) | |
download | upstream-d0b7e186e622872626dc462162a66fdff826d2bd.tar.gz upstream-d0b7e186e622872626dc462162a66fdff826d2bd.tar.bz2 upstream-d0b7e186e622872626dc462162a66fdff826d2bd.zip |
ramips: mt7621: create DTSI for ELECOM WRC GS devices with 2 PCI
This creates a dedicated DTSI for ELECOM WRC GS devices with 2 PCI
WiFi chips in preparation for the 1 chip - dual radio devices, so
the latter can reuse part of the common definitions.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_elecom_wrc-gs-2pci.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7621_elecom_wrc-gs-2pci.dtsi | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-gs-2pci.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-gs-2pci.dtsi new file mode 100644 index 0000000000..642724da10 --- /dev/null +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-gs-2pci.dtsi @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#include "mt7621_elecom_wrc-gs.dtsi" + +&gmac0 { + mtd-mac-address = <&factory 0xe000>; +}; + +&wan { + mtd-mac-address = <&factory 0xe006>; +}; + +&state_default { + gpio { + groups = "uart3", "jtag", "wdt", "sdhci"; + function = "gpio"; + }; +}; + +&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; + }; + }; +}; |