24 lines
431 B
Plaintext
24 lines
431 B
Plaintext
/*
|
|
* Copyright (c) 2023 Google, LLC
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
|
|
#include <dt-bindings/pinctrl/esp32s2-pinctrl.h>
|
|
#include <zephyr/dt-bindings/pinctrl/esp32s2-gpio-sigmap.h>
|
|
|
|
&pinctrl {
|
|
|
|
uart0_default: uart0_default {
|
|
group1 {
|
|
pinmux = <UART0_TX_GPIO16>;
|
|
output-high;
|
|
};
|
|
group2 {
|
|
pinmux = <UART0_RX_GPIO17>;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
};
|