[PATCH net-next 7/8] MIPS: mscc: connect phys to ports on ocelot_pcb123

From: Alexandre Belloni
Date: Fri Mar 23 2018 - 16:13:20 EST


Add phy to switch port connections for PCB123 for internal PHYs.

Cc: James Hogan <jhogan@xxxxxxxxxx>
Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
---
arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts
index 29d6414f8886..66b48f664975 100644
--- a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts
+++ b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts
@@ -25,3 +25,19 @@
&uart2 {
status = "okay";
};
+
+&port0 {
+ phy-handle = <&phy0>;
+};
+
+&port1 {
+ phy-handle = <&phy1>;
+};
+
+&port2 {
+ phy-handle = <&phy2>;
+};
+
+&port3 {
+ phy-handle = <&phy3>;
+};
--
2.16.2