The Dlink DIR665 has two host Ethernet interfaces connected to the switch. Now that the DSA core and mv88e6171 driver supports multiple CPU ports, enable the second interface.
Signed-off-by: Andrew Lunn <and...@lunn.ch> --- arch/arm/boot/dts/kirkwood-dir665.dts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/kirkwood-dir665.dts b/arch/arm/boot/dts/kirkwood-dir665.dts index 786959ee9cbe..2ecb6acb1905 100644 --- a/arch/arm/boot/dts/kirkwood-dir665.dts +++ b/arch/arm/boot/dts/kirkwood-dir665.dts @@ -219,31 +219,43 @@ port@0 { reg = <0>; label = "lan4"; + cpu = <&cpu1>; }; port@1 { reg = <1>; label = "lan3"; + cpu = <&cpu0>; }; port@2 { reg = <2>; label = "lan2"; + cpu = <&cpu1>; }; port@3 { reg = <3>; label = "lan1"; + cpu = <&cpu0>; }; port@4 { reg = <4>; label = "wan"; + cpu = <&cpu1>; }; - port@6 { + cpu0: port@5 { + reg = <5>; + label = "cpu"; + ethernet = <ð1port>; + }; + + cpu1: port@6 { reg = <6>; label = "cpu"; + ethernet = <ð0port>; }; }; }; @@ -268,7 +280,13 @@ * single CPU port. So leave this port disabled to avoid confusion. */ ð1 { - status = "disabled"; + status = "okay"; + + ethernet1-port@0 { + speed = <1000>; + duplex = <1>; + local-mac-address = [c8 be 19 61 de 55]; + }; }; /* There is no battery on the boards, so the RTC does not keep time -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html