Freescale Enhanced Secure Digital Host Controller (eSDHC)
Schema identifier ($id): "http://devicetree.org/schemas/mmc/fsl,esdhc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Enhanced Secure Digital Host Controller provides an interface for MMC, SD, and SDIO types of memory cards.
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"fsl,mpc8536-esdhc","fsl,mpc8378-esdhc","fsl,p2020-esdhc","fsl,p4080-esdhc","fsl,t1040-esdhc","fsl,t4240-esdhc","fsl,ls1012a-esdhc","fsl,ls1021a-esdhc","fsl,ls1028a-esdhc","fsl,ls1088a-esdhc","fsl,ls1043a-esdhc","fsl,ls1046a-esdhc","fsl,ls2080a-esdhc"
Item 2
Exact value (
const):"fsl,esdhc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
specifies eSDHC base clock frequency.
sdhci,wp-inverted — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Deprecated (deprecated): true
specifies that eSDHC controller reports inverted write-protect state; New devices should use the generic "wp-inverted" property.
sdhci,1-bit-only — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Deprecated (deprecated): true
specifies that a controller can only handle 1-bit data transfers. New devices should use the generic "bus-width = <1>" property.
sdhci,auto-cmd12 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
specifies that a controller can only handle auto CMD12.
voltage-ranges — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Array item rules (items) #
Array item rules (
items)Item 1
specifies minimum slot voltage (mV).
Item 2
specifies maximum slot voltage (mV).
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
little-endian — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If the host controller is little-endian mode, specify this property. The default endian mode is big-endian.
Required in this object (required): "compatible", "reg", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):sdhci-common.yaml#
Rule 2 #
Shared schema rule (
$ref):mmc-controller-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mmc@2e000 {
compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
reg = <0x2e000 0x1000>;
interrupts = <42 0x8>;
interrupt-parent = <&ipic>;
/* Filled in by U-Boot */
clock-frequency = <100000000>;
voltage-ranges = <3300 3300>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)