diff options
author | Marek Vasut <marex@denx.de> | 2016-05-06 20:10:38 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-05-21 01:36:38 +0200 |
commit | 2986a9d4bd2197ff3db16c8a4f61574b5a5cca49 (patch) | |
tree | 0a94fc745be3b6d2ae78e6549356e8c92592bbc9 /arch/mips | |
parent | 6b699742d4795804d553deaf5163a0923bd27274 (diff) | |
download | u-boot-imx-2986a9d4bd2197ff3db16c8a4f61574b5a5cca49.zip u-boot-imx-2986a9d4bd2197ff3db16c8a4f61574b5a5cca49.tar.gz u-boot-imx-2986a9d4bd2197ff3db16c8a4f61574b5a5cca49.tar.bz2 |
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/dts/ar933x.dtsi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/mips/dts/ar933x.dtsi b/arch/mips/dts/ar933x.dtsi index 2e124a4..00896b2 100644 --- a/arch/mips/dts/ar933x.dtsi +++ b/arch/mips/dts/ar933x.dtsi @@ -73,6 +73,32 @@ 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 { |