Realtek Otto SoCs Timer/Counter
Schema identifier ($id): "http://devicetree.org/schemas/timer/realtek,otto-timer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Realtek SoCs support a number of timers/counters. These are used as a per CPU clock event generator and an overall CPU clocksource.
Maintainers (maintainers): "Chris Packham <chris.packham@alliedtelesis.co.nz>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^timer@[0-9a-f]+$"
compatible — required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"realtek,otto-timer"
reg — required here #
Array item rules (items) #
Item 1
timer0 registers
Item 2
timer1 registers
Item 3
timer2 registers
Item 4
timer3 registers
Item 5
timer4 registers
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
timer0 interrupt
Item 2
timer1 interrupt
Item 3
timer2 interrupt
Item 4
timer3 interrupt
Item 5
timer4 interrupt
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
timer@3200 {
compatible = "realtek,rtl9302-timer", "realtek,otto-timer";
reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>,
<0x3230 0x10>, <0x3240 0x10>;
interrupt-parent = <&intc>;
interrupts = <7>, <8>, <9>, <10>, <11>;
clocks = <&lx_clk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)