Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Ingenic XBurst MMC controllers
2
3This file documents the device tree properties used for the MMC controller in
4Ingenic JZ4740/JZ4760/JZ4780/X1000 SoCs. These are in addition to the core MMC
5properties described in mmc.txt.
6
7Required 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,jz4760-mmc" for the JZ4760
12 - "ingenic,jz4780-mmc" for the JZ4780
13 - "ingenic,x1000-mmc" for the X1000
14- reg: Should contain the MMC controller registers location and length.
15- interrupts: Should contain the interrupt specifier of the MMC controller.
16- clocks: Clock for the MMC controller.
17
18Optional properties:
19- dmas: List of DMA specifiers with the controller specific format
20 as described in the generic DMA client binding. A tx and rx
21 specifier is required.
22- dma-names: RX and TX DMA request names.
23 Should be "rx" and "tx", in that order.
24
25For additional details on DMA client bindings see ../dma/dma.txt.
26
27Example:
28
29mmc0: mmc@13450000 {
30 compatible = "ingenic,jz4780-mmc";
31 reg = <0x13450000 0x1000>;
32
33 interrupt-parent = <&intc>;
34 interrupts = <37>;
35
36 clocks = <&cgu JZ4780_CLK_MSC0>;
37 clock-names = "mmc";
38
39 dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, <&dma JZ4780_DMA_MSC0_TX 0xffffffff>;
40 dma-names = "rx", "tx";
41};