BCM2835 System Timer
Schema identifier ($id): "http://devicetree.org/schemas/timer/brcm,bcm2835-system-timer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stefan Wahren <wahrenst@gmx.net>", "Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>"
The System Timer peripheral provides four 32-bit timer channels and a single 64-bit free running counter. Each channel has an output compare register, which is compared against the 32 least significant bits of the free running counter values, and generates an interrupt.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,bcm2835-system-timer"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
System Timer Compare 0 match (used by VideoCore GPU)
Item 2
System Timer Compare 1 match (usable for ARM core)
Item 3
System Timer Compare 2 match (used by VideoCore GPU)
Item 4
System Timer Compare 3 match (usable for ARM core)
clock-frequency — not listed as required here #
true — No constraints added by this property rule.
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) #
timer@7e003000 {
compatible = "brcm,bcm2835-system-timer";
reg = <0x7e003000 0x1000>;
interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
clock-frequency = <1000000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)