summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mmc/mmc.txt
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-05-14 21:48:45 +0200
committerArnd Bergmann <arnd@arndb.de>2012-05-15 13:31:11 +0200
commitc49314fa6c7d2c130d850b30980cffab53a40592 (patch)
tree9c7597ad98a42ef8ba1e18e897106c2cb29e52e6 /Documentation/devicetree/bindings/mmc/mmc.txt
parent21b7f153dd0d7366197c37e7a630c7585db0b8ea (diff)
parent7f217794ffa72f208a250b79ab0b7ea3de19677f (diff)
downloadblackbird-op-linux-c49314fa6c7d2c130d850b30980cffab53a40592.tar.gz
blackbird-op-linux-c49314fa6c7d2c130d850b30980cffab53a40592.zip
Merge branch 'drivers/mmc' into next/drivers
* drivers/mmc: mmc: dt: Consolidate DT bindings Also pulls in the omap/dt-missed-3.4 branch as a dependency. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/mmc.txt')
-rw-r--r--Documentation/devicetree/bindings/mmc/mmc.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt
new file mode 100644
index 000000000000..6e70dcde0a71
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/mmc.txt
@@ -0,0 +1,27 @@
+These properties are common to multiple MMC host controllers. Any host
+that requires the respective functionality should implement them using
+these definitions.
+
+Required properties:
+- bus-width: Number of data lines, can be <1>, <4>, or <8>
+
+Optional properties:
+- cd-gpios : Specify GPIOs for card detection, see gpio binding
+- wp-gpios : Specify GPIOs for write protection, see gpio binding
+- cd-inverted: when present, polarity on the wp gpio line is inverted
+- wp-inverted: when present, polarity on the wp gpio line is inverted
+- non-removable: non-removable slot (like eMMC)
+- max-frequency: maximum operating clock frequency
+
+Example:
+
+sdhci@ab000000 {
+ compatible = "sdhci";
+ reg = <0xab000000 0x200>;
+ interrupts = <23>;
+ bus-width = <4>;
+ cd-gpios = <&gpio 69 0>;
+ cd-inverted;
+ wp-gpios = <&gpio 70 0>;
+ max-frequency = <50000000>;
+}
OpenPOWER on IntegriCloud