aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts
blob: 83c86ee11dbb6291f0d0cd1a4157741a2e8224fd (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
51
52
53
// 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>;
};

&ethphy0 {
	interrupts = <0>;
};

&ethphy4 {
	/delete-property/ interrupts;
};

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