[U-Boot] [PATCH 5/8] mips: ath79: dts: Add ethernet MAC nodes

Marek Vasut marex at denx.de
Thu May 5 20:14:54 CEST 2016


Add nodes for both ethernet controllers in the ath79 MIPS.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
Cc: Wills Wang <wills.wang at live.com>
---
 arch/mips/dts/ar933x.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/mips/dts/ar933x.dtsi b/arch/mips/dts/ar933x.dtsi
index 2e124a4..f86f4a9 100644
--- a/arch/mips/dts/ar933x.dtsi
+++ b/arch/mips/dts/ar933x.dtsi
@@ -73,6 +73,22 @@
 
 				status = "disabled";
 			};
+
+			gmac0: eth at 0x19000000 {
+				compatible = "qca,ag7240-mac";
+				reg = <0x19000000 0x200>;
+				phy-mode = "rmii";
+
+				status = "disabled";
+			};
+
+			gmac1: eth at 0x1a000000 {
+				compatible = "qca,ag7240-mac";
+				reg = <0x1a000000 0x200>;
+				phy-mode = "rgmii";
+
+				status = "disabled";
+			};
 		};
 
 		spi0: spi at 1f000000 {
-- 
2.7.0



More information about the U-Boot mailing list