diff options
| author | Dinh Nguyen <dinguyen@altera.com> | 2014-02-17 21:31:02 -0500 |
|---|---|---|
| committer | Chris Ball <chris@printf.net> | 2014-02-26 21:30:23 -0500 |
| commit | d9c3f5df539a8a74cc830b35838670fe0541fed1 (patch) | |
| tree | 4f8a2158012aa5046b9cce60645d08954a070794 /Documentation | |
| parent | ec1e5d703e4a75fb19e99a92d20b4b70861bf483 (diff) | |
dts: socfpga: Add support for SD/MMC on the SOCFPGA platform
Introduce "altr,socfpga-dw-mshc" to enable Altera's SOCFPGA platform
specific implementation of the dw_mmc driver.
Also add the "syscon" binding to the "altr,sys-mgr" node. The clock
driver can use the syscon driver to toggle the register for the SD/MMC
clock phase shift settings.
Finally, fix an indentation error for the sysmgr node.
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Acked-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Tested-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt new file mode 100644 index 000000000000..4897bea7e3f8 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | * Altera SOCFPGA specific extensions to the Synopsys Designware Mobile | ||
| 2 | Storage Host Controller | ||
| 3 | |||
| 4 | The Synopsys designware mobile storage host controller is used to interface | ||
| 5 | a SoC with storage medium such as eMMC or SD/MMC cards. This file documents | ||
| 6 | differences between the core Synopsys dw mshc controller properties described | ||
| 7 | by synopsys-dw-mshc.txt and the properties used by the Altera SOCFPGA specific | ||
| 8 | extensions to the Synopsys Designware Mobile Storage Host Controller. | ||
| 9 | |||
| 10 | Required Properties: | ||
| 11 | |||
| 12 | * compatible: should be | ||
| 13 | - "altr,socfpga-dw-mshc": for Altera's SOCFPGA platform | ||
| 14 | |||
| 15 | Example: | ||
| 16 | |||
| 17 | mmc: dwmmc0@ff704000 { | ||
| 18 | compatible = "altr,socfpga-dw-mshc"; | ||
| 19 | reg = <0xff704000 0x1000>; | ||
| 20 | interrupts = <0 129 4>; | ||
| 21 | #address-cells = <1>; | ||
| 22 | #size-cells = <0>; | ||
| 23 | }; | ||
