aboutsummaryrefslogtreecommitdiffstats
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
commit99888c7af5e9a8363a29bee424d8a803b52e0210 (patch)
treebcab44caa20552eddce7b3fd7bd4b5823562a2d6 /target/linux/mvebu/patches-3.18/003-add_mamba_switch.patch
parent18bcf252f753dbef88ac98b3de86e513f8c7cc48 (diff)
downloadmaster-187ad058-99888c7af5e9a8363a29bee424d8a803b52e0210.tar.gz
master-187ad058-99888c7af5e9a8363a29bee424d8a803b52e0210.tar.bz2
master-187ad058-99888c7af5e9a8363a29bee424d8a803b52e0210.zip
mvebu: migrate mamba support to the upstreamed code
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45400 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 {