1/*
2 * Copyright (c) 2021, Yonatan Schachter
3 * Copyright (c) 2022, Peter Johanson
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <dt-bindings/pinctrl/rpi-pico-rp2040-pinctrl.h>
8
9&pinctrl {
10	uart0_default: uart0_default {
11		group1 {
12			pinmux = <UART0_TX_P0>;
13		};
14		group2 {
15			pinmux = <UART0_RX_P1>;
16			input-enable;
17		};
18	};
19
20	i2c1_default: i2c1_default {
21		group1 {
22			pinmux = <I2C1_SDA_P2>;
23			input-enable;
24		};
25		group2 {
26			pinmux = <I2C1_SCL_P3>;
27			input-enable;
28		};
29	};
30
31	spi0_default: spi0_default {
32		group1 {
33			pinmux = <SPI0_TX_P19>;
34		};
35		group2 {
36			pinmux = <SPI0_RX_P20>;
37			input-enable;
38		};
39		group3 {
40			pinmux = <SPI0_SCK_P18>;
41		};
42	};
43
44	adc_default: adc_default {
45		group1 {
46			pinmux = <ADC_CH0_P26>, <ADC_CH1_P27>, <ADC_CH2_P28>, <ADC_CH3_P29>;
47			input-enable;
48		};
49	};
50
51	ws2812_pio0_default: ws2812_pio0_default {
52		ws2812 {
53			pinmux = <PIO0_P17>;
54		};
55	};
56};
57