microchip,tcc-g1

Description

Microchip TCC G1 timer counter peripheral.

Microchip TCC G1 timer counter peripheral.

This peripheral is used for generating PWM signals.
This compatible string is to be used for the following peripherals:
  - module name="TCC" id="U2213" version="3.1.0"

Properties

Properties not inherited from the base binding file.

Name

Type

Details

prescaler

int

Timer prescaler values.

The prescaler divides the input clock frequency to
achieve the desired timer frequency.

Legal values: 1, 2, 4, 8, 16, 64, 256, 1024

channels

int

This specifies the maximum number of channels available for the peripheral instance.

This property is required.

max-bit-width

int

Maximum bit width supported by the counter.

This property specifies the resolution of the counter. The value provided in the device tree
should reflect the maximum supported by the hardware instance. It should only be overridden
after consulting the relevant family datasheet to ensure compatibility.

This property is required.

Legal values: 16, 24

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.