diff options
author | Matt Porter <mporter@ti.com> | 2013-09-10 15:24:39 -0400 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2013-10-11 15:06:29 -0400 |
commit | 55b4452b4b7082ecf3cc2095bc21762a901a8ca2 (patch) | |
tree | 995295869826dab924763d3da0a7d99a7dffb02f /Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | |
parent | f5e2f807b730fa7f0683e515fe7483a5ebff9095 (diff) |
ARM: dts: AM33XX: Add MMC support and documentation
Adds AM33XX MMC support for am335x-bone, am335x-evm and am335x-evmsk boards.
Also added is the DMA binding definitions based on the generic DMA request
binding.
Additional changes made to DTS:
* Interrupt, reg and compatible properties added
* ti,needs-special-hs-handling added
Signed-off-by: Matt Porter <mporter@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt index ed271fc255b2..8c8908ab84ba 100644 --- a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt +++ b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | |||
@@ -20,8 +20,29 @@ ti,dual-volt: boolean, supports dual voltage cards | |||
20 | ti,non-removable: non-removable slot (like eMMC) | 20 | ti,non-removable: non-removable slot (like eMMC) |
21 | ti,needs-special-reset: Requires a special softreset sequence | 21 | ti,needs-special-reset: Requires a special softreset sequence |
22 | ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed | 22 | ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed |
23 | dmas: List of DMA specifiers with the controller specific format | ||
24 | as described in the generic DMA client binding. A tx and rx | ||
25 | specifier is required. | ||
26 | dma-names: List of DMA request names. These strings correspond | ||
27 | 1:1 with the DMA specifiers listed in dmas. The string naming is | ||
28 | to be "rx" and "tx" for RX and TX DMA requests, respectively. | ||
29 | |||
30 | Examples: | ||
31 | |||
32 | [hwmod populated DMA resources] | ||
33 | |||
34 | mmc1: mmc@0x4809c000 { | ||
35 | compatible = "ti,omap4-hsmmc"; | ||
36 | reg = <0x4809c000 0x400>; | ||
37 | ti,hwmods = "mmc1"; | ||
38 | ti,dual-volt; | ||
39 | bus-width = <4>; | ||
40 | vmmc-supply = <&vmmc>; /* phandle to regulator node */ | ||
41 | ti,non-removable; | ||
42 | }; | ||
43 | |||
44 | [generic DMA request binding] | ||
23 | 45 | ||
24 | Example: | ||
25 | mmc1: mmc@0x4809c000 { | 46 | mmc1: mmc@0x4809c000 { |
26 | compatible = "ti,omap4-hsmmc"; | 47 | compatible = "ti,omap4-hsmmc"; |
27 | reg = <0x4809c000 0x400>; | 48 | reg = <0x4809c000 0x400>; |
@@ -30,4 +51,7 @@ Example: | |||
30 | bus-width = <4>; | 51 | bus-width = <4>; |
31 | vmmc-supply = <&vmmc>; /* phandle to regulator node */ | 52 | vmmc-supply = <&vmmc>; /* phandle to regulator node */ |
32 | ti,non-removable; | 53 | ti,non-removable; |
54 | dmas = <&edma 24 | ||
55 | &edma 25>; | ||
56 | dma-names = "tx", "rx"; | ||
33 | }; | 57 | }; |