Allwinner A10 AHB Clock

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ahb-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

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-ahb-clk", "allwinner,sun6i-a31-ahb1-clk", "allwinner,sun8i-h3-ahb2-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun4i-a10-ahb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-ahb1-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 4

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-h3-ahb2-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 2

Examples (examples) #

ahb@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-ahb-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&axi>;
    clock-output-names = "ahb";
};
ahb1@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun6i-a31-ahb1-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&osc32k>, <&osc24M>, <&axi>, <&pll6 0>;
    clock-output-names = "ahb1";
};
ahb2_clk@1c2005c {
    #clock-cells = <0>;
    compatible = "allwinner,sun8i-h3-ahb2-clk";
    reg = <0x01c2005c 0x4>;
    clocks = <&ahb1>, <&pll6d2>;
    clock-output-names = "ahb2";
};

Source notes #

Annotations retained from the schema source

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

Edit this page