1 * Spreadtrum SDHCI controller (sdhci-sprd)
3 The Secure Digital (SD) Host controller on Spreadtrum SoCs provides an interface
4 for MMC, SD and SDIO types of cards.
6 This file documents differences between the core properties in mmc.txt
7 and the properties used by the sdhci-sprd driver.
10 - compatible: Should contain "sprd,sdhci-r11".
11 - reg: physical base address of the controller and length.
12 - interrupts: Interrupts used by the SDHCI controller.
13 - clocks: Should contain phandle for the clock feeding the SDHCI controller
14 - clock-names: Should contain the following:
15 "sdio" - SDIO source clock (required)
16 "enable" - gate clock which used for enabling/disabling the device (required)
19 - assigned-clocks: the same with "sdio" clock
20 - assigned-clock-parents: the default parent of "sdio" clock
24 sdio0: sdio@20600000 {
25 compatible = "sprd,sdhci-r11";
26 reg = <0 0x20600000 0 0x1000>;
27 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
29 clock-names = "sdio", "enable";
30 clocks = <&ap_clk CLK_EMMC_2X>,
31 <&apahb_gate CLK_EMMC_EB>;
32 assigned-clocks = <&ap_clk CLK_EMMC_2X>;
33 assigned-clock-parents = <&rpll CLK_RPLL_390M>;