Allwinner A80 MMC Configuration Clock

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-mmc-config-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

There is one clock/reset output per mmc controller. The number of outputs is determined by the size of the address block, which is related to the overall mmc block.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The additional ID argument passed to the clock shall refer to the index of the output.

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-mmc-config-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 4

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c13000 {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun9i-a80-mmc-config-clk";
    reg = <0x01c13000 0x10>;
    clocks = <&ahb0_gates 8>;
    resets = <&ahb0_resets 8>;
    clock-output-names = "mmc0_config", "mmc1_config",
                         "mmc2_config", "mmc3_config";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page