Line data Source code
1 0 : /*
2 : * Copyright (c) 2023 Antmicro <www.antmicro.com>
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_RZT2M_PINCTRL_H_
8 : #define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_RZT2M_PINCTRL_H_
9 :
10 0 : #define RZT2M_PINMUX(port, pin, func) ((port << 16) | (pin << 8) | func)
11 :
12 0 : #define UART0TX_P16_5 RZT2M_PINMUX(16, 5, 1)
13 0 : #define UART0RX_P16_6 RZT2M_PINMUX(16, 6, 2)
14 :
15 0 : #define UART3TX_P18_0 RZT2M_PINMUX(18, 0, 4)
16 0 : #define UART3RX_P17_7 RZT2M_PINMUX(17, 7, 4)
17 :
18 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_RZT2M_PINCTRL_H_ */
|