ARM Versatile Express SP810 System Controller

Schema identifier ($id): "http://devicetree.org/schemas/arm/sp810.yaml#"

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

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

The Arm SP810 system controller provides clocks, timers and a watchdog.

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "arm,sp810"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "arm,sp810"

Item 2

Exact value (const): "arm,primecell"

reg — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "refclk"

Item 2

Exact value (const): "timclk"

Item 3

Exact value (const): "apb_pclk"

clocks — required here #

Array item rules (items) #

Item 1

reference clock

Item 2

timer clock

Item 3

APB register access clock

#clock-cells — required here #

Exact value (const): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 4

assigned-clocks — not listed as required here #

Maximum number of items (maxItems): 4

assigned-clock-parents — not listed as required here #

Maximum number of items (maxItems): 4

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

false

Not allowed by this rule.

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

Examples (examples) #

sysctl@20000 {
    compatible = "arm,sp810", "arm,primecell";
    reg = <0x020000 0x1000>;
    clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&smbclk>;
    clock-names = "refclk", "timclk", "apb_pclk";
    #clock-cells = <1>;
    clock-output-names = "timerclken0", "timerclken1",
                         "timerclken2", "timerclken3";
    assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>,
                      <&v2m_sysctl 3>, <&v2m_sysctl 3>;
    assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>,
                             <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;
};

Source notes #

Annotations retained from the schema source

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

Line 15: We need a select here so we don't match all nodes with 'arm,primecell'

Edit this page