1# Copyright (c) 2020 Google LLC. 2# SPDX-License-Identifier: Apache-2.0 3 4description: Atmel SAM0 TCC in PWM mode 5 6compatible: "atmel,sam0-tcc-pwm" 7 8include: [pwm-controller.yaml, base.yaml] 9 10properties: 11 reg: 12 required: true 13 14 interrupts: 15 required: true 16 17 clocks: 18 required: true 19 20 clock-names: 21 required: true 22 23 label: 24 required: true 25 26 channels: 27 type: int 28 required: true 29 description: Number of channels this TCC has 30 enum: 31 - 2 32 - 3 33 - 4 34 - 6 35 36 counter-size: 37 type: int 38 required: true 39 description: Width of the TCC counter in bits 40 enum: 41 - 16 42 - 24 43 44 prescaler: 45 type: int 46 required: true 47 description: PWM prescaler 48 enum: 49 - 1 50 - 2 51 - 4 52 - 8 53 - 16 54 - 64 55 - 256 56 - 1024 57 58 "#pwm-cells": 59 const: 1 60 61pwm-cells: 62 - channel 63