浏览代码

MIPS: mscc: Connect phys to ports on ocelot_pcb123

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>
Alexandre Belloni 7 年之前
父节点
当前提交
8798e3921e
共有 1 个文件被更改,包括 20 次插入0 次删除
  1. 20 0
      arch/mips/boot/dts/mscc/ocelot_pcb123.dts

+ 20 - 0
arch/mips/boot/dts/mscc/ocelot_pcb123.dts

@@ -25,3 +25,23 @@
 &uart2 {
 	status = "okay";
 };
+
+&mdio0 {
+	status = "okay";
+};
+
+&port0 {
+	phy-handle = <&phy0>;
+};
+
+&port1 {
+	phy-handle = <&phy1>;
+};
+
+&port2 {
+	phy-handle = <&phy2>;
+};
+
+&port3 {
+	phy-handle = <&phy3>;
+};