]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: s700: add node for ethernet controller
authorAmit Singh Tomar <amittomer25@gmail.com>
Sat, 9 May 2020 14:25:13 +0000 (19:55 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jul 2020 21:12:01 +0000 (17:12 -0400)
This patch adds node for ethernet controller found on Action Semi OWL
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@gmail.com>
arch/arm/dts/s700-u-boot.dtsi

index a527cccc75f2ad553945469eb7f01ede327e77b3..1b2768272c628d13efbb7a09f8478922141052ac 100644 (file)
@@ -6,6 +6,19 @@
 /{
        soc {
                u-boot,dm-pre-reloc;
+
+               gmac:  ethernet@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";
+                       phy-mode = "rmii";
+                       status = "okay";
+                };
+
        };
 };