提交 6faf0dbd 编写于 作者: A Arınç ÜNAL 提交者: Thomas Bogendoerfer

mips: dts: ralink: mt7621: mux phy4 to gmac1 for GB-PC1

Mux the MT7530 switch's phy4 to the SoC's gmac1 on the GB-PC1 devicetree.
This achieves 2 Gbps total bandwidth to the CPU using the second RGMII.
Signed-off-by: NArınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: NSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
上级 a5ad2e8f
...@@ -103,14 +103,21 @@ ...@@ -103,14 +103,21 @@
state_default: state-default { state_default: state-default {
gpio-pinmux { gpio-pinmux {
groups = "rgmii2", "uart3", "wdt"; groups = "uart3", "wdt";
function = "gpio"; function = "gpio";
}; };
}; };
}; };
&ethernet { &gmac1 {
pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>; status = "okay";
phy-handle = <&ethphy4>;
};
&mdio {
ethphy4: ethernet-phy@4 {
reg = <4>;
};
}; };
&switch0 { &switch0 {
...@@ -119,10 +126,5 @@ ...@@ -119,10 +126,5 @@
status = "okay"; status = "okay";
label = "ethblack"; label = "ethblack";
}; };
port@4 {
status = "okay";
label = "ethblue";
};
}; };
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册