summaryrefslogtreecommitdiff
path: root/target/linux/mvebu/patches-4.0/003-add_mamba_switch.patch
blob: e43d164aaf42bf54fcfc66b9dbd1f296553f55ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
@@ -415,6 +415,16 @@
 		gpio-fan,speed-map = <0    0
 				      4500 1>;
 	};
+
+	mvsw61xx {
+		compatible = "marvell,88e6172";
+		status = "okay";
+		reg = <0x10>;
+
+		mii-bus = <&mdio>;
+		cpu-port-0 = <5>;
+		cpu-port-1 = <6>;
+	};
 };
 
 &pinctrl {