bb170f661726def56772946a51e93e178ee24ac8
[openwrt/svn-archive/archive.git] / target / linux / mvebu / patches-4.4 / 003-add_switch_nodes.patch
1 --- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
2 +++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
3 @@ -465,6 +465,16 @@
4 };
5 };
6 };
7 +
8 + mvsw61xx {
9 + compatible = "marvell,88e6172";
10 + status = "okay";
11 + reg = <0x10>;
12 +
13 + mii-bus = <&mdio>;
14 + cpu-port-0 = <5>;
15 + cpu-port-1 = <6>;
16 + };
17 };
18
19 &pinctrl {
20 --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
21 +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
22 @@ -307,6 +307,18 @@
23 };
24 };
25 };
26 +
27 + mvsw61xx {
28 + #address-cells = <1>;
29 + #size-cells = <0>;
30 + compatible = "marvell,88e6176";
31 + status = "okay";
32 + reg = <0x10>;
33 +
34 + mii-bus = <&mdio>;
35 + cpu-port-0 = <5>;
36 + cpu-port-1 = <6>;
37 + };
38 };
39
40 &pinctrl {