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