nordic,nrf-sw-pwm

Vendor: Nordic Semiconductor

Description

nRFx S/W PWM

Properties

Properties not inherited from the base binding file.

Name

Type

Details

timer-instance

int

Timer instance to use for generating the PWM output signals

This property is required.

channel-count

int

Number of PWM channels. Limited by timer instance compare registers minus 1.

This property is required.

clock-prescaler

int

Clock prescaler for timer used for generating the PWM output signals with frequency = 16 MHz / 2^prescaler

This property is required.

ppi-base

int

PPI base used for PPI index calculation used for PWM output generation

This property is required.

gpiote-base

int

GPIOTE base used for GPIOTE index calculation used for PWM output generation

This property is required.

#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-sw-pwm” compatible.

Name

Type

Details

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

array

register space

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