xref: /linux/include/dt-bindings/pinctrl/renesas,r9a08g046-pinctrl.h (revision 9611c0ce215a66770ccbe5c126bf57ba8c31bcad)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /*
3  * This header provides constants for Renesas RZ/G3L family pinctrl bindings.
4  *
5  * Copyright (C) 2026 Renesas Electronics Corp.
6  *
7  */
8 
9 #ifndef __DT_BINDINGS_PINCTRL_RENESAS_R9A08G046_PINCTRL_H__
10 #define __DT_BINDINGS_PINCTRL_RENESAS_R9A08G046_PINCTRL_H__
11 
12 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
13 
14 /* RZG3L_Px = Offset address of PFC_P_mn  - 0x22 */
15 #define RZG3L_P2	2
16 #define RZG3L_P3	3
17 #define RZG3L_P5	5
18 #define RZG3L_P6	6
19 #define RZG3L_P7	7
20 #define RZG3L_P8	8
21 #define RZG3L_PA	10
22 #define RZG3L_PB	11
23 #define RZG3L_PC	12
24 #define RZG3L_PD	13
25 #define RZG3L_PE	14
26 #define RZG3L_PF	15
27 #define RZG3L_PG	16
28 #define RZG3L_PH	17
29 #define RZG3L_PJ	19
30 #define RZG3L_PK	20
31 #define RZG3L_PL	21
32 #define RZG3L_PM	22
33 #define RZG3L_PS	28
34 
35 #define RZG3L_PORT_PINMUX(b, p, f)	RZG2L_PORT_PINMUX(RZG3L_P##b, p, f)
36 #define RZG3L_GPIO(port, pin)		RZG2L_GPIO(RZG3L_P##port, pin)
37 
38 #endif /* __DT_BINDINGS_PINCTRL_RENESAS_R9A08G046_PINCTRL_H__ */
39