Broadcom Kona family timer

Schema identifier ($id): "http://devicetree.org/schemas/timer/brcm,kona-timer.yaml#"

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

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "brcm,kona-timer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

true — No constraints added by this property rule.

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "clocks"

Rule 2 #

Required in this object (required): "clock-frequency"

Required in this object (required): "compatible", "reg", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/bcm281xx.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

timer@35006000 {
    compatible = "brcm,kona-timer";
    reg = <0x35006000 0x1000>;
    interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&aon_ccu BCM281XX_AON_CCU_HUB_TIMER>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page