64 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/timer/realtek,otto-timer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Realtek Otto SoCs Timer/Counter8 9description:10 Realtek SoCs support a number of timers/counters. These are used11 as a per CPU clock event generator and an overall CPU clocksource.12 13maintainers:14 - Chris Packham <chris.packham@alliedtelesis.co.nz>15 16properties:17 $nodename:18 pattern: "^timer@[0-9a-f]+$"19 20 compatible:21 items:22 - enum:23 - realtek,rtl9302-timer24 - const: realtek,otto-timer25 26 reg:27 items:28 - description: timer0 registers29 - description: timer1 registers30 - description: timer2 registers31 - description: timer3 registers32 - description: timer4 registers33 34 clocks:35 maxItems: 136 37 interrupts:38 items:39 - description: timer0 interrupt40 - description: timer1 interrupt41 - description: timer2 interrupt42 - description: timer3 interrupt43 - description: timer4 interrupt44 45required:46 - compatible47 - reg48 - clocks49 - interrupts50 51additionalProperties: false52 53examples:54 - |55 timer@3200 {56 compatible = "realtek,rtl9302-timer", "realtek,otto-timer";57 reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>,58 <0x3230 0x10>, <0x3240 0x10>;59 60 interrupt-parent = <&intc>;61 interrupts = <7>, <8>, <9>, <10>, <11>;62 clocks = <&lx_clk>;63 };64