diff mbox series

[v4,4/6] ARM: dts: s700: add MMC/SD controller node

Message ID 20211128113225.3992-5-atomar25opensource@gmail.com
State Accepted
Commit 3739cd58a486b4e54d8a22c853fed02306b5b021
Delegated to: Tom Rini
Headers show
Series Add MMC/SD support for S700/S900 | expand

Commit Message

Amit Singh Tomar Nov. 28, 2021, 11:32 a.m. UTC
From: Amit Singh Tomar <amittomer25@gmail.com>

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>
---
Changes since previous versions
	* No change.
---
 arch/arm/dts/s700-u-boot.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Tom Rini Jan. 5, 2022, 5:43 p.m. UTC | #1
On Sun, Nov 28, 2021 at 05:02:23PM +0530, Amit Singh Tomar wrote:

> From: Amit Singh Tomar <amittomer25@gmail.com>
> 
> 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>

This leads to:
arch/arm/dts/s700-cubieboard7.dtb: ERROR (phandle_references):
/soc/mmc@e0210000 : Reference to non-existent node or label "dma"

Please rebase on top of current next, thanks.
Tom Rini Jan. 18, 2022, 9:09 p.m. UTC | #2
On Sun, Nov 28, 2021 at 05:02:23PM +0530, Amit Singh Tomar wrote:

> From: Amit Singh Tomar <amittomer25@gmail.com>
> 
> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi
index 1b2768272c62..3c3396bccf11 100644
--- a/arch/arm/dts/s700-u-boot.dtsi
+++ b/arch/arm/dts/s700-u-boot.dtsi
@@ -19,6 +19,16 @@ 
 			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";
+		};
 	};
 };