aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-4.19/241-linksys-use-eth0-as-cpu-port.patch
blob: 84d49a004b85b32ca2189a9b19ed91c0d843a019 (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
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
@@ -116,7 +116,7 @@
 };
 
 &eth2 {
-	status = "okay";
+	status = "disabled";
 	phy-mode = "sgmii";
 	buffer-manager = <&bm>;
 	bm,pool-long = <2>;
@@ -200,10 +200,10 @@
 				label = "wan";
 			};
 
-			port@5 {
-				reg = <5>;
+			port@6 {
+				reg = <6>;
 				label = "cpu";
-				ethernet = <&eth2>;
+				ethernet = <&eth0>;
 
 				fixed-link {
 					speed = <1000>;