zephyr_ircam/boards/xtensa/elecrow_esp_terminal/elecrow_esp_terminal-pinctrl.dtsi

67 lines
1.1 KiB
Text
Raw Permalink Normal View History

2024-01-04 00:52:49 +01:00
/*
# Copyright (c) 2024 PM
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
#include <dt-bindings/pinctrl/esp32s3-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h>
&pinctrl {
uart0_default: uart0_default {
group1 {
pinmux = <UART0_TX_GPIO43>;
output-high;
};
group2 {
pinmux = <UART0_RX_GPIO44>;
bias-pull-up;
};
};
i2c0_default: i2c0_default {
group1 {
pinmux = <I2C0_SDA_GPIO2>,
<I2C0_SCL_GPIO1>;
bias-pull-up;
drive-open-drain;
output-high;
};
};
spim2_default: spim2_default {
group1 {
pinmux = <SPIM2_MISO_GPIO14>,
<SPIM2_SCLK_GPIO12>,
<SPIM2_CSEL_GPIO3>, // LCD
<SPIM2_CSEL1_GPIO10>; // SD
};
group2 {
pinmux = <SPIM2_MOSI_GPIO13>;
output-low;
};
};
};
/*
Missing:
pins for camera:
vs=4
hs=5
mclk=7
pclk=17
d1=11
d2=8
d3=47
d4=48
d5=21
d6=18
d7=16
d8=15
d9=6
microphone:
on spim3 as i2s
*/