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 |
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.
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 --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"; + }; }; };