Allwinner A523 Clock Control Unit

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun55i-a523-ccu.yaml#"

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

Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "allwinner,sun55i-a523-ccu", "allwinner,sun55i-a523-mcu-ccu", "allwinner,sun55i-a523-r-ccu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 9

clock-names — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 9

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun55i-a523-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

High Frequency Oscillator (usually at 24MHz)

Item 2

Low Frequency Oscillator (usually at 32kHz)

Item 3

Internal Oscillator

Item 4

Low Frequency Oscillator fanout

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

Item 3

Exact value (const): "iosc"

Item 4

Exact value (const): "losc-fanout"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun55i-a523-mcu-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

High Frequency Oscillator (usually at 24MHz)

Item 2

Low Frequency Oscillator (usually at 32kHz)

Item 3

Internal Oscillator

Item 4

Audio PLL (4x)

Item 5

Peripherals PLL 0 (300 MHz output)

Item 6

DSP module clock

Item 7

MBUS clock

Item 8

PRCM AHB clock

Item 9

PRCM APB0 clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

Item 3

Exact value (const): "iosc"

Item 4

Exact value (const): "pll-audio0-4x"

Item 5

Exact value (const): "pll-periph0-300m"

Item 6

Exact value (const): "dsp"

Item 7

Exact value (const): "mbus"

Item 8

Exact value (const): "r-ahb"

Item 9

Exact value (const): "r-apb0"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun55i-a523-r-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

High Frequency Oscillator (usually at 24MHz)

Item 2

Low Frequency Oscillator (usually at 32kHz)

Item 3

Internal Oscillator

Item 4

Peripherals PLL

Item 5

Audio PLL

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

Item 3

Exact value (const): "iosc"

Item 4

Exact value (const): "pll-periph"

Item 5

Exact value (const): "pll-audio"

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@2001000 {
    compatible = "allwinner,sun55i-a523-ccu";
    reg = <0x02001000 0x1000>;
    clocks = <&osc24M>, <&osc32k>, <&iosc>, <&r_ccu 1>;
    clock-names = "hosc", "losc", "iosc", "losc-fanout";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page