summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAmit Singh Tomar <amittomer25@gmail.com>2020-05-09 19:55:13 +0530
committerTom Rini <trini@konsulko.com>2020-07-07 17:12:01 -0400
commit75523d54ac62fb433bb0a105093e996570b61e87 (patch)
tree0b181e8e33b5356fdbf66c783a8386f841ae7b9a /arch/arm
parent3c5c4ee35f58bd9d3ca8fb2b4d31da4e5abe17f1 (diff)
arm: dts: s700: add node for ethernet controller
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/s700-u-boot.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi
index a527cccc75..1b2768272c 100644
--- a/arch/arm/dts/s700-u-boot.dtsi
+++ b/arch/arm/dts/s700-u-boot.dtsi
@@ -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";
+ };
+
};
};