]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/mmc/renesas,mmcif.txt
ARM, locking/atomics: Implement _relaxed variants of atomic[64]_{inc,dec}
[karo-tx-linux.git] / Documentation / devicetree / bindings / mmc / renesas,mmcif.txt
1 * Renesas Multi Media Card Interface (MMCIF) Controller
2
3 This file documents differences between the core properties in mmc.txt
4 and the properties used by the MMCIF device.
5
6
7 Required properties:
8
9 - compatible: must contain one of the following
10         - "renesas,mmcif-r8a7740" for the MMCIF found in r8a7740 SoCs
11         - "renesas,mmcif-r8a7790" for the MMCIF found in r8a7790 SoCs
12         - "renesas,mmcif-r8a7791" for the MMCIF found in r8a7791 SoCs
13         - "renesas,sh-mmcif" for the generic MMCIF
14
15 - clocks: reference to the functional clock
16
17 - dmas: reference to the DMA channels, one per channel name listed in the
18   dma-names property.
19 - dma-names: must contain "tx" for the transmit DMA channel and "rx" for the
20   receive DMA channel.
21 - max-frequency: Maximum operating clock frequency, driver uses default clock
22   frequency if it is not set.
23
24
25 Example: R8A7790 (R-Car H2) MMCIF0
26
27         mmcif0: mmc@ee200000 {
28                 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
29                 reg = <0 0xee200000 0 0x80>;
30                 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
31                 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
32                 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
33                 dma-names = "tx", "rx";
34                 max-frequency = <97500000>;
35         };