1# Copyright (c) 2023 Elektronikutvecklingsbyrån EUB AB 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 GPIO pins exposed on a Digilent Pmod interface. 6 7 This binding provides a nexus mapping for 8 pins where parent pins 0 8 through 3 correspond to IO1 through IO4, and parent pins 4 through 7 9 correspond to IO5 through IO8, as depicted below for a 12-pin connector. 10 11 12-pin Pmod interface: 12 13 0 IO1 IO5 4 14 1 IO2 IO6 5 15 2 IO3 IO7 6 16 3 IO4 IO8 7 17 - GND GND - 18 - VDD VDD - 19 20 This binding can also be used with the 6-pin Pmod connector variant which 21 is a proper subset of the 12-pin connector. In that case parent pins 4 22 through 7 are omitted from the GPIO nexus node, resulting in a mapping 23 as depicted below. 24 25 6-pin Pmod interface: 26 27 0 IO1 28 1 IO2 29 2 IO3 30 3 IO4 31 - GND 32 - VDD 33 34compatible: "digilent,pmod" 35 36include: [gpio-nexus.yaml, base.yaml] 37