aboutsummaryrefslogtreecommitdiff
path: root/Bindings/mmc/sdhci-st.txt
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-08-31 04:55:32 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-31 04:55:32 +0000
commit081ea6e2ce3778c71b9db86f0af1900ecfc266d6 (patch)
tree0da5ffd36c6ff57306e2c5ea07051924f2a35a35 /Bindings/mmc/sdhci-st.txt
parentd1ca9b39dc9ec58a6b6169a48e5b229a33debaf0 (diff)
downloadsrc-081ea6e2ce3778c71b9db86f0af1900ecfc266d6.tar.gz
src-081ea6e2ce3778c71b9db86f0af1900ecfc266d6.zip
Notes
Diffstat (limited to 'Bindings/mmc/sdhci-st.txt')
-rw-r--r--Bindings/mmc/sdhci-st.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Bindings/mmc/sdhci-st.txt b/Bindings/mmc/sdhci-st.txt
new file mode 100644
index 000000000000..7527db447a35
--- /dev/null
+++ b/Bindings/mmc/sdhci-st.txt
@@ -0,0 +1,33 @@
+* STMicroelectronics sdhci-st MMC/SD controller
+
+This file documents the differences between the core properties in
+Documentation/devicetree/bindings/mmc/mmc.txt and the properties
+used by the sdhci-st driver.
+
+Required properties:
+- compatible : Must be "st,sdhci"
+- clock-names : Should be "mmc"
+ See: Documentation/devicetree/bindings/resource-names.txt
+- clocks : Phandle of the clock used by the sdhci controler
+ See: Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Optional properties:
+- non-removable: non-removable slot
+ See: Documentation/devicetree/bindings/mmc/mmc.txt
+- bus-width: Number of data lines
+ See: Documentation/devicetree/bindings/mmc/mmc.txt
+
+Example:
+
+mmc0: sdhci@fe81e000 {
+ compatible = "st,sdhci";
+ status = "disabled";
+ reg = <0xfe81e000 0x1000>;
+ interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>;
+ interrupt-names = "mmcirq";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mmc0>;
+ clock-names = "mmc";
+ clocks = <&clk_s_a1_ls 1>;
+ bus-width = <8>
+};