#include <zephyr/dt-bindings/pinctrl/rpi-pico-rp2350b-pinctrl.h>

&pinctrl {
	uart0_default: uart0_default {
		group1 {
			pinmux = <UART0_TX_P0>;
		};

		group2 {
			pinmux = <UART0_RX_P1>;
			input-enable;
		};
	};

	uart1_default: uart1_default {
		// These are the same pins as SPI
		group1 {
			pinmux = <UART1_TX_P26>;
		};

		group2 {
			pinmux = <UART1_RX_P27>;
			input-enable;
		};
	};

	i2c0_default: i2c0_default {
		group1 {
			pinmux = <I2C0_SDA_P36>, <I2C0_SCL_P37>;
			input-enable;
			input-schmitt-enable;
		};
	};

	spi0_default: spi0_default {
		group1 {
			pinmux = <SPI0_CSN_P17>, <SPI0_SCK_P18>, <SPI0_TX_P19>;
		};

		group2 {
			pinmux = <SPI0_RX_P16>;
			input-enable;
		};
	};

	pwm_default: pwm_default {
        group1 {
			pinmux = <PWM_0A_P0>,
					<PWM_0B_P1>,
					<PWM_1A_P2>,
					<PWM_1B_P3>,
					<PWM_2A_P4>,
					<PWM_2B_P5>,
					<PWM_3A_P6>,
					<PWM_3B_P7>,
					<PWM_4A_P8>,
					<PWM_4B_P9>,
					<PWM_5A_P10>,
					<PWM_5B_P11>,
					<PWM_6A_P12>,
					<PWM_6B_P13>,
					<PWM_7A_P14>,
					<PWM_7B_P15>,
					<PWM_8A_P32>,
					<PWM_8B_P33>;
		};
    };

	adc_default: adc_default {
		group1 {
			pinmux = <ADC_CH0_P40>, <ADC_CH1_P41>, <ADC_CH2_P42>, <ADC_CH3_P43>;
			input-enable;
		};
	};
};
