aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts
blob: 654c9aa70f4ebcbd4d13648e025200b481f39b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// 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";
};

&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";
		};
	};
};