52 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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 SoCs8 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-rtc19 - marvell,armada-8k-rtc20 21 reg:22 items:23 - description: RTC base address size24 - description: Base address and size of SoC related registers25 26 reg-names:27 items:28 - const: rtc29 - const: rtc-soc30 31 interrupts:32 maxItems: 133 34required:35 - compatible36 - reg37 - reg-names38 - interrupts39 40unevaluatedProperties: false41 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