Broadcom STB wake-up Timer

Schema identifier ($id): "http://devicetree.org/schemas/rtc/brcm,brcmstb-waketimer.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"

The Broadcom STB wake-up timer provides a 27Mhz resolution timer, with the ability to wake up the system from low-power suspend/standby modes and optionally generate RTC alarm interrupts.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "brcm,brcmstb-waketimer"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

the TIMER interrupt

Item 2

the ALARM interrupt

The TIMER interrupt wakes the system from low-power suspend/standby modes. An ALARM interrupt may be specified to interrupt the CPU when an RTC alarm is enabled.

clocks — not listed as required here #

clock reference in the 27MHz domain

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

rtc@f041a080 {
    compatible = "brcm,brcmstb-waketimer";
    reg = <0xf041a080 0x14>;
    interrupts-extended = <&aon_pm_l2_intc 0x04>,
                          <&upg_aux_aon_intr2_intc 0x08>;
    clocks = <&upg_fixed>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page