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