1# Copyright (c) 2023, Joseph Yates
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    GPIO pins exposed on Raspberry Pi Pico headers.
6
7    The Raspberry Pi Pico layout provides 2 columns of 20 pins headers
8
9    This binding provides a nexus mapping for the default 26 pins as depicted below:
10
11        0  GPIO0/UART0_TX      VBUS            -
12        1  GPIO1/UART0_RX      VSYS            -
13        -  GND                 GND             -
14        2  GPIO2               3V3_EN          -
15        3  GPIO3               3V3_OUT         -
16        4  GPIO4/I2C0_SDA      ADC_VREF        -
17        5  GPIO5/I2C0_SCL      GPIO28/ADC2     28
18        -  GND                 GND             -
19        6  GPIO6               GPIO27/ADC1     27
20        7  GPIO7               GPIO26/ADC0     26
21        8  GPIO8               RUN             -
22        9  GPIO9               GPIO22          22
23        -  GND                 GND             -
24        10 GPIO10              GPIO21          21
25        11 GPIO11              GPIO20          20
26        12 GPIO12              GPIO19/SPI0_TX  19
27        13 GPIO13              GPIO18/SPI0_SCK 18
28        -  GND                 GND             -
29        14 GPIO14              GPIO17/SPI0_CSn 17
30        15 GPIO15              GPIO16/SPI0_RX  16
31
32compatible: "raspberrypi,pico-header"
33
34include: [gpio-nexus.yaml, base.yaml]
35