Zephyr API Documentation 4.3.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
14
15#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZG3E_H_
16#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZG3E_H_
17
22
23#define PORT_00 0x0000
24#define PORT_01 0x0100
25#define PORT_02 0x0200
26#define PORT_03 0x0300
27#define PORT_04 0x0400
28#define PORT_05 0x0500
29#define PORT_06 0x0600
30#define PORT_07 0x0700
31#define PORT_08 0x0800
32#define PORT_10 0x0A00
33#define PORT_11 0x0B00
34#define PORT_12 0x0C00
35#define PORT_13 0x0D00
36#define PORT_14 0x0E00
37#define PORT_15 0x0F00
38#define PORT_16 0x1000
39#define PORT_17 0x1100
40#define PORT_19 0x1300
41#define PORT_20 0x1400
42#define PORT_21 0x1500
43#define PORT_22 0x1600
44#define PORT_28 0x1C00
45
47
52
53#define BSP_IO_WDTUDFCA 0xFFFF0500
54#define BSP_IO_WDTUDFCM 0xFFFF0501
55
56#define BSP_IO_SCIF_RXD 0xFFFF0600
57#define BSP_IO_SCIF_TXD 0xFFFF0601
58
59#define BSP_IO_SD0CLK 0xFFFF0900
60#define BSP_IO_SD0CMD 0xFFFF0901
61#define BSP_IO_SD0RSTN 0xFFFF0902
62#define BSP_IO_SD0PWEN 0xFFFF0903
63#define BSP_IO_SD0IOVS 0xFFFF0904
64
65#define BSP_IO_SD0DAT0 0xFFFF0A00
66#define BSP_IO_SD0DAT1 0xFFFF0A01
67#define BSP_IO_SD0DAT2 0xFFFF0A02
68#define BSP_IO_SD0DAT3 0xFFFF0A03
69#define BSP_IO_SD0DAT4 0xFFFF0A04
70#define BSP_IO_SD0DAT5 0xFFFF0A05
71#define BSP_IO_SD0DAT6 0xFFFF0A06
72#define BSP_IO_SD0DAT7 0xFFFF0A07
73
75
82
83#define RZG_FILNUM_4_STAGE 0
84#define RZG_FILNUM_8_STAGE 1
85#define RZG_FILNUM_12_STAGE 2
86#define RZG_FILNUM_16_STAGE 3
87
88#define RZG_FILCLKSEL_DIV_4 0
89#define RZG_FILCLKSEL_DIV_32 1
90#define RZG_FILCLKSEL_DIV_128 2
91#define RZG_FILCLKSEL_DIV_256 3
92
94
104#define RZG_PINMUX(port, pin, func) (port | pin | ((func) << 4))
105
118#define RZG_FILTER_SET(filnum, filclksel) (((filnum) & 0x3) << 0x2) | (filclksel & 0x3)
119
120#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZG3E_H_ */