File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Documentation/devicetree/bindings/mmc Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ * Spreadtrum SDHCI controller (sdhci-sprd)
2
+
3
+ The Secure Digital (SD) Host controller on Spreadtrum SoCs provides an interface
4
+ for MMC, SD and SDIO types of cards.
5
+
6
+ This file documents differences between the core properties in mmc.txt
7
+ and the properties used by the sdhci-sprd driver.
8
+
9
+ Required 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
+
18
+ Optional properties:
19
+ - assigned-clocks: the same with "sdio" clock
20
+ - assigned-clock-parents: the default parent of "sdio" clock
21
+
22
+ Examples:
23
+
24
+ sdio0: 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
+ };
You can’t perform that action at this time.
0 commit comments