summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorludovic.desroches@atmel.com <ludovic.desroches@atmel.com>2015-07-29 16:22:47 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2015-08-24 11:25:53 +0200
commitbb5f8ea4d5149f3dec6f7cd24c040c52bfc0cdbd (patch)
treeea441d7a7ea4cde7796a6ab8b17d51bd83537ab3 /Documentation
parent5497159c460fadf0d8190b6ef144ec22fa26aa6b (diff)
downloadlinux-bb5f8ea4d5149f3dec6f7cd24c040c52bfc0cdbd.tar.gz
linux-bb5f8ea4d5149f3dec6f7cd24c040c52bfc0cdbd.tar.bz2
linux-bb5f8ea4d5149f3dec6f7cd24c040c52bfc0cdbd.zip
mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC
Introduce driver for he Atmel SDMMC available on sama5d2. It is a sdhci compliant controller. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mmc/sdhci-atmel.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt
new file mode 100644
index 000000000000..1b662d7171a0
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt
@@ -0,0 +1,21 @@
+* Atmel SDHCI controller
+
+This file documents the differences between the core properties in
+Documentation/devicetree/bindings/mmc/mmc.txt and the properties used by the
+sdhci-of-at91 driver.
+
+Required properties:
+- compatible: Must be "atmel,sama5d2-sdhci".
+- clocks: Phandlers to the clocks.
+- clock-names: Must be "hclock", "multclk", "baseclk";
+
+
+Example:
+
+sdmmc0: sdio-host@a0000000 {
+ compatible = "atmel,sama5d2-sdhci";
+ reg = <0xa0000000 0x300>;
+ interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
+ clock-names = "hclock", "multclk", "baseclk";
+};