1/*
2 * Copyright (c) 2021, Yonatan Schachter
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/* The Pico and Pico 2 are pin compatible. */
7&pinctrl {
8	uart0_default: uart0_default {
9		group1 {
10			pinmux = <UART0_TX_P0>;
11		};
12		group2 {
13			pinmux = <UART0_RX_P1>;
14			input-enable;
15		};
16	};
17
18	i2c0_default: i2c0_default {
19		group1 {
20			pinmux = <I2C0_SDA_P4>, <I2C0_SCL_P5>;
21			input-enable;
22			input-schmitt-enable;
23		};
24	};
25
26	i2c1_default: i2c1_default {
27		group1 {
28			pinmux = <I2C1_SDA_P6>, <I2C1_SCL_P7>;
29			input-enable;
30			input-schmitt-enable;
31		};
32	};
33
34	spi0_default: spi0_default {
35		group1 {
36			pinmux = <SPI0_CSN_P17>, <SPI0_SCK_P18>, <SPI0_TX_P19>;
37		};
38		group2 {
39			pinmux = <SPI0_RX_P16>;
40			input-enable;
41		};
42	};
43
44	pwm_ch4b_default: pwm_ch4b_default {
45		group1 {
46			pinmux = <PWM_4B_P25>;
47		};
48	};
49
50	adc_default: adc_default {
51		group1 {
52			pinmux = <ADC_CH0_P26>, <ADC_CH1_P27>, <ADC_CH2_P28>, <ADC_CH3_P29>;
53			input-enable;
54		};
55	};
56};
57