ramips: mt7621-dts: describe switch PHYs and adjust PHY muxing
[openwrt/staging/nbd.git] / target / linux / ramips / dts / mt7621_linksys_ea6350-v4.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_linksys_ea7xxx.dtsi"
4
5 / {
6 compatible = "linksys,ea6350-v4", "mediatek,mt7621-soc";
7 model = "Linksys EA6350 v4";
8 };
9
10 /* override EEPROM size to 0x400 for MT7603 */
11 &eeprom_factory_0 {
12 reg = <0x0 0x400>;
13 };
14
15 &gmac1 {
16 phy-handle = <&ethphy4>;
17 };
18
19 &ethphy0 {
20 interrupts = <0>;
21 };
22
23 &ethphy4 {
24 /delete-property/ interrupts;
25 };
26
27 &switch0 {
28 ports {
29 port@0 {
30 status = "okay";
31 label = "lan1";
32 };
33
34 port@1 {
35 status = "okay";
36 label = "lan2";
37 };
38
39 port@2 {
40 status = "okay";
41 label = "lan3";
42 };
43
44 port@3 {
45 status = "okay";
46 label = "lan4";
47 };
48
49 port@4 {
50 status = "disabled";
51 };
52 };
53 };