Merge branch 'pwm-dmtimer-fixes' into omap-for-v5.0/fixes-v2
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mmc / jz4740.txt
1 * Ingenic JZ47xx MMC controllers
2
3 This file documents the device tree properties used for the MMC controller in
4 Ingenic JZ4740/JZ4780 SoCs. These are in addition to the core MMC properties
5 described in mmc.txt.
6
7 Required properties:
8 - compatible: Should be one of the following:
9   - "ingenic,jz4740-mmc" for the JZ4740
10   - "ingenic,jz4725b-mmc" for the JZ4725B
11   - "ingenic,jz4780-mmc" for the JZ4780
12 - reg: Should contain the MMC controller registers location and length.
13 - interrupts: Should contain the interrupt specifier of the MMC controller.
14 - clocks: Clock for the MMC controller.
15
16 Optional properties:
17 - dmas: List of DMA specifiers with the controller specific format
18         as described in the generic DMA client binding. A tx and rx
19         specifier is required.
20 - dma-names: RX and TX  DMA request names.
21         Should be "rx" and "tx", in that order.
22
23 For additional details on DMA client bindings see ../dma/dma.txt.
24
25 Example:
26
27 mmc0: mmc@13450000 {
28         compatible = "ingenic,jz4780-mmc";
29         reg = <0x13450000 0x1000>;
30
31         interrupt-parent = <&intc>;
32         interrupts = <37>;
33
34         clocks = <&cgu JZ4780_CLK_MSC0>;
35         clock-names = "mmc";
36
37         dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, <&dma JZ4780_DMA_MSC0_TX 0xffffffff>;
38         dma-names = "rx", "tx";
39 };