17 lines
340 B
Plaintext
17 lines
340 B
Plaintext
|
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
|
||
|
#include <dt-bindings/pinctrl/esp32-pinctrl.h>
|
||
|
#include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h>
|
||
|
|
||
|
&pinctrl {
|
||
|
uart0_default: uart0_default {
|
||
|
group1 {
|
||
|
pinmux = <UART0_TX_GPIO1>;
|
||
|
output-high;
|
||
|
};
|
||
|
group2 {
|
||
|
pinmux = <UART0_RX_GPIO3>;
|
||
|
bias-pull-up;
|
||
|
};
|
||
|
};
|
||
|
};
|