Debian Codegraph @

Documentation/devicetree/bindings/rtc/marvell,armada-380-rtc.yaml

raw
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
7 title: RTC controller for the Armada 38x, 7K and 8K SoCs
8
9 maintainers:
10 - Javier Carrasco <[email protected]>
11
12 allOf:
13 - $ref: rtc.yaml#
14
15 properties:
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
34 required:
35 - compatible
36 - reg
37 - reg-names
38 - interrupts
39
40 unevaluatedProperties: false
41
42 examples:
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 };