Lines Matching +full:timer +full:- +full:pwm
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/microchip/atmel,at91rm9200-tcb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Atmel Timer Counter Block
10 - Alexandre Belloni <[email protected]>
13 The Atmel (now Microchip) SoCs have timers named Timer Counter Block. Each
14 timer has three channels with two counters each.
19 - items:
20 - enum:
21 - atmel,at91rm9200-tcb
22 - atmel,at91sam9x5-tcb
23 - atmel,sama5d2-tcb
24 - const: simple-mfd
25 - const: syscon
26 - items:
27 - const: microchip,sam9x7-tcb
28 - const: atmel,sama5d2-tcb
29 - const: simple-mfd
30 - const: syscon
42 clock-names:
53 '#address-cells':
56 '#size-cells':
60 "^timer@[0-2]$":
61 description: The timer block channels that are used as timers or counters.
67 - enum:
68 - atmel,tcb-timer
69 - atmel,tcb-pwm
70 - microchip,tcb-capture
73 List of channels to use for this particular timer. In Microchip TCB capture
80 - compatible
81 - reg
83 "^pwm@[0-2]$":
84 description: The timer block channels that are used as PWMs.
85 $ref: /schemas/pwm/pwm.yaml#
89 const: atmel,tcb-pwm
92 TCB channel to use for this PWM.
95 "#pwm-cells":
102 - compatible
103 - reg
104 - "#pwm-cells"
110 - if:
114 const: atmel,sama5d2-tcb
120 clock-names:
122 - const: t0_clk
123 - const: gclk
124 - const: slow_clk
130 clock-names:
132 - items:
133 - const: t0_clk
134 - const: slow_clk
135 - items:
136 - const: t0_clk
137 - const: t1_clk
138 - const: t2_clk
139 - const: slow_clk
142 - compatible
143 - reg
144 - interrupts
145 - clocks
146 - clock-names
147 - '#address-cells'
148 - '#size-cells'
153 - |
155 tcb0: timer@fff7c000 {
156 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
157 #address-cells = <1>;
158 #size-cells = <0>;
162 clock-names = "t0_clk", "slow_clk";
164 timer@0 {
165 compatible = "atmel,tcb-timer";
169 timer@2 {
170 compatible = "atmel,tcb-timer";
176 tcb1: timer@fffdc000 {
177 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
178 #address-cells = <1>;
179 #size-cells = <0>;
183 clock-names = "t0_clk", "slow_clk";
185 timer@0 {
186 compatible = "atmel,tcb-timer";
190 timer@1 {
191 compatible = "atmel,tcb-timer";
195 pwm@2 {
196 compatible = "atmel,tcb-pwm";
198 #pwm-cells = <3>;
202 timer@f800c000 {
203 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
204 #address-cells = <1>;
205 #size-cells = <0>;
209 clock-names = "t0_clk", "slow_clk";
211 timer@0 {
212 compatible = "microchip,tcb-capture";
216 timer@2 {
217 compatible = "atmel,tcb-timer";