1# Copyright (C) 2020 Peter Bigot Consulting, LLC 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 GPIO pins exposed on Particle Gen3 (Feather) headers. 6 7 The Particle Gen3 boards are compatible with the Adafruit Feather 8 "shields" but use a different orientation and pin numbering scheme. 9 10 With the board oriented with the micro USB at the top: 11 * A 12-pin header on the right. 9 pins on this header are exposed 12 by this binding 13 * A 16-pin header. 13 pins on this header are exposed by this 14 binding. 15 16 This binding provides a nexus mapping for 22 pins where parent pins 17 0 through 8 correspond to the pins on the 12-pin header, starting 18 from the bottom; and pins 9 through 21 correspond to pins on the 19 16-pin header, skipping the bottom pin then assigning 9 through 19, 20 skipping over GND, and replacing the lower 3V3 with pin 20. The 21 physical layout is depicted below. 22 23 21 RESETn 24 - 3V3 25 20 MODEn 26 - GND 27 19 ADC0 LiPo+ - 28 18 ADC1 ENABLE - 29 17 ADC2 VBUS - 30 16 ADC3 PWM1 8 31 15 ADC4 PWM0 7 32 14 SS PWM1 6 33 13 SCK PWM1 5 34 12 MOSI PWM1 4 35 11 MISO PWM3 3 36 10 RX PWM3 2 37 9 TX SCL 1 38 - n/c SDA 0 39 40 41compatible: "particle-gen3-header" 42 43include: [gpio-nexus.yaml, base.yaml] 44