atmel,sam0-tcc-pwm

Vendor: Atmel Corporation

Description

Atmel SAM0 TCC in PWM mode

Properties

Properties not inherited from the base binding file.

Name

Type

Details

channels

int

Number of channels this TCC has

This property is required.

Legal values: 2, 3, 4, 6

counter-size

int

Width of the TCC counter in bits

This property is required.

Legal values: 16, 24

prescaler

int

PWM prescaler

This property is required.

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

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Constant value: 1

Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “atmel,sam0-tcc-pwm” compatible.

Name

Type

Details

reg

array

register space

This property is required.

See Important properties for more information.

interrupts

array

interrupts for device

This property is required.

See Important properties for more information.

clocks

phandle-array

Clock gate information

This property is required.

clock-names

string-array

name of each clock

This property is required.

label

string

Human readable string describing the device (used as device_get_binding() argument)

This property is required.

See Important properties for more information.

status

string

indicates the operational status of a device

Legal values: 'ok', 'okay', 'disabled', 'reserved', 'fail', 'fail-sss'

See Important properties for more information.

compatible

string-array

compatible strings

This property is required.

See Important properties for more information.

reg-names

string-array

name of each register space

interrupts-extended

compound

extended interrupt specifier for device

interrupt-names

string-array

name of each interrupt

interrupt-parent

phandle

phandle to interrupt controller node

#address-cells

int

number of address cells in reg property

#size-cells

int

number of size cells in reg property

dmas

phandle-array

DMA channels specifiers

dma-names

string-array

Provided names of DMA channel specifiers

io-channels

phandle-array

IO channels specifiers

io-channel-names

string-array

Provided names of IO channel specifiers

Specifier cell names

  • pwm cells: channel