xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/ti,k3-rtc.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/rtc/ti,k3-rtc.yaml#
5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6b97ee269SEmmanuel Vadot
7b97ee269SEmmanuel Vadottitle: Texas Instruments K3 Real Time Clock
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadotmaintainers:
10b97ee269SEmmanuel Vadot  - Nishanth Menon <nm@ti.com>
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel Vadotdescription: |
13b97ee269SEmmanuel Vadot  This RTC appears in the AM62x family of SoCs.
14b97ee269SEmmanuel Vadot
15b97ee269SEmmanuel VadotallOf:
16*fac71e4eSEmmanuel Vadot  - $ref: rtc.yaml#
17b97ee269SEmmanuel Vadot
18b97ee269SEmmanuel Vadotproperties:
19b97ee269SEmmanuel Vadot  compatible:
20b97ee269SEmmanuel Vadot    enum:
21b97ee269SEmmanuel Vadot      - ti,am62-rtc
22b97ee269SEmmanuel Vadot
23b97ee269SEmmanuel Vadot  reg:
24b97ee269SEmmanuel Vadot    maxItems: 1
25b97ee269SEmmanuel Vadot
26b97ee269SEmmanuel Vadot  interrupts:
27b97ee269SEmmanuel Vadot    maxItems: 1
28b97ee269SEmmanuel Vadot
29b97ee269SEmmanuel Vadot  clocks:
30b97ee269SEmmanuel Vadot    items:
31b97ee269SEmmanuel Vadot      - description: VBUS Interface clock
32b97ee269SEmmanuel Vadot      - description: 32k Clock source (external or internal).
33b97ee269SEmmanuel Vadot
34b97ee269SEmmanuel Vadot  clock-names:
35b97ee269SEmmanuel Vadot    items:
36b97ee269SEmmanuel Vadot      - const: vbus
37b97ee269SEmmanuel Vadot      - const: osc32k
38b97ee269SEmmanuel Vadot
39b97ee269SEmmanuel Vadot  power-domains:
40b97ee269SEmmanuel Vadot    maxItems: 1
41b97ee269SEmmanuel Vadot
42b97ee269SEmmanuel Vadotrequired:
43b97ee269SEmmanuel Vadot  - compatible
44b97ee269SEmmanuel Vadot  - reg
45b97ee269SEmmanuel Vadot  - interrupts
46b97ee269SEmmanuel Vadot  - clocks
47b97ee269SEmmanuel Vadot  - clock-names
48b97ee269SEmmanuel Vadot
49b97ee269SEmmanuel VadotunevaluatedProperties: false
50b97ee269SEmmanuel Vadot
51b97ee269SEmmanuel Vadotexamples:
52b97ee269SEmmanuel Vadot  - |
53b97ee269SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
54b97ee269SEmmanuel Vadot    rtc@2b1f0000 {
55b97ee269SEmmanuel Vadot        compatible = "ti,am62-rtc";
56b97ee269SEmmanuel Vadot        reg = <0x2b1f0000 0x100>;
57b97ee269SEmmanuel Vadot        interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
58b97ee269SEmmanuel Vadot        power-domains = <&bar 0>;
59b97ee269SEmmanuel Vadot        clocks = <&foo 0>, <&foo 1>;
60b97ee269SEmmanuel Vadot        clock-names = "vbus", "osc32k";
61b97ee269SEmmanuel Vadot        wakeup-source;
62b97ee269SEmmanuel Vadot    };
63