microchip,tc-g1

Description

Microchip TC g1 peripheral.

Microchip TC g1 peripheral.

It is used for creating the PWM output on different channels
as well as used as a timer/counter.
This yaml supports the following peripherals
  - tc-u2249 (3.0.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 property indicates the maximum available channels in a peripheral instance

This property is required.

max-bit-width

int

Maximum bit width supported by the PWM 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: 8, 16, 32

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.