RTC controller for the Armada 38x, 7K and 8K SoCs

Schema identifier ($id): "http://devicetree.org/schemas/rtc/marvell,armada-380-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 #

Allowed values (enum): "marvell,armada-380-rtc", "marvell,armada-8k-rtc"

reg — required here #

Array item rules (items) #

Item 1

RTC base address size

Item 2

Base address and size of SoC related registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "rtc-soc"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

rtc@a3800 {
    compatible = "marvell,armada-380-rtc";
    reg = <0xa3800 0x20>, <0x184a0 0x0c>;
    reg-names = "rtc", "rtc-soc";
    interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page