nordic,nrf-pwm

Vendor: Nordic Semiconductor

Description

nRF PWM

Properties

Properties not inherited from the base binding file.

Name

Type

Details

center-aligned

boolean

Use center-aligned (up and down) counter mode

ch0-pin

int

Channel 0 pin

ch0-inverted

boolean

Channel 0 inverted

ch1-pin

int

Channel 1 pin

ch1-inverted

boolean

Channel 1 inverted

ch2-pin

int

Channel 2 pin

ch2-inverted

boolean

Channel 2 inverted

ch3-pin

int

Channel 3 pin

ch3-inverted

boolean

Channel 3 inverted

#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 “nordic,nrf-pwm” compatible.

Name

Type

Details

reg

array

register space

This property is required.

See Important properties for more information.

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

array

interrupts for device

See Important properties for more information.

interrupts-extended

compound

extended interrupt specifier for device

interrupt-names

string-array

name of each interrupt

interrupt-parent

phandle

phandle to interrupt controller node

clocks

phandle-array

Clock gate information

clock-names

string-array

name of each clock

#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