Merge branch 'nvme-4.18' of git://git.infradead.org/nvme into for-linus
[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,jz4780-mmc" for the JZ4780
11 - reg: Should contain the MMC controller registers location and length.
12 - interrupts: Should contain the interrupt specifier of the MMC controller.
13 - clocks: Clock for the MMC controller.
14
15 Optional properties:
16 - dmas: List of DMA specifiers with the controller specific format
17         as described in the generic DMA client binding. A tx and rx
18         specifier is required.
19 - dma-names: RX and TX  DMA request names.
20         Should be "rx" and "tx", in that order.
21
22 For additional details on DMA client bindings see ../dma/dma.txt.
23
24 Example:
25
26 mmc0: mmc@13450000 {
27         compatible = "ingenic,jz4780-mmc";
28         reg = <0x13450000 0x1000>;
29
30         interrupt-parent = <&intc>;
31         interrupts = <37>;
32
33         clocks = <&cgu JZ4780_CLK_MSC0>;
34         clock-names = "mmc";
35
36         dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, <&dma JZ4780_DMA_MSC0_TX 0xffffffff>;
37         dma-names = "rx", "tx";
38 };