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 i2c1_default: i2c1_default { 28 group1 { 29 pinmux = <I2C1_SDA_P6>, <I2C1_SCL_P7>; 30 input-enable; 31 input-schmitt-enable; 32 }; 33 }; 34 35 spi0_default: spi0_default { 36 group1 { 37 pinmux = <SPI0_CSN_P17>, <SPI0_SCK_P18>, <SPI0_TX_P19>; 38 }; 39 group2 { 40 pinmux = <SPI0_RX_P16>; 41 input-enable; 42 }; 43 }; 44 45 pwm_ch4b_default: pwm_ch4b_default { 46 group1 { 47 pinmux = <PWM_4B_P25>; 48 }; 49 }; 50 51 adc_default: adc_default { 52 group1 { 53 pinmux = <ADC_CH0_P26>, <ADC_CH1_P27>, <ADC_CH2_P28>, <ADC_CH3_P29>; 54 input-enable; 55 }; 56 }; 57 58 clocks_default: clocks_default { 59 }; 60}; 61