]> Git Repo - J-u-boot.git/commitdiff
mips: ath79: dts: Add ethernet MAC nodes for ar933x
authorMarek Vasut <[email protected]>
Fri, 6 May 2016 18:10:38 +0000 (20:10 +0200)
committerDaniel Schwierzeck <[email protected]>
Fri, 20 May 2016 23:36:38 +0000 (01:36 +0200)
Add node for both ethernet controllers in the ar933x.
The PHY is attached only to the first ethernet controller.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Wills Wang <[email protected]>
arch/mips/dts/ar933x.dtsi

index 2e124a49b31d95e3cbbb5f5e2d1fc4daf68bac9d..00896b2be477e483f254decbf070f39d8c58c914 100644 (file)
 
                                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 {
This page took 0.036872 seconds and 4 git commands to generate.