1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/timer/allwinner,sun4i-a10-timer.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Allwinner A10 Timer Device Tree Bindings 8 9maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 12 13properties: 14 compatible: 15 enum: 16 - allwinner,sun4i-a10-timer 17 - allwinner,sun8i-a23-timer 18 - allwinner,sun8i-v3s-timer 19 - allwinner,suniv-f1c100s-timer 20 21 reg: 22 maxItems: 1 23 24 interrupts: 25 description: 26 List of timers interrupts 27 28 clocks: 29 maxItems: 1 30 31allOf: 32 - if: 33 properties: 34 compatible: 35 items: 36 const: allwinner,sun4i-a10-timer 37 38 then: 39 properties: 40 interrupts: 41 minItems: 6 42 maxItems: 6 43 44 - if: 45 properties: 46 compatible: 47 items: 48 const: allwinner,sun8i-a23-timer 49 50 then: 51 properties: 52 interrupts: 53 minItems: 2 54 maxItems: 2 55 56 - if: 57 properties: 58 compatible: 59 items: 60 const: allwinner,sun8i-v3s-timer 61 62 then: 63 properties: 64 interrupts: 65 minItems: 3 66 maxItems: 3 67 68 - if: 69 properties: 70 compatible: 71 items: 72 const: allwinner,suniv-f1c100s-timer 73 74 then: 75 properties: 76 interrupts: 77 minItems: 3 78 maxItems: 3 79 80required: 81 - compatible 82 - reg 83 - interrupts 84 - clocks 85 86additionalProperties: false 87 88examples: 89 - | 90 timer@1c20c00 { 91 compatible = "allwinner,sun4i-a10-timer"; 92 reg = <0x01c20c00 0x400>; 93 interrupts = <22>, 94 <23>, 95 <24>, 96 <25>, 97 <67>, 98 <68>; 99 clocks = <&osc>; 100 }; 101 102... 103