mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
66 lines
996 B
Plaintext
66 lines
996 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7621_xiaomi_nand_128m.dtsi"
|
|
|
|
&pcie {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcie0 {
|
|
wifi@0,0 {
|
|
compatible = "mediatek,mt76";
|
|
reg = <0x0000 0 0 0 0>;
|
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
|
ieee80211-freq-limit = <5000000 6000000>;
|
|
};
|
|
};
|
|
|
|
&pcie1 {
|
|
wifi@0,0 {
|
|
compatible = "mediatek,mt76";
|
|
reg = <0x0000 0 0 0 0>;
|
|
mediatek,mtd-eeprom = <&factory 0x0000>;
|
|
ieee80211-freq-limit = <2400000 2500000>;
|
|
};
|
|
};
|
|
|
|
&gmac0 {
|
|
mtd-mac-address = <&factory 0xe000>;
|
|
};
|
|
|
|
&gmac1 {
|
|
mtd-mac-address = <&factory 0xe006>;
|
|
phy-mode = "rgmii";
|
|
status = "okay";
|
|
|
|
fixed-link {
|
|
speed = <1000>;
|
|
full-duplex;
|
|
pause;
|
|
};
|
|
};
|
|
|
|
&gsw {
|
|
mediatek,portmap = "wllll";
|
|
status = "okay";
|
|
};
|
|
|
|
&hnat {
|
|
mtketh-wan = "eth1";
|
|
mtketh-ppd = "eth0";
|
|
mtketh-lan = "eth0";
|
|
mtketh-max-gmac = <2>;
|
|
/delete-property/ mtkdsa-wan-port;
|
|
};
|
|
|
|
&switch0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&state_default {
|
|
gpio {
|
|
groups = "uart2", "uart3", "wdt";
|
|
function = "gpio";
|
|
};
|
|
};
|