xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Samsung's SDHCI Controller device tree bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunSamsung's SDHCI controller is used as a connectivity interface with external
4*4882a593SmuzhiyunMMC, SD and eMMC storage mediums. This file documents differences between the
5*4882a593Smuzhiyuncore mmc properties described by mmc.txt and the properties used by the
6*4882a593SmuzhiyunSamsung implementation of the SDHCI controller.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired SoC Specific Properties:
9*4882a593Smuzhiyun- compatible: should be one of the following
10*4882a593Smuzhiyun  - "samsung,s3c6410-sdhci": For controllers compatible with s3c6410 sdhci
11*4882a593Smuzhiyun    controller.
12*4882a593Smuzhiyun  - "samsung,exynos4210-sdhci": For controllers compatible with Exynos4 sdhci
13*4882a593Smuzhiyun    controller.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunRequired Board Specific Properties:
16*4882a593Smuzhiyun- pinctrl-0: Should specify pin control groups used for this controller.
17*4882a593Smuzhiyun- pinctrl-names: Should contain only one value - "default".
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunExample:
20*4882a593Smuzhiyun	sdhci@12530000 {
21*4882a593Smuzhiyun		compatible = "samsung,exynos4210-sdhci";
22*4882a593Smuzhiyun		reg = <0x12530000 0x100>;
23*4882a593Smuzhiyun		interrupts = <0 75 0>;
24*4882a593Smuzhiyun		bus-width = <4>;
25*4882a593Smuzhiyun		cd-gpios = <&gpk2 2 0>;
26*4882a593Smuzhiyun		pinctrl-names = "default";
27*4882a593Smuzhiyun		pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
28*4882a593Smuzhiyun	};
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun	Note: This example shows both SoC specific and board specific properties
31*4882a593Smuzhiyun	in a single device node. The properties can be actually be separated
32*4882a593Smuzhiyun	into SoC specific node and board specific node.
33