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