This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

atmel,sam0-pinctrl

Vendor: Atmel Corporation

Description

Atmel SAM0 Pinctrl container node

The Atmel SAM0 pins implements following pin configuration option:

  * bias-pull-up
  * bias-pull-down
  * drive-strength
  * input-enable
  * output-enable
  * pinmux-enable

These options define devicetree flags that are converted to SoC flags at
ATMEL_SAM0_PIN_FLAGS().

Properties

Top level properties

These property descriptions apply to “atmel,sam0-pinctrl” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

(None)

Child node properties

Name

Type

Details

atmel,pins

phandle-array

pinmux-enable

boolean

Assign pin to an embedded device peripheral

bias-pull-up

boolean

enable pull-up resistor

bias-pull-down

boolean

enable pull-down resistor

drive-strength

int

maximum sink or source current in mA

input-enable

boolean

enable input on pin (no effect on output, such as enabling an input
buffer)

output-enable

boolean

enable output on a pin without actively driving it (such as enabling
an output buffer)