aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-4.0/003-add_mamba_switch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/patches-4.0/003-add_mamba_switch.patch')
-rw-r--r--target/linux/mvebu/patches-4.0/003-add_mamba_switch.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.0/003-add_mamba_switch.patch b/target/linux/mvebu/patches-4.0/003-add_mamba_switch.patch
new file mode 100644
index 0000000..e43d164
--- /dev/null
+++ b/target/linux/mvebu/patches-4.0/003-add_mamba_switch.patch
@@ -0,0 +1,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 {