Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rza2m.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Renesas Electronics Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZA2M_H_
14
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZA2M_H_
15
20
50
52
#define RZA2M_PIN_NUM_IN_PORT 8
53
55
56
/* Port names as labeled in the Hardware Manual */
57
#define PORT_00 0
58
#define PORT_01 1
59
#define PORT_02 2
60
#define PORT_03 3
61
#define PORT_04 4
62
#define PORT_05 5
63
#define PORT_06 6
64
#define PORT_07 7
65
#define PORT_08 8
66
#define PORT_09 9
67
#define PORT_A 10
68
#define PORT_B 11
69
#define PORT_C 12
70
#define PORT_D 13
71
#define PORT_E 14
72
#define PORT_F 15
73
#define PORT_G 16
74
#define PORT_H 17
75
/* No I */
76
#define PORT_J 18
77
#define PORT_K 19
78
#define PORT_L 20
79
#define PORT_M 21
/* Pins PM_0/1 are labeled JP_0/1 in HW manual */
80
81
#define PORT_CKIO 22
82
#define PORT_PPOC 23
/* Select between 1.8V and 3.3V for SPI and SD/MMC */
83
84
#define PIN_POSEL 0
/* Sets function for POSEL0 bits. 00, 01, 10 - 1.8v, 11 - 3.3v */
85
#define PIN_POC2 1
/* Sets function for SSD host 0, 0 - 1.8v 1 - 3.3v */
86
#define PIN_POC3 2
/* Sets function for SSD host 1, 0 - 1.8v 1 - 3.3v */
87
89
102
#define RZA2M_PINMUX(b, p, f) ((b) * RZA2M_PIN_NUM_IN_PORT + (p) | (f << 16))
103
105
#define CKIO_DRV RZA2M_PINMUX(PORT_CKIO, 0, 0)
107
109
110
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZA2M_H_ */
include
zephyr
dt-bindings
pinctrl
renesas
pinctrl-rza2m.h
Generated on
for Zephyr Project API by
1.16.1