snps,emsdp-pinctrl

Vendor: Synopsys, Inc.

Note

An implementation of a driver matching this compatible is available in drivers/pinctrl/pinctrl_emsdp.c.

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.