Skip to content

Commit 8b25941

Browse files
committed
boards: rpi_pico: Added default pin mapping to docs
Added the default pin mapping to the documentation. Signed-off-by: Yonatan Schachter <[email protected]>
1 parent 309af3c commit 8b25941

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

boards/arm/rpi_pico/doc/index.rst

+27
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,33 @@ hardware features:
7979
- :kconfig:option:`CONFIG_PWM`
8080
- :dtcompatible:`raspberrypi,pico-pwm`
8181

82+
Pin Mapping
83+
===========
84+
85+
The peripherals of the RP2040 SoC can be routed to various pins on the board.
86+
The configuration of these routes can be modified through DTS. Please refer to
87+
the datasheet to see the possible routings for each peripheral.
88+
89+
Default Zephyr Peripheral Mapping:
90+
----------------------------------
91+
92+
.. rst-class:: rst-columns
93+
94+
- UART0_TX : P0
95+
- UART0_RX : P1
96+
- I2C0_SDA : P4
97+
- I2C0_SCL : P5
98+
- I2C1_SDA : P14
99+
- I2C1_SCL : P15
100+
- SPI0_RX : P16
101+
- SPI0_CSN : P17
102+
- SPI0_SCK : P18
103+
- SPI0_TX : P19
104+
- ADC_CH0 : P26
105+
- ADC_CH1 : P27
106+
- ADC_CH2 : P28
107+
- ADC_CH3 : P29
108+
82109
Programming and Debugging
83110
*************************
84111

0 commit comments

Comments
 (0)