aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2012-04-10 22:34:33 -0400
committerChris Ball <cjb@laptop.org>2012-07-21 00:01:47 -0400
commitb650352dd3df36164e3427bff3f33bc06ac47642 (patch)
tree883219dd446358996e8860027bb712e258f2554c /Documentation/devicetree/bindings/mmc/sdhci-pxa.txt
parentmmc: dt: Add reg/interrupts to mmc.txt for clarity. (diff)
downloadlinux-dev-b650352dd3df36164e3427bff3f33bc06ac47642.tar.xz
linux-dev-b650352dd3df36164e3427bff3f33bc06ac47642.zip
mmc: sdhci-pxa: Add device tree support
Tested on an OLPC XO-1.75. (MMP2, sdhci-pxav3, CONFIG_MACH_MMP2_DT=y) Signed-off-by: Chris Ball <cjb@laptop.org> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/sdhci-pxa.txt')
-rw-r--r--Documentation/devicetree/bindings/mmc/sdhci-pxa.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt b/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt
new file mode 100644
index 000000000000..dbe98a3c183a
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt
@@ -0,0 +1,21 @@
+* Marvell sdhci-pxa v2/v3 controller
+
+This file documents differences between the core properties in mmc.txt
+and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers.
+
+Required properties:
+- compatible: Should be "mrvl,pxav2-mmc" or "mrvl,pxav3-mmc".
+
+Optional properties:
+- mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning.
+
+Example:
+
+sdhci@d4280800 {
+ compatible = "mrvl,pxav3-mmc";
+ reg = <0xd4280800 0x800>;
+ bus-width = <8>;
+ interrupts = <27>;
+ non-removable;
+ mrvl,clk-delay-cycles = <31>;
+};