1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/timer/allwi 4 $id: http://devicetree.org/schemas/timer/allwinner,sun5i-a13-hstimer.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner A13 High-Speed Timer 7 title: Allwinner A13 High-Speed Timer 8 8 9 maintainers: 9 maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 11 - Maxime Ripard <mripard@kernel.org> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 oneOf: 15 oneOf: 16 - const: allwinner,sun5i-a13-hstimer 16 - const: allwinner,sun5i-a13-hstimer 17 - const: allwinner,sun7i-a20-hstimer 17 - const: allwinner,sun7i-a20-hstimer 18 - items: 18 - items: 19 - const: allwinner,sun6i-a31-hstimer 19 - const: allwinner,sun6i-a31-hstimer 20 - const: allwinner,sun7i-a20-hstimer 20 - const: allwinner,sun7i-a20-hstimer 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 interrupts: 25 interrupts: 26 minItems: 2 26 minItems: 2 27 items: 27 items: 28 - description: Timer 0 Interrupt 28 - description: Timer 0 Interrupt 29 - description: Timer 1 Interrupt 29 - description: Timer 1 Interrupt 30 - description: Timer 2 Interrupt 30 - description: Timer 2 Interrupt 31 - description: Timer 3 Interrupt 31 - description: Timer 3 Interrupt 32 32 33 clocks: 33 clocks: 34 maxItems: 1 34 maxItems: 1 35 35 36 resets: 36 resets: 37 maxItems: 1 37 maxItems: 1 38 38 39 required: 39 required: 40 - compatible 40 - compatible 41 - reg 41 - reg 42 - interrupts 42 - interrupts 43 - clocks 43 - clocks 44 44 45 if: 45 if: 46 properties: 46 properties: 47 compatible: 47 compatible: 48 const: allwinner,sun5i-a13-hstimer 48 const: allwinner,sun5i-a13-hstimer 49 49 50 then: 50 then: 51 properties: 51 properties: 52 interrupts: 52 interrupts: 53 minItems: 2 53 minItems: 2 54 maxItems: 2 54 maxItems: 2 55 55 56 else: 56 else: 57 properties: 57 properties: 58 interrupts: 58 interrupts: 59 minItems: 4 59 minItems: 4 60 maxItems: 4 60 maxItems: 4 61 61 62 additionalProperties: false 62 additionalProperties: false 63 63 64 examples: 64 examples: 65 - | 65 - | 66 timer@1c60000 { 66 timer@1c60000 { 67 compatible = "allwinner,sun7i-a20-hsti 67 compatible = "allwinner,sun7i-a20-hstimer"; 68 reg = <0x01c60000 0x1000>; 68 reg = <0x01c60000 0x1000>; 69 interrupts = <0 51 1>, 69 interrupts = <0 51 1>, 70 <0 52 1>, 70 <0 52 1>, 71 <0 53 1>, 71 <0 53 1>, 72 <0 54 1>; 72 <0 54 1>; 73 clocks = <&ahb1_gates 19>; 73 clocks = <&ahb1_gates 19>; 74 resets = <&ahb1rst 19>; 74 resets = <&ahb1rst 19>; 75 }; 75 }; 76 76 77 ... 77 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.