Atmel Slow Clock Controller (SCKC)

Schema identifier ($id): "http://devicetree.org/schemas/clock/atmel,at91sam9x5-sckc.yaml#"

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

Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea@microchip.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "atmel,at91sam9x5-sckc", "atmel,sama5d3-sckc", "atmel,sama5d4-sckc", "microchip,sam9x60-sckc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x7-sckc", "microchip,sama7d65-sckc", "microchip,sama7g5-sckc"

Item 2

Exact value (const): "microchip,sam9x60-sckc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Allowed values (enum): 0, 1

atmel,osc-bypass — not listed as required here #

Value type (type): "boolean"

set when a clock signal is directly provided on XIN

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

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)

Allowed values (enum): "microchip,sam9x60-sckc"

When the condition matches (then) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 1

When the condition does not match (else) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

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

false

Not allowed by this rule.

Examples (examples) #

clk32k: clock-controller@fffffe50 {
    compatible = "microchip,sam9x60-sckc";
    reg = <0xfffffe50 0x4>;
    clocks = <&slow_xtal>;
    #clock-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