[PATCH v3 19/21] arm: dts: s700: add node for ethernet controller

Amit Singh Tomar amittomer25 at gmail.com
Sat Jan 25 13:23:01 CET 2020


This patch adds node for ethernet controller(found on Action Semi S700 SoC).

Since, there is no upstream Linux binding exist for S700 ethernet controller, Changes
are put in u-boot specific dtsi file.

Signed-off-by: Amit Singh Tomar <amittomer25 at gmail.com>
---
Changes since v2:
        * Newly added patch, not there in v2/v1.
---
 arch/arm/dts/s700-u-boot.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi
index 4a33042..489d0f5 100644
--- a/arch/arm/dts/s700-u-boot.dtsi
+++ b/arch/arm/dts/s700-u-boot.dtsi
@@ -12,6 +12,21 @@
 			compatible = "actions,s700-reset";
 			reg = <0 0xe01680a8 0 0x8>;
 		};
+
+		gmac:  ethernet at e0220000 {
+			compatible = "actions,s700-ethernet";
+			reg = <0 0xe0220000 0 0x2000>;
+			interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "macirq";
+			local-mac-address = [ 00 18 fe 66 66 66 ];
+			clocks = <&cmu CLK_ETHERNET>, <&cmu CLK_RMII_REF>;
+			clock-names = "ethernet", "rmii_ref";
+			resets = <&reset 55>;
+			reset-names = "ethernet";
+			phy-mode = "rmii";
+
+			status = "okay";
+		};
 	};
 };
 
-- 
2.7.4



More information about the U-Boot mailing list