diff --git a/boards/riscv/qemu_riscv32/qemu_riscv32_xip-pinctrl.dtsi b/boards/riscv/qemu_riscv32/qemu_riscv32_xip-pinctrl.dtsi new file mode 100644 index 00000000000..3aae585eb44 --- /dev/null +++ b/boards/riscv/qemu_riscv32/qemu_riscv32_xip-pinctrl.dtsi @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2022 Antmicro + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +&pinctrl { + /* UART0 */ + uart0_rx_default: uart0_rx_default { + pinmux = <16 SIFIVE_PINMUX_IOF0>; + }; + uart0_tx_default: uart0_tx_default { + pinmux = <17 SIFIVE_PINMUX_IOF0>; + }; +};