WonderMedia SoC SDHCI Controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/wm,wm8505-sdhc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexey Charkov <alchark@gmail.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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"wm,wm8505-sdhc"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"wm,wm8650-sdhc"Item 2
Exact value (
const):"wm,wm8505-sdhc"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"wm,wm8750-sdhc"Item 2
Exact value (
const):"wm,wm8505-sdhc"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"wm,wm8850-sdhc"Item 2
Exact value (
const):"wm,wm8505-sdhc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
SDMMC controller interrupt
Item 2
SDMMC controller DMA interrupt
sdon-inverted — not listed as required here #
Value type (type): "boolean"
All chips before (not including) WM8505 rev. A2 treated their "clock stop" bit (register offset 0x08 a.k.a. SDMMC_BUSMODE, bit 0x10) as "set 1 to disable SD clock", while all the later versions treated it as "set 0 to disable SD clock". Set this property for later versions of wm,wm8505-sdhc. On wm,wm8650-sdhc and later this property is implied and does not need to be set explicitly
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mmc@d800a000 {
compatible = "wm,wm8505-sdhc";
reg = <0xd800a000 0x1000>;
interrupts = <20>, <21>;
clocks = <&sdhc>;
bus-width = <4>;
sdon-inverted;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause