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

&pinctrl {
	i2c0_default: i2c0_default {
		group1 {
			pinmux = 	<I2C0_SDA_P36>, 	// SDA
						<I2C0_SCL_P37>;		// SCL
			input-enable;
			input-schmitt-enable;
		};
	};

	spi1_default: spi1_default {
		group1 {
			pinmux = 	<SPI1_CSN_P29>,		// D29
						<SPI1_SCK_P26>, 	// SPI_CLK
						<SPI1_TX_P27>;		// SPI_MOSI
		};

		group2 {
			pinmux = <SPI1_RX_P28>;		// SPI_MISO
			input-enable;
		};
	};

	pwm_default: pwm_default {
        group1 {
			pinmux = 	<PWM_0A_P0>,	// SERVO 1
						<PWM_0B_P1>,	// SERVO 2
						<PWM_1A_P2>,	// SERVO 3
						<PWM_1B_P3>,	// SERVO 4
						<PWM_2A_P4>,	// SERVO 5
						<PWM_2B_P5>,	// SERVO 6
						<PWM_3A_P6>,	// SERVO 7
						<PWM_3B_P7>,	// SERVO 8
						<PWM_4A_P8>,	// SERVO 9
						<PWM_4B_P9>,	// SERVO 10
						<PWM_5A_P10>,	// SERVO 11
						<PWM_5B_P11>,	// SERVO 12
						<PWM_6A_P12>,	// SERVO 13
						<PWM_6B_P13>,	// SERVO 14
						<PWM_7A_P14>,	// SERVO 15
						<PWM_7B_P15>,	// SERVO 16
						<PWM_8A_P32>,	// SERVO 17
						<PWM_8B_P33>;	// SERVO 18
		};
    };

	adc_default: adc_default {
		group1 {
			pinmux = 	<ADC_CH0_P40>,	// MUX_COMMON
						<ADC_CH1_P41>,	// SERVO 17
						<ADC_CH2_P42>;	// SERVO 18
			input-enable;
		};
	};
};
