71 lines
1.1 KiB
Plaintext
71 lines
1.1 KiB
Plaintext
/*
|
|
* Copyright (c) 2021, Yonatan Schachter
|
|
* Copyright (c) 2022, Peter Johanson
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <dt-bindings/pinctrl/rpi-pico-rp2040-pinctrl.h>
|
|
|
|
&pinctrl {
|
|
uart1_default: uart1_default {
|
|
group1 {
|
|
pinmux = <UART1_TX_P20>;
|
|
};
|
|
group2 {
|
|
pinmux = <UART1_RX_P5>;
|
|
input-enable;
|
|
};
|
|
};
|
|
|
|
i2c0_default: i2c0_default {
|
|
group1 {
|
|
pinmux = <I2C0_SDA_P24>;
|
|
input-enable;
|
|
};
|
|
group2 {
|
|
pinmux = <I2C0_SCL_P25>;
|
|
input-enable;
|
|
};
|
|
};
|
|
|
|
i2c1_default: i2c1_default {
|
|
group1 {
|
|
pinmux = <I2C1_SDA_P22>;
|
|
input-enable;
|
|
};
|
|
group2 {
|
|
pinmux = <I2C1_SCL_P23>;
|
|
input-enable;
|
|
};
|
|
};
|
|
|
|
spi0_default: spi0_default {
|
|
group1 {
|
|
pinmux = <SPI0_TX_P3>;
|
|
};
|
|
group2 {
|
|
pinmux = <SPI0_RX_P4>;
|
|
input-enable;
|
|
};
|
|
group3 {
|
|
pinmux = <SPI0_SCK_P6>;
|
|
};
|
|
};
|
|
|
|
adc_default: adc_default {
|
|
group1 {
|
|
pinmux = <ADC_CH0_P26>, <ADC_CH1_P27>, <ADC_CH2_P28>, <ADC_CH3_P29>;
|
|
input-enable;
|
|
};
|
|
};
|
|
|
|
clocks_default: clocks_default {
|
|
};
|
|
|
|
ws2812_pio1_default: ws2812_pio1_default {
|
|
ws2812 {
|
|
pinmux = <PIO1_P12>;
|
|
};
|
|
};
|
|
};
|