mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
d0b7e186e6
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>
47 lines
735 B
Plaintext
47 lines
735 B
Plaintext
// 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;
|
|
};
|
|
};
|
|
};
|