xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/brcm,brcmstb-waketimer.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/brcm,brcmstb-waketimer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom STB wake-up Timer
8
9maintainers:
10  - Florian Fainelli <f.fainelli@gmail.com>
11
12description:
13  The Broadcom STB wake-up timer provides a 27Mhz resolution timer, with the
14  ability to wake up the system from low-power suspend/standby modes and
15  optionally generate RTC alarm interrupts.
16
17allOf:
18  - $ref: rtc.yaml#
19
20properties:
21  compatible:
22    const: brcm,brcmstb-waketimer
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    minItems: 1
29    items:
30      - description: the TIMER interrupt
31      - description: the ALARM interrupt
32    description:
33      The TIMER interrupt wakes the system from low-power suspend/standby modes.
34      An ALARM interrupt may be specified to interrupt the CPU when an RTC alarm
35      is enabled.
36
37  clocks:
38    description: clock reference in the 27MHz domain
39    maxItems: 1
40
41additionalProperties: false
42
43examples:
44  - |
45    rtc@f041a080 {
46        compatible = "brcm,brcmstb-waketimer";
47        reg = <0xf041a080 0x14>;
48        interrupts-extended = <&aon_pm_l2_intc 0x04>,
49                              <&upg_aux_aon_intr2_intc 0x08>;
50        clocks = <&upg_fixed>;
51    };
52