Commit | Line | Data |
---|---|---|
b4c27763 LP |
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 | ||
76d63c2b SS |
9 | - compatible: should be "renesas,mmcif-<soctype>", "renesas,sh-mmcif" as a |
10 | fallback. Examples with <soctype> are: | |
b4c27763 LP |
11 | - "renesas,mmcif-r8a7740" for the MMCIF found in r8a7740 SoCs |
12 | - "renesas,mmcif-r8a7790" for the MMCIF found in r8a7790 SoCs | |
13 | - "renesas,mmcif-r8a7791" for the MMCIF found in r8a7791 SoCs | |
3373cbf0 | 14 | - "renesas,mmcif-r8a7793" for the MMCIF found in r8a7793 SoCs |
a599579e | 15 | - "renesas,mmcif-r8a7794" for the MMCIF found in r8a7794 SoCs |
b4c27763 LP |
16 | |
17 | - clocks: reference to the functional clock | |
18 | ||
19 | - dmas: reference to the DMA channels, one per channel name listed in the | |
20 | dma-names property. | |
21 | - dma-names: must contain "tx" for the transmit DMA channel and "rx" for the | |
22 | receive DMA channel. | |
89d49a70 KM |
23 | - max-frequency: Maximum operating clock frequency, driver uses default clock |
24 | frequency if it is not set. | |
b4c27763 LP |
25 | |
26 | ||
27 | Example: R8A7790 (R-Car H2) MMCIF0 | |
28 | ||
29 | mmcif0: mmc@ee200000 { | |
30 | compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif"; | |
31 | reg = <0 0xee200000 0 0x80>; | |
32 | interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; | |
33 | clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>; | |
34 | dmas = <&dmac0 0xd1>, <&dmac0 0xd2>; | |
35 | dma-names = "tx", "rx"; | |
89d49a70 | 36 | max-frequency = <97500000>; |
b4c27763 | 37 | }; |