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 <alexandre.belloni@bootlin.com>
13 The Atmel (now Microchip) SoCs have timers named Timer Counter Block. Each
14 timer has three channels with two counters each.
19 - enum:
20 - atmel,at91rm9200-tcb
21 - atmel,at91sam9x5-tcb
22 - atmel,sama5d2-tcb
23 - const: simple-mfd
24 - const: syscon
36 clock-names:
47 '#address-cells':
50 '#size-cells':
54 "^timer@[0-2]$":
55 description: The timer block channels that are used as timers or counters.
61 - enum:
62 - atmel,tcb-timer
63 - atmel,tcb-pwm
64 - microchip,tcb-capture
67 List of channels to use for this particular timer. In Microchip TCB capture
74 - compatible
75 - reg
77 "^pwm@[0-2]$":
78 description: The timer block channels that are used as PWMs.
79 $ref: /schemas/pwm/pwm.yaml#
83 const: atmel,tcb-pwm
86 TCB channel to use for this PWM.
89 "#pwm-cells":
96 - compatible
97 - reg
98 - "#pwm-cells"
104 - if:
108 const: atmel,sama5d2-tcb
114 clock-names:
116 - const: t0_clk
117 - const: gclk
118 - const: slow_clk
124 clock-names:
126 - items:
127 - const: t0_clk
128 - const: slow_clk
129 - items:
130 - const: t0_clk
131 - const: t1_clk
132 - const: t2_clk
133 - const: slow_clk
136 - compatible
137 - reg
138 - interrupts
139 - clocks
140 - clock-names
141 - '#address-cells'
142 - '#size-cells'
147 - |
149 tcb0: timer@fff7c000 {
150 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
151 #address-cells = <1>;
152 #size-cells = <0>;
156 clock-names = "t0_clk", "slow_clk";
158 timer@0 {
159 compatible = "atmel,tcb-timer";
163 timer@2 {
164 compatible = "atmel,tcb-timer";
170 tcb1: timer@fffdc000 {
171 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
172 #address-cells = <1>;
173 #size-cells = <0>;
177 clock-names = "t0_clk", "slow_clk";
179 timer@0 {
180 compatible = "atmel,tcb-timer";
184 timer@1 {
185 compatible = "atmel,tcb-timer";
189 pwm@2 {
190 compatible = "atmel,tcb-pwm";
192 #pwm-cells = <3>;
196 timer@f800c000 {
197 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
198 #address-cells = <1>;
199 #size-cells = <0>;
203 clock-names = "t0_clk", "slow_clk";
205 timer@0 {
206 compatible = "microchip,tcb-capture";
210 timer@2 {
211 compatible = "atmel,tcb-timer";