OSDN Git Service

arm64: dts: ti: k3-am654: Add Support for eMMC host controller
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 17 Jan 2019 09:44:23 +0000 (15:14 +0530)
committerTero Kristo <t-kristo@ti.com>
Fri, 1 Feb 2019 08:18:33 +0000 (10:18 +0200)
Add support for the Secure Digital Host Controller Interface (SDHCI)
present on TI's AM654 SOCs. It is compatible with eMMC5.1 Host
Specifications.

Enable only upto HS200 speed mode.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-am65-main.dtsi

index 272cf8f..9338315 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
        };
+
+       sdhci0: sdhci@4f80000 {
+               compatible = "ti,am654-sdhci-5.1";
+               reg = <0x0 0x4f80000 0x0 0x260>, <0x0 0x4f90000 0x0 0x134>;
+               power-domains = <&k3_pds 47>;
+               clocks = <&k3_clks 47 0>, <&k3_clks 47 1>;
+               clock-names = "clk_ahb", "clk_xin";
+               interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
+               mmc-ddr-1_8v;
+               mmc-hs200-1_8v;
+               ti,otap-del-sel = <0x2>;
+               ti,trm-icp = <0x8>;
+               dma-coherent;
+       };
 };