kirkwood: enable EA4500 switch on 3.18
[openwrt/staging/chunkeey.git] / target / linux / kirkwood / patches-3.18 / 160-ea4500.patch
index bf337565df73907667b9e516b7e3b507f18e9140..7456b13e146182d642755bb4e3f2bdd948c9580b 100644 (file)
@@ -10,7 +10,7 @@
        kirkwood-ib62x0.dtb \
 --- /dev/null
 +++ b/arch/arm/boot/dts/kirkwood-ea4500.dts
-@@ -0,0 +1,156 @@
+@@ -0,0 +1,167 @@
 +/*
 + * kirkwood-ea4500.dts - Device Tree file for Linksys EA4500
 + *
 +                      gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
 +              };
 +      };
++
++      mvsw6171 {
++              compatible = "marvell,88e6171";
++              status = "okay";
++              reg = <0x10>;
++
++              mii-bus = <&mdio>;
++              cpu-port-0 = <5>;
++              cpu-port-1 = <6>;
++              is-indirect;
++      };
 +};
 +
 +&nand {