summaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.18/003-add_mamba_switch.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-04-12 17:29:50 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-04-12 17:29:50 +0000
commitb0ad24f0d5bce342b432dd3a8bbaca7892c7b165 (patch)
treefe5ed8b7a900a0c68c4c83c2300a116ec179c0ca /target/linux/mvebu/patches-3.18/003-add_mamba_switch.patch
parent2dbe131a6262a3b6d18a167e6f85d1b98c6dd285 (diff)
downloadmaster-31e0f0ae-b0ad24f0d5bce342b432dd3a8bbaca7892c7b165.tar.gz
master-31e0f0ae-b0ad24f0d5bce342b432dd3a8bbaca7892c7b165.tar.bz2
master-31e0f0ae-b0ad24f0d5bce342b432dd3a8bbaca7892c7b165.zip
mvebu: migrate mamba support to the upstreamed code
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45400
Diffstat (limited to 'target/linux/mvebu/patches-3.18/003-add_mamba_switch.patch')
-rw-r--r--target/linux/mvebu/patches-3.18/003-add_mamba_switch.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.18/003-add_mamba_switch.patch b/target/linux/mvebu/patches-3.18/003-add_mamba_switch.patch
new file mode 100644
index 0000000000..e43d164aaf
--- /dev/null
+++ b/target/linux/mvebu/patches-3.18/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 {