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 Device Tree Bindings 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 maxItems: 4 27 items: 28 items: 28 - description: Timer 0 Interrupt 29 - description: Timer 0 Interrupt 29 - description: Timer 1 Interrupt 30 - description: Timer 1 Interrupt 30 - description: Timer 2 Interrupt 31 - description: Timer 2 Interrupt 31 - description: Timer 3 Interrupt 32 - description: Timer 3 Interrupt 32 33 33 clocks: 34 clocks: 34 maxItems: 1 35 maxItems: 1 35 36 36 resets: 37 resets: 37 maxItems: 1 38 maxItems: 1 38 39 39 required: 40 required: 40 - compatible 41 - compatible 41 - reg 42 - reg 42 - interrupts 43 - interrupts 43 - clocks 44 - clocks 44 45 45 if: 46 if: 46 properties: 47 properties: 47 compatible: 48 compatible: 48 const: allwinner,sun5i-a13-hstimer !! 49 items: >> 50 const: allwinner,sun5i-a13-hstimer 49 51 50 then: 52 then: 51 properties: 53 properties: 52 interrupts: 54 interrupts: 53 minItems: 2 55 minItems: 2 54 maxItems: 2 56 maxItems: 2 55 57 56 else: 58 else: 57 properties: 59 properties: 58 interrupts: 60 interrupts: 59 minItems: 4 61 minItems: 4 60 maxItems: 4 62 maxItems: 4 61 63 62 additionalProperties: false 64 additionalProperties: false 63 65 64 examples: 66 examples: 65 - | 67 - | 66 timer@1c60000 { 68 timer@1c60000 { 67 compatible = "allwinner,sun7i-a20-hsti 69 compatible = "allwinner,sun7i-a20-hstimer"; 68 reg = <0x01c60000 0x1000>; 70 reg = <0x01c60000 0x1000>; 69 interrupts = <0 51 1>, 71 interrupts = <0 51 1>, 70 <0 52 1>, 72 <0 52 1>, 71 <0 53 1>, 73 <0 53 1>, 72 <0 54 1>; 74 <0 54 1>; 73 clocks = <&ahb1_gates 19>; 75 clocks = <&ahb1_gates 19>; 74 resets = <&ahb1rst 19>; 76 resets = <&ahb1rst 19>; 75 }; 77 }; 76 78 77 ... 79 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.