78 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/timer/allwinner,sun5i-a13-hstimer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A13 High-Speed Timer8 9maintainers:10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>12 13properties:14 compatible:15 oneOf:16 - const: allwinner,sun5i-a13-hstimer17 - const: allwinner,sun7i-a20-hstimer18 - items:19 - const: allwinner,sun6i-a31-hstimer20 - const: allwinner,sun7i-a20-hstimer21 22 reg:23 maxItems: 124 25 interrupts:26 minItems: 227 items:28 - description: Timer 0 Interrupt29 - description: Timer 1 Interrupt30 - description: Timer 2 Interrupt31 - description: Timer 3 Interrupt32 33 clocks:34 maxItems: 135 36 resets:37 maxItems: 138 39required:40 - compatible41 - reg42 - interrupts43 - clocks44 45if:46 properties:47 compatible:48 const: allwinner,sun5i-a13-hstimer49 50then:51 properties:52 interrupts:53 minItems: 254 maxItems: 255 56else:57 properties:58 interrupts:59 minItems: 460 maxItems: 461 62additionalProperties: false63 64examples:65 - |66 timer@1c60000 {67 compatible = "allwinner,sun7i-a20-hstimer";68 reg = <0x01c60000 0x1000>;69 interrupts = <0 51 1>,70 <0 52 1>,71 <0 53 1>,72 <0 54 1>;73 clocks = <&ahb1_gates 19>;74 resets = <&ahb1rst 19>;75 };76 77...78