1* Spreadtrum SDHCI controller (sdhci-sprd) 2 3The Secure Digital (SD) Host controller on Spreadtrum SoCs provides an interface 4for MMC, SD and SDIO types of cards. 5 6This file documents differences between the core properties in mmc.txt 7and the properties used by the sdhci-sprd driver. 8 9Required properties: 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) 17 18Optional properties: 19- assigned-clocks: the same with "sdio" clock 20- assigned-clock-parents: the default parent of "sdio" clock 21 22Examples: 23 24sdio0: sdio@20600000 { 25 compatible = "sprd,sdhci-r11"; 26 reg = <0 0x20600000 0 0x1000>; 27 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 28 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>; 34 35 bus-width = <8>; 36 non-removable; 37 no-sdio; 38 no-sd; 39 cap-mmc-hw-reset; 40 status = "okay"; 41}; 42