2014-07-16 06:45:11 +08:00
|
|
|
* Renesas Multi Media Card Interface (MMCIF) Controller
|
|
|
|
|
|
|
|
This file documents differences between the core properties in mmc.txt
|
|
|
|
and the properties used by the MMCIF device.
|
|
|
|
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
2015-10-16 06:39:39 +08:00
|
|
|
- compatible: should be "renesas,mmcif-<soctype>", "renesas,sh-mmcif" as a
|
|
|
|
fallback. Examples with <soctype> are:
|
2017-03-22 22:42:09 +08:00
|
|
|
- "renesas,mmcif-r7s72100" for the MMCIF found in r7s72100 SoCs
|
2016-11-25 15:56:14 +08:00
|
|
|
- "renesas,mmcif-r8a73a4" for the MMCIF found in r8a73a4 SoCs
|
2014-07-16 06:45:11 +08:00
|
|
|
- "renesas,mmcif-r8a7740" for the MMCIF found in r8a7740 SoCs
|
2017-07-12 18:03:23 +08:00
|
|
|
- "renesas,mmcif-r8a7743" for the MMCIF found in r8a7743 SoCs
|
2018-09-26 01:27:24 +08:00
|
|
|
- "renesas,mmcif-r8a7744" for the MMCIF found in r8a7744 SoCs
|
2017-08-16 00:53:27 +08:00
|
|
|
- "renesas,mmcif-r8a7745" for the MMCIF found in r8a7745 SoCs
|
2016-11-25 15:56:14 +08:00
|
|
|
- "renesas,mmcif-r8a7778" for the MMCIF found in r8a7778 SoCs
|
2014-07-16 06:45:11 +08:00
|
|
|
- "renesas,mmcif-r8a7790" for the MMCIF found in r8a7790 SoCs
|
|
|
|
- "renesas,mmcif-r8a7791" for the MMCIF found in r8a7791 SoCs
|
2015-10-28 00:56:31 +08:00
|
|
|
- "renesas,mmcif-r8a7793" for the MMCIF found in r8a7793 SoCs
|
2015-10-16 06:40:16 +08:00
|
|
|
- "renesas,mmcif-r8a7794" for the MMCIF found in r8a7794 SoCs
|
2016-11-25 15:56:14 +08:00
|
|
|
- "renesas,mmcif-sh73a0" for the MMCIF found in sh73a0 SoCs
|
2014-07-16 06:45:11 +08:00
|
|
|
|
2017-03-22 22:42:09 +08:00
|
|
|
- interrupts: Some SoCs have only 1 shared interrupt, while others have either
|
|
|
|
2 or 3 individual interrupts (error, int, card detect). Below is the number
|
|
|
|
of interrupts for each SoC:
|
2018-09-26 01:27:24 +08:00
|
|
|
1: r8a73a4, r8a7743, r8a7744, r8a7745, r8a7778, r8a7790, r8a7791, r8a7793,
|
|
|
|
r8a7794
|
2017-03-22 22:42:09 +08:00
|
|
|
2: r8a7740, sh73a0
|
|
|
|
3: r7s72100
|
|
|
|
|
2014-07-16 06:45:11 +08:00
|
|
|
- clocks: reference to the functional clock
|
|
|
|
|
|
|
|
- dmas: reference to the DMA channels, one per channel name listed in the
|
|
|
|
dma-names property.
|
|
|
|
- dma-names: must contain "tx" for the transmit DMA channel and "rx" for the
|
|
|
|
receive DMA channel.
|
2015-05-14 15:22:46 +08:00
|
|
|
- max-frequency: Maximum operating clock frequency, driver uses default clock
|
|
|
|
frequency if it is not set.
|
2014-07-16 06:45:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
Example: R8A7790 (R-Car H2) MMCIF0
|
|
|
|
|
|
|
|
mmcif0: mmc@ee200000 {
|
|
|
|
compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
|
|
|
|
reg = <0 0xee200000 0 0x80>;
|
|
|
|
interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
|
|
|
|
dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
|
|
|
|
dma-names = "tx", "rx";
|
2015-05-14 15:22:46 +08:00
|
|
|
max-frequency = <97500000>;
|
2014-07-16 06:45:11 +08:00
|
|
|
};
|