APM X-Gene Real Time Clock

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

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

Maintainers (maintainers): "Khuong Dinh <khuong@os.amperecomputing.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "apm,xgene-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

rtc@10510000 {
    compatible = "apm,xgene-rtc";
    reg = <0x10510000 0x400>;
    interrupts = <0x0 0x46 0x4>;
    #clock-cells = <1>;
    clocks = <&rtcclk 0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page