提交 395e2d43 编写于 作者: R Rosy Song 提交者: Daniel Schwierzeck

mips: add ethernet support for qca953x referenced boards

Signed-off-by: NRosy Song <rosysong@rosinson.com>
上级 f1f943e9
......@@ -40,3 +40,8 @@
reg = <0>;
};
};
&gmac1 {
status = "okay";
phy-mode = "rgmii";
};
......@@ -65,6 +65,37 @@
status = "disabled";
};
gmac0: eth0@0x19000000 {
compatible = "qca,ag953x-mac";
reg = <0x19000000 0x200>;
phy = <&phy4>;
phy-mode = "rmii";
status = "disabled";
};
gmac1: eth1@0x1a000000 {
compatible = "qca,ag953x-mac";
reg = <0x1a000000 0x200>;
phy = <&phy0>;
phy-mode = "rgmii";
status = "disabled";
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "rmii";
};
phy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "rmii";
};
};
};
};
spi0: spi@1f000000 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册