MIPS: mscc: Connect phys to ports on ocelot_pcb123
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 14 May 2018 20:04:59 +0000 (22:04 +0200)
committerJames Hogan <jhogan@kernel.org>
Mon, 14 May 2018 22:58:23 +0000 (23:58 +0100)
Add phy to switch port connections for PCB123 for internal PHYs.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-mips@linux-mips.org
Cc: netdev@vger.kernel.org
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/boot/dts/mscc/ocelot_pcb123.dts

index 29d6414f88863d6066e04b2a81dc95e7eb32896b..4ccd65379059910f3a142f8e69ffdf9a1c811f31 100644 (file)
 &uart2 {
        status = "okay";
 };
+
+&mdio0 {
+       status = "okay";
+};
+
+&port0 {
+       phy-handle = <&phy0>;
+};
+
+&port1 {
+       phy-handle = <&phy1>;
+};
+
+&port2 {
+       phy-handle = <&phy2>;
+};
+
+&port3 {
+       phy-handle = <&phy3>;
+};