mips: ath79: dts: Add ethernet MAC nodes for ar933x
Add node for both ethernet controllers in the ar933x. The PHY is attached only to the first ethernet controller. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com>
This commit is contained in:
committed by
Daniel Schwierzeck
parent
6b699742d4
commit
2986a9d4bd
@@ -73,6 +73,32 @@
|
|||||||
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gmac0: eth@0x19000000 {
|
||||||
|
compatible = "qca,ag7240-mac";
|
||||||
|
reg = <0x19000000 0x200>;
|
||||||
|
phy = <&phy0>;
|
||||||
|
phy-mode = "rmii";
|
||||||
|
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
mdio {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
phy0: ethernet-phy@0 {
|
||||||
|
reg = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gmac1: eth@0x1a000000 {
|
||||||
|
compatible = "qca,ag7240-mac";
|
||||||
|
reg = <0x1a000000 0x200>;
|
||||||
|
phy = <&phy0>;
|
||||||
|
phy-mode = "rgmii";
|
||||||
|
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
spi0: spi@1f000000 {
|
spi0: spi@1f000000 {
|
||||||
|
|||||||
Reference in New Issue
Block a user