diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-12-10 12:08:13 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-12-10 12:08:13 +0000 |
commit | b17844d21af30b467e108c765c7010eba2b2b28e (patch) | |
tree | 0608fa421a6fb924cc5c1b4f768aa7904b650005 /target/linux/mvebu/patches-4.1/003-add_switch_nodes.patch | |
parent | f1d3b08fc0c58d60b692bc1d5447f22de7074151 (diff) | |
download | mtk-20170518-b17844d21af30b467e108c765c7010eba2b2b28e.zip mtk-20170518-b17844d21af30b467e108c765c7010eba2b2b28e.tar.gz mtk-20170518-b17844d21af30b467e108c765c7010eba2b2b28e.tar.bz2 |
mvebu: add support for 4.1 and switch over
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47818
Diffstat (limited to 'target/linux/mvebu/patches-4.1/003-add_switch_nodes.patch')
-rw-r--r-- | target/linux/mvebu/patches-4.1/003-add_switch_nodes.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.1/003-add_switch_nodes.patch b/target/linux/mvebu/patches-4.1/003-add_switch_nodes.patch new file mode 100644 index 0000000..bb170f6 --- /dev/null +++ b/target/linux/mvebu/patches-4.1/003-add_switch_nodes.patch @@ -0,0 +1,40 @@ +--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts ++++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts +@@ -465,6 +465,16 @@ + }; + }; + }; ++ ++ mvsw61xx { ++ compatible = "marvell,88e6172"; ++ status = "okay"; ++ reg = <0x10>; ++ ++ mii-bus = <&mdio>; ++ cpu-port-0 = <5>; ++ cpu-port-1 = <6>; ++ }; + }; + + &pinctrl { +--- a/arch/arm/boot/dts/armada-385-linksys.dtsi ++++ b/arch/arm/boot/dts/armada-385-linksys.dtsi +@@ -307,6 +307,18 @@ + }; + }; + }; ++ ++ mvsw61xx { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ compatible = "marvell,88e6176"; ++ status = "okay"; ++ reg = <0x10>; ++ ++ mii-bus = <&mdio>; ++ cpu-port-0 = <5>; ++ cpu-port-1 = <6>; ++ }; + }; + + &pinctrl { |