Freescale Secure Digital Host Controller for i.MX2/3 series
Schema identifier ($id): "http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Markus Pargmann <mpa@pengutronix.de>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mmc-controller.yaml
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fsl,imx21-mmc"
Rule 2
Exact value (
const):"fsl,imx31-mmc"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx27-mmc"Item 2
Exact value (
const):"fsl,imx21-mmc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"per"
interrupts — required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Maximum number of items (maxItems): 1
dma-names — not listed as required here #
Exact value (const): "rx-tx"
Required in this object (required): "clocks", "clock-names", "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mmc@10014000 {
compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
reg = <0x10014000 0x1000>;
interrupts = <11>;
clocks = <&clks 29>, <&clks 60>;
clock-names = "ipg", "per";
dmas = <&dma 7>;
dma-names = "rx-tx";
bus-width = <4>;
cd-gpios = <&gpio3 29>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)