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