Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rzt-common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025-2026 Renesas Electronics Corporation
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
11
12#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_
13#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_
14
19
57
59
60/* Superset list of all possible IO ports. */
61#define PORT_00 0x0000
62#define PORT_01 0x0100
63#define PORT_02 0x0200
64#define PORT_03 0x0300
65#define PORT_04 0x0400
66#define PORT_05 0x0500
67#define PORT_06 0x0600
68#define PORT_07 0x0700
69#define PORT_08 0x0800
70#define PORT_09 0x0900
71#define PORT_10 0x0A00
72#define PORT_11 0x0B00
73#define PORT_12 0x0C00
74#define PORT_13 0x0D00
75#define PORT_14 0x0E00
76#define PORT_15 0x0F00
77#define PORT_16 0x1000
78#define PORT_17 0x1100
79#define PORT_18 0x1200
80#define PORT_19 0x1300
81#define PORT_20 0x1400
82#define PORT_21 0x1500
83#define PORT_22 0x1600
84#define PORT_23 0x1700
85#define PORT_24 0x1800
86#define PORT_25 0x1900
87#define PORT_26 0x1A00
88#define PORT_27 0x1B00
89#define PORT_29 0x1D00
90#define PORT_30 0x1E00
91#define PORT_31 0x1F00
92#define PORT_33 0x2100
93#define PORT_34 0x2200
94#define PORT_35 0x2300
95
97
107#define RZT_PINMUX(port, pin, func) (port | pin | (func << 16))
108
110
111#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_ */