Allwinner A10 USB Clock

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

Allowed values (enum): "allwinner,sun4i-a10-usb-clk", "allwinner,sun5i-a13-usb-clk", "allwinner,sun6i-a31-usb-clk", "allwinner,sun8i-a23-usb-clk", "allwinner,sun8i-h3-usb-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 8

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.

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-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 3

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,sun5i-a13-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 2

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,sun6i-a31-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 6

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-a23-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 5

Rule 5 #

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-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 8

Examples (examples) #

clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun4i-a10-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&pll6 1>;
    clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun5i-a13-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&pll6 1>;
    clock-output-names = "usb_ohci0", "usb_phy";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun6i-a31-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "usb_phy0", "usb_phy1", "usb_phy2",
                         "usb_ohci0", "usb_ohci1",
                         "usb_ohci2";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun8i-a23-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "usb_phy0", "usb_phy1", "usb_hsic",
                         "usb_hsic_12M", "usb_ohci0";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun8i-h3-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "usb_phy0", "usb_phy1",
                         "usb_phy2", "usb_phy3",
                         "usb_ohci0", "usb_ohci1",
                         "usb_ohci2", "usb_ohci3";
};

Source notes #

Annotations retained from the schema source

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

Edit this page