kirkwood: enable mvsw6171 switch driver on EA4500
[openwrt/svn-archive/archive.git] / target / linux / kirkwood / patches-3.14 / 160-ea4500.patch
index 0abf1a1c7c590de525f6961bb63a3ffcf277f1ec..eeed2a4f6994a23e55d04c982433e83a81498584 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 {