Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rza3m.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
11
12
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZA3M_H_
13
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZA3M_H_
14
19
61
63
64
#define PORT_00 0x0F00
65
#define PORT_01 0x1000
66
#define PORT_02 0x1100
67
#define PORT_03 0x1200
68
#define PORT_04 0x1300
69
#define PORT_05 0x1400
70
#define PORT_06 0x1500
71
#define PORT_07 0x1600
72
#define PORT_08 0x1700
73
#define PORT_09 0x1800
74
#define PORT_10 0x1900
75
#define PORT_11 0x1A00
76
#define PORT_12 0x1B00
77
#define PORT_20 0x0000
78
#define PORT_21 0x0100
79
#define PORT_22 0x0300
80
#define PORT_23 0x0400
81
83
93
#define RZA_PINMUX(port, pin, func) (port | pin | (((func) - 1) << 4))
94
96
97
#define BSP_IO_NMI 0xFFFF0001
98
#define BSP_IO_TMS_SWDIO 0xFFFF0200
99
#define BSP_IO_SD0_CLK 0xFFFF0400
100
#define BSP_IO_QSPI0_SPCLK 0xFFFF0500
101
#define BSP_IO_QSPI0_IO0 0xFFFF0501
102
#define BSP_IO_QSPI0_IO1 0xFFFF0502
103
#define BSP_IO_QSPI0_SSL 0xFFFF0505
104
#define BSP_IO_WDTOVF_PERROUT 0xFFFF0600
105
#define BSP_IO_RIIC0_SDA 0xFFFF0700
106
#define BSP_IO_RIIC0_SCL 0xFFFF0701
107
109
117
118
#define RZA_FILNUM_4_STAGE 0
119
#define RZA_FILNUM_8_STAGE 1
120
#define RZA_FILNUM_12_STAGE 2
121
#define RZA_FILNUM_16_STAGE 3
122
123
#define RZA_FILCLKSEL_NOT_DIV 0
124
#define RZA_FILCLKSEL_DIV_9000 1
125
#define RZA_FILCLKSEL_DIV_18000 2
126
#define RZA_FILCLKSEL_DIV_36000 3
127
129
142
#define RZA_FILTER_SET(filnum, filclksel) ((((filnum) & 0x3) << 0x2) | ((filclksel) & 0x3))
143
145
146
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZA3M_H_ */
include
zephyr
dt-bindings
pinctrl
renesas
pinctrl-rza3m.h
Generated on
for Zephyr Project API by
1.16.1