Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rzg3e.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Renesas Electronics Corporation
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
15
16#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZG3E_H_
17#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZG3E_H_
18
20
25
26#define PORT_00 0x0000
27#define PORT_01 0x0100
28#define PORT_02 0x0200
29#define PORT_03 0x0300
30#define PORT_04 0x0400
31#define PORT_05 0x0500
32#define PORT_06 0x0600
33#define PORT_07 0x0700
34#define PORT_08 0x0800
35#define PORT_10 0x0A00
36#define PORT_11 0x0B00
37#define PORT_12 0x0C00
38#define PORT_13 0x0D00
39#define PORT_14 0x0E00
40#define PORT_15 0x0F00
41#define PORT_16 0x1000
42#define PORT_17 0x1100
43#define PORT_19 0x1300
44#define PORT_20 0x1400
45#define PORT_21 0x1500
46#define PORT_22 0x1600
47#define PORT_28 0x1C00
48
50
55
56#define BSP_IO_WDTUDFCA 0xFFFF0500
57#define BSP_IO_WDTUDFCM 0xFFFF0501
58
59#define BSP_IO_SCIF_RXD 0xFFFF0600
60#define BSP_IO_SCIF_TXD 0xFFFF0601
61
62#define BSP_IO_SD0CLK 0xFFFF0900
63#define BSP_IO_SD0CMD 0xFFFF0901
64#define BSP_IO_SD0RSTN 0xFFFF0902
65#define BSP_IO_SD0PWEN 0xFFFF0903
66#define BSP_IO_SD0IOVS 0xFFFF0904
67
68#define BSP_IO_SD0DAT0 0xFFFF0A00
69#define BSP_IO_SD0DAT1 0xFFFF0A01
70#define BSP_IO_SD0DAT2 0xFFFF0A02
71#define BSP_IO_SD0DAT3 0xFFFF0A03
72#define BSP_IO_SD0DAT4 0xFFFF0A04
73#define BSP_IO_SD0DAT5 0xFFFF0A05
74#define BSP_IO_SD0DAT6 0xFFFF0A06
75#define BSP_IO_SD0DAT7 0xFFFF0A07
76
78
85
86#define RZG_FILNUM_4_STAGE 0
87#define RZG_FILNUM_8_STAGE 1
88#define RZG_FILNUM_12_STAGE 2
89#define RZG_FILNUM_16_STAGE 3
90
91#define RZG_FILCLKSEL_DIV_4 0
92#define RZG_FILCLKSEL_DIV_32 1
93#define RZG_FILCLKSEL_DIV_128 2
94#define RZG_FILCLKSEL_DIV_256 3
95
97
107#define RZG_PINMUX(port, pin, func) (port | pin | ((func) << 4))
108
121#define RZG_FILTER_SET(filnum, filclksel) (((filnum) & 0x3) << 0x2) | (filclksel & 0x3)
122
124
125#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZG3E_H_ */