diff options
Diffstat (limited to 'roms/u-boot/arch/arm/dts/s700-u-boot.dtsi')
-rw-r--r-- | roms/u-boot/arch/arm/dts/s700-u-boot.dtsi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/dts/s700-u-boot.dtsi b/roms/u-boot/arch/arm/dts/s700-u-boot.dtsi new file mode 100644 index 000000000..1b2768272 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/s700-u-boot.dtsi @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Amit Singh Tomar <amittomer25@gmail.com> + */ + +/{ + 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"; + }; + + }; +}; + +&uart3 { + u-boot,dm-pre-reloc; +}; + +&cmu { + u-boot,dm-pre-reloc; +}; |