ARM: dts: keystone-k2g: add MMC0 and MMC1 nodes
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 7 Aug 2017 13:36:08 +0000 (06:36 -0700)
committerSantosh Shilimkar <ssantosh@kernel.org>
Mon, 7 Aug 2017 13:36:08 +0000 (06:36 -0700)
Add device tree nodes for MMC0 and MMC1 pesent
on 66AK2G device.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[nsekhar@ti.com: fix clock-names for mmc1 node]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
arch/arm/boot/dts/keystone-k2g.dtsi

index 5150f0f8e4db8f01c4ad43b080ae78652009b2a5..32f7bb0d7e8724a7dae9eba8c5bf0f9b3b8852e9 100644 (file)
                        reg =   <0x027b8000 0x400>;
                        power-domains = <&k2g_pds 0x4f>;
                };
+
+               mmc0: mmc@23000000 {
+                       compatible = "ti,k2g-hsmmc", "ti,omap4-hsmmc";
+                       reg = <0x23000000 0x400>;
+                       interrupts = <GIC_SPI 96 IRQ_TYPE_EDGE_RISING>;
+                       dmas = <&edma1 24 0>, <&edma1 25 0>;
+                       dma-names = "tx", "rx";
+                       bus-width = <4>;
+                       ti,needs-special-reset;
+                       no-1-8-v;
+                       max-frequency = <96000000>;
+                       power-domains = <&k2g_pds 0xb>;
+                       clocks = <&k2g_clks 0xb 1>, <&k2g_clks 0xb 2>;
+                       clock-names = "fck", "mmchsdb_fck";
+                       status = "disabled";
+               };
+
+               mmc1: mmc@23100000 {
+                       compatible = "ti,k2g-hsmmc", "ti,omap4-hsmmc";
+                       reg = <0x23100000 0x400>;
+                       interrupts = <GIC_SPI 97 IRQ_TYPE_EDGE_RISING>;
+                       dmas = <&edma1 26 0>, <&edma1 27 0>;
+                       dma-names = "tx", "rx";
+                       bus-width = <8>;
+                       ti,needs-special-reset;
+                       ti,non-removable;
+                       max-frequency = <96000000>;
+                       power-domains = <&k2g_pds 0xc>;
+                       clocks = <&k2g_clks 0xc 1>, <&k2g_clks 0xc 2>;
+                       clock-names = "fck", "mmchsdb_fck";
+                       status = "disabled";
+               };
        };
 };