u-boot/arch/arm/dts/s700-u-boot.dtsi
Amit Singh Tomar 3739cd58a4 ARM: dts: s700: add MMC/SD controller node
This patch adds node for mmc/sd controller found on Action Semi OWL
S700 SoC.

Since, upstream Linux binding has not been merged for S700 MMC/SD
controller, Changes are put in u-boot specific dtsi file.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
2022-01-18 12:48:17 -05:00

41 lines
886 B
Text

// 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";
};
mmc0: mmc@e0210000 {
compatible = "actions,s700-mmc", "actions,owl-mmc";
reg = <0x0 0xe0210000 0x0 0x4000>;
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_SD0>;
dmas = <&dma 2>;
dma-names = "mmc";
bus-width = <4>;
status = "okay";
};
};
};
&uart3 {
u-boot,dm-pre-reloc;
};
&cmu {
u-boot,dm-pre-reloc;
};