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.

snps,emsdp-pinctrl

Vendor: Synopsys, Inc.

Description

Synopsys ARC EMSDP board Pin controller for Pmod and Arduino shield interface.

Device pin configuration should be placed in the child nodes of this node.
Populate the 'pinmux' field with a pair consisting of a pin number and its IO
function.

For example, setting PmodA to SPI would look like this:

  #include <zephyr/dt-bindings/pinctrl/emsdp-pinctrl.h>

  &pinctrl {
    pmodA_spi1_cs0: pmodA_spi1_cs0 {
      pinmux = <PMOD_A PMOD_SPI>;
    };
  };

Properties

Top level properties

These property descriptions apply to “snps,emsdp-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

pinmux

array

EMSDP pin's configuration (pin, IO function).

This property is required.