openwrt/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts
Shiji Yang 3f8ed239a6
ramips: mt7621: convert Linksys devices EEPROM to NVMEM format
-+-----------------------------+-
 |    Model   |       NIC      |
-+-----------------------------+-
 | EA6350 v4 | MT7603 + MT7613 |
-+-----------------------------+-
 | EA7300 v2 | MT7603 + MT7615 |
-+-----------------------------+-
 |  Others   |    MT7615 *2    |
-+-----------------------------+-

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2024-01-17 01:14:50 +01:00

56 lines
711 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7621_linksys_ea7xxx.dtsi"
/ {
compatible = "linksys,ea6350-v4", "mediatek,mt7621-soc";
model = "Linksys EA6350 v4";
};
/* override EEPROM size to 0x400 for MT7603 */
&eeprom_factory_0 {
reg = <0x0 0x400>;
};
&gmac1 {
phy-handle = <&ethphy4>;
};
&mdio {
ethernet-phy@0 {
status = "disabled";
};
ethphy4: ethernet-phy@4 {
reg = <4>;
};
};
&switch0 {
ports {
port@0 {
status = "okay";
label = "lan1";
};
port@1 {
status = "okay";
label = "lan2";
};
port@2 {
status = "okay";
label = "lan3";
};
port@3 {
status = "okay";
label = "lan4";
};
port@4 {
status = "disabled";
};
};
};