0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rtc/ti,k3-rtc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Texas Instruments K3 Real Time Clock
0008
0009 maintainers:
0010 - Nishanth Menon <nm@ti.com>
0011
0012 description: |
0013 This RTC appears in the AM62x family of SoCs.
0014
0015 allOf:
0016 - $ref: "rtc.yaml#"
0017
0018 properties:
0019 compatible:
0020 enum:
0021 - ti,am62-rtc
0022
0023 reg:
0024 maxItems: 1
0025
0026 interrupts:
0027 maxItems: 1
0028
0029 clocks:
0030 items:
0031 - description: VBUS Interface clock
0032 - description: 32k Clock source (external or internal).
0033
0034 clock-names:
0035 items:
0036 - const: vbus
0037 - const: osc32k
0038
0039 power-domains:
0040 maxItems: 1
0041
0042 required:
0043 - compatible
0044 - reg
0045 - interrupts
0046 - clocks
0047 - clock-names
0048
0049 unevaluatedProperties: false
0050
0051 examples:
0052 - |
0053 #include <dt-bindings/interrupt-controller/arm-gic.h>
0054 rtc@2b1f0000 {
0055 compatible = "ti,am62-rtc";
0056 reg = <0x2b1f0000 0x100>;
0057 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
0058 power-domains = <&bar 0>;
0059 clocks = <&foo 0>, <&foo 1>;
0060 clock-names = "vbus", "osc32k";
0061 wakeup-source;
0062 };