1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rtc/marvell,armada-380-rtc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: RTC controller for the Armada 38x, 7K and 8K SoCs 8 9maintainers: 10 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 11 12allOf: 13 - $ref: rtc.yaml# 14 15properties: 16 compatible: 17 enum: 18 - marvell,armada-380-rtc 19 - marvell,armada-8k-rtc 20 21 reg: 22 items: 23 - description: RTC base address size 24 - description: Base address and size of SoC related registers 25 26 reg-names: 27 items: 28 - const: rtc 29 - const: rtc-soc 30 31 interrupts: 32 maxItems: 1 33 34required: 35 - compatible 36 - reg 37 - reg-names 38 - interrupts 39 40unevaluatedProperties: false 41 42examples: 43 - | 44 #include <dt-bindings/interrupt-controller/arm-gic.h> 45 46 rtc@a3800 { 47 compatible = "marvell,armada-380-rtc"; 48 reg = <0xa3800 0x20>, <0x184a0 0x0c>; 49 reg-names = "rtc", "rtc-soc"; 50 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 51 }; 52