Alphascale asm9260 SoC Real Time Clock

Schema identifier ($id): "http://devicetree.org/schemas/rtc/alphascale,asm9260-rtc.yaml#"

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "alphascale,asm9260-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "ahb"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/alphascale,asm9260.h>

rtc@800a0000 {
    compatible = "alphascale,asm9260-rtc";
    reg = <0x800a0000 0x100>;
    clocks = <&acc CLKID_AHB_RTC>;
    clock-names = "ahb";
    interrupts = <2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page