diff mbox

[U-Boot,2/4] ARM: dts: K2G: Add support for MMC controller

Message ID 20160810135406.17255-3-nsekhar@ti.com
State Accepted
Commit 5396edc6750bfdd8d9a93b914ca993d98c29f4c0
Headers show

Commit Message

Sekhar Nori Aug. 10, 2016, 1:54 p.m. UTC
K2G SoC from TI has two MMC/SD controllers.
Add device tree data for these.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/dts/k2g.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Comments

Mugunthan V N Aug. 10, 2016, 3:51 p.m. UTC | #1
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote:
> K2G SoC from TI has two MMC/SD controllers.
> Add device tree data for these.
> 
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> ---

Acked-by: Mugunthan V N <mugunthanvnm@ti.com>

Regards
Mugunthan V N
Tom Rini Aug. 10, 2016, 4:27 p.m. UTC | #2
On Wed, Aug 10, 2016 at 07:24:04PM +0530, Sekhar Nori wrote:

> K2G SoC from TI has two MMC/SD controllers.
> Add device tree data for these.
> 
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
diff mbox

Patch

diff --git a/arch/arm/dts/k2g.dtsi b/arch/arm/dts/k2g.dtsi
index 00cd49297336..add03b74da36 100644
--- a/arch/arm/dts/k2g.dtsi
+++ b/arch/arm/dts/k2g.dtsi
@@ -149,5 +149,28 @@ 
 			#size-cells = <0>;
 			status = "disabled";
 		};
+
+		mmc0: mmc@23000000 {
+			compatible = "ti,omap4-hsmmc";
+			reg = <0x23000000 0x400>;
+			interrupts = <GIC_SPI 96 IRQ_TYPE_EDGE_RISING>;
+			bus-width = <4>;
+			ti,needs-special-reset;
+			no-1-8-v;
+			max-frequency = <96000000>;
+			status = "disabled";
+		};
+
+		mmc1: mmc@23100000 {
+			compatible = "ti,omap4-hsmmc";
+			reg = <0x23100000 0x400>;
+			interrupts = <GIC_SPI 97 IRQ_TYPE_EDGE_RISING>;
+			bus-width = <8>;
+			ti,needs-special-reset;
+			ti,non-removable;
+			max-frequency = <96000000>;
+			status = "disabled";
+			clock-names = "fck";
+		};
 	};
 };