diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2012-09-28 06:28:22 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-10-07 17:41:44 -0400 |
commit | 067bf748bde70154a1fe1734b01f82b827c65b23 (patch) | |
tree | 1890041b7285676be8b783abafa9d9d52296fcdf /Documentation/devicetree | |
parent | 2abeb5c5ded2e7f7d288058426fb0ae852adc77f (diff) |
mmc: sdhci-spear: add device tree bindings
This adds simple DT bindings for SDHCI SPEAr controller. It uses cd-gpios
from common mmc bindings.
This also fixes spear300-evb.dts with correct name for card detect binding.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/sdhci-spear.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-spear.txt b/Documentation/devicetree/bindings/mmc/sdhci-spear.txt new file mode 100644 index 000000000000..84d6e297908f --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-spear.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | * SPEAr SDHCI Controller | ||
2 | |||
3 | This file documents differences between the core properties in mmc.txt | ||
4 | and the properties used by the sdhci-spear driver. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "st,spear300-sdhci" | ||
8 | |||
9 | Optional properties: | ||
10 | - cd-gpios: card detect gpio, with zero flags. | ||
11 | |||
12 | If your board don't support these gpios then don't pass the entry. | ||
13 | |||
14 | Example: | ||
15 | |||
16 | sdhci@fc000000 { | ||
17 | compatible = "st,spear300-sdhci"; | ||
18 | reg = <0xfc000000 0x1000>; | ||
19 | |||
20 | cd-gpios = <&gpio0 6 0> | ||
21 | }; | ||