1# Copyright (c) 2023 Synopsys, Inc. All rights reserved. 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 Synopsys ARC EMSDP board Pin controller for Pmod and Arduino shield interface. 6 7 Device pin configuration should be placed in the child nodes of this node. 8 Populate the 'pinmux' field with a pair consisting of a pin number and its IO 9 function. 10 11 For example, setting PmodA to SPI would look like this: 12 13 #include <zephyr/dt-bindings/pinctrl/emsdp-pinctrl.h> 14 15 &pinctrl { 16 pmodA_spi1_cs0: pmodA_spi1_cs0 { 17 pinmux = <PMOD_A PMOD_SPI>; 18 }; 19 }; 20 21compatible: "snps,emsdp-pinctrl" 22 23include: base.yaml 24 25properties: 26 reg: 27 required: true 28 29child-binding: 30 description: | 31 This binding gives a base representation of the EMSDP pins 32 configuration. 33 34 properties: 35 pinmux: 36 required: true 37 type: array 38 description: | 39 EMSDP pin's configuration (pin, IO function). 40