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