Renesas Multi Media Card Interface (MMCIF) Controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/renesas,mmcif.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mmc-controller.yaml
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,mmcif-r7s72100","renesas,mmcif-r8a73a4","renesas,mmcif-r8a7740","renesas,mmcif-r8a7742","renesas,mmcif-r8a7743","renesas,mmcif-r8a7744","renesas,mmcif-r8a7745","renesas,mmcif-r8a7778","renesas,mmcif-r8a7790","renesas,mmcif-r8a7791","renesas,mmcif-r8a7793","renesas,mmcif-r8a7794","renesas,mmcif-sh73a0"
Item 2
Exact value (
const):"renesas,sh-mmcif"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
true — No constraints added by this property rule.
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Must contain a list of pairs of references to DMA specifiers, one for transmission, and one for reception.
dma-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items) #
max-frequency — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"renesas,mmcif-r7s72100"
When the condition matches (then) #
Properties and child nodes (
properties) #
interrupts— not listed as required here #Array item rules (
items)Item 1
Error interrupt
Item 2
Normal operation interrupt
Item 3
Card detection interrupt
When the condition does not match (else) #
Condition (
if) #Properties and child nodes (
properties) #
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,mmcif-r8a7740","renesas,mmcif-sh73a0"When the condition matches (
then) #Properties and child nodes (
properties) #
interrupts— not listed as required hereArray item rules (
items)Item 1
Error interrupt
Item 2
Normal operation interrupt
When the condition does not match (
else) #Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,mmcif-r8a73a4","renesas,mmcif-r8a7778"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7790-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
mmcif0: mmc@ee200000 {
compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
reg = <0xee200000 0x80>;
interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 315>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 315>;
dmas = <&dmac0 0xd1>, <&dmac0 0xd2>, <&dmac1 0xd1>, <&dmac1 0xd2>;
dma-names = "tx", "rx", "tx", "rx";
max-frequency = <97500000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 19: RZ/A1H
Line 20: R-Mobile APE6
Line 21: R-Mobile A1
Line 22: RZ/G1H
Line 23: RZ/G1M
Line 24: RZ/G1N
Line 25: RZ/G1E
Line 26: R-Car M1A
Line 27: R-Car H2
Line 28: R-Car M2-W
Line 29: R-Car M2-N
Line 30: R-Car E2
Line 31: SH-Mobile AG5