1* Renesas Multi Media Card Interface (MMCIF) Controller 2 3This file documents differences between the core properties in mmc.txt 4and the properties used by the MMCIF device. 5 6 7Required properties: 8 9- compatible: should be "renesas,mmcif-<soctype>", "renesas,sh-mmcif" as a 10 fallback. Examples with <soctype> are: 11 - "renesas,mmcif-r7s72100" for the MMCIF found in r7s72100 SoCs 12 - "renesas,mmcif-r8a73a4" for the MMCIF found in r8a73a4 SoCs 13 - "renesas,mmcif-r8a7740" for the MMCIF found in r8a7740 SoCs 14 - "renesas,mmcif-r8a7743" for the MMCIF found in r8a7743 SoCs 15 - "renesas,mmcif-r8a7744" for the MMCIF found in r8a7744 SoCs 16 - "renesas,mmcif-r8a7745" for the MMCIF found in r8a7745 SoCs 17 - "renesas,mmcif-r8a7778" for the MMCIF found in r8a7778 SoCs 18 - "renesas,mmcif-r8a7790" for the MMCIF found in r8a7790 SoCs 19 - "renesas,mmcif-r8a7791" for the MMCIF found in r8a7791 SoCs 20 - "renesas,mmcif-r8a7793" for the MMCIF found in r8a7793 SoCs 21 - "renesas,mmcif-r8a7794" for the MMCIF found in r8a7794 SoCs 22 - "renesas,mmcif-sh73a0" for the MMCIF found in sh73a0 SoCs 23 24- interrupts: Some SoCs have only 1 shared interrupt, while others have either 25 2 or 3 individual interrupts (error, int, card detect). Below is the number 26 of interrupts for each SoC: 27 1: r8a73a4, r8a7743, r8a7744, r8a7745, r8a7778, r8a7790, r8a7791, r8a7793, 28 r8a7794 29 2: r8a7740, sh73a0 30 3: r7s72100 31 32- clocks: reference to the functional clock 33 34- dmas: reference to the DMA channels, one per channel name listed in the 35 dma-names property. 36- dma-names: must contain "tx" for the transmit DMA channel and "rx" for the 37 receive DMA channel. 38- max-frequency: Maximum operating clock frequency, driver uses default clock 39 frequency if it is not set. 40 41 42Example: R8A7790 (R-Car H2) MMCIF0 43 44 mmcif0: mmc@ee200000 { 45 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif"; 46 reg = <0 0xee200000 0 0x80>; 47 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; 48 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>; 49 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>; 50 dma-names = "tx", "rx"; 51 max-frequency = <97500000>; 52 }; 53