Allwinner A10 MMC Controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/allwinner,sun4i-a10-mmc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mmc-controller.yaml
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#address-cells — not listed as required here #
true — No constraints added by this property rule.
#size-cells — not listed as required here #
true — No constraints added by this property rule.
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun4i-a10-mmc"
Rule 2
Exact value (
const):"allwinner,sun5i-a13-mmc"
Rule 3
Exact value (
const):"allwinner,sun7i-a20-mmc"
Rule 4
Exact value (
const):"allwinner,sun8i-a83t-emmc"
Rule 5
Exact value (
const):"allwinner,sun9i-a80-mmc"
Rule 6
Exact value (
const):"allwinner,sun20i-d1-mmc"
Rule 7
Exact value (
const):"allwinner,sun50i-a64-emmc"
Rule 8
Exact value (
const):"allwinner,sun50i-a64-mmc"
Rule 9
Exact value (
const):"allwinner,sun50i-a100-emmc"
Rule 10
Exact value (
const):"allwinner,sun50i-a100-mmc"
Rule 11
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun8i-a83t-mmc","allwinner,suniv-f1c100s-mmc"Item 2
Exact value (
const):"allwinner,sun7i-a20-mmc"
Rule 12
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun8i-r40-emmc","allwinner,sun50i-h5-emmc","allwinner,sun50i-h6-emmc"Item 2
Exact value (
const):"allwinner,sun50i-a64-emmc"
Rule 13
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun8i-r40-mmc","allwinner,sun50i-h5-mmc","allwinner,sun50i-h6-mmc"Item 2
Exact value (
const):"allwinner,sun50i-a64-mmc"
Rule 14
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun20i-d1-emmc","allwinner,sun50i-h616-emmc","allwinner,sun55i-a523-emmc"Item 2
Exact value (
const):"allwinner,sun50i-a100-emmc"
Rule 15
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun50i-h616-mmc"Item 2
Exact value (
const):"allwinner,sun50i-a100-mmc"
Rule 16
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun55i-a523-mmc"Item 2
Exact value (
const):"allwinner,sun20i-d1-mmc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
Item 3
Output Clock
Item 4
Sample Clock
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"mmc"
Item 3
Exact value (
const):"output"
Item 4
Exact value (
const):"sample"
resets — not listed as required here #
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Exact value (const): "ahb"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mmc0: mmc@1c0f000 {
compatible = "allwinner,sun5i-a13-mmc";
reg = <0x01c0f000 0x1000>;
clocks = <&ahb_gates 8>, <&mmc0_clk>;
clock-names = "ahb", "mmc";
interrupts = <32>;
bus-width = <4>;
cd-gpios = <&pio 7 1 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0