ARM: dts: s700: add MMC/SD controller node
authorAmit Singh Tomar <amittomer25@gmail.com>
Sun, 28 Nov 2021 11:32:23 +0000 (17:02 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 18 Jan 2022 17:48:17 +0000 (12:48 -0500)
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>
arch/arm/dts/s700-u-boot.dtsi

index 1b27682..3c3396b 100644 (file)
                        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";
+               };
        };
 };