coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef __SOC_NVIDIA_TEGRA124_GPIO_H__
4
#define __SOC_NVIDIA_TEGRA124_GPIO_H__
5
6
#include <
soc/nvidia/tegra/gpio.h
>
7
#include <soc/pinmux.h>
8
9
/* GPIO index constants. */
10
11
#define GPIO_PORT_CONSTANTS(port) \
12
GPIO_##port##0_INDEX, GPIO_##port##1_INDEX, GPIO_##port##2_INDEX, \
13
GPIO_##port##3_INDEX, GPIO_##port##4_INDEX, GPIO_##port##5_INDEX, \
14
GPIO_##port##6_INDEX, GPIO_##port##7_INDEX
15
16
enum
{
17
GPIO_PORT_CONSTANTS
(A),
18
GPIO_PORT_CONSTANTS
(B),
19
GPIO_PORT_CONSTANTS
(C),
20
GPIO_PORT_CONSTANTS
(D),
21
GPIO_PORT_CONSTANTS
(
E
),
22
GPIO_PORT_CONSTANTS
(F),
23
GPIO_PORT_CONSTANTS
(G),
24
GPIO_PORT_CONSTANTS
(H),
25
GPIO_PORT_CONSTANTS
(I),
26
GPIO_PORT_CONSTANTS
(J),
27
GPIO_PORT_CONSTANTS
(K),
28
GPIO_PORT_CONSTANTS
(L),
29
GPIO_PORT_CONSTANTS
(
M
),
30
GPIO_PORT_CONSTANTS
(N),
31
GPIO_PORT_CONSTANTS
(O),
32
GPIO_PORT_CONSTANTS
(P),
33
GPIO_PORT_CONSTANTS
(Q),
34
GPIO_PORT_CONSTANTS
(R),
35
GPIO_PORT_CONSTANTS
(S),
36
GPIO_PORT_CONSTANTS
(T),
37
GPIO_PORT_CONSTANTS
(U),
38
GPIO_PORT_CONSTANTS
(V),
39
GPIO_PORT_CONSTANTS
(
W
),
40
GPIO_PORT_CONSTANTS
(X),
41
GPIO_PORT_CONSTANTS
(Y),
42
GPIO_PORT_CONSTANTS
(
Z
),
43
GPIO_PORT_CONSTANTS
(AA),
44
GPIO_PORT_CONSTANTS
(BB),
45
GPIO_PORT_CONSTANTS
(CC),
46
GPIO_PORT_CONSTANTS
(DD),
47
GPIO_PORT_CONSTANTS
(EE),
48
GPIO_PORT_CONSTANTS
(FF)
49
};
50
51
#endif
/* __SOC_NVIDIA_TEGRA124_GPIO_H__ */
Z
#define Z
Definition:
base3.h:7
W
#define W(instr)
Definition:
asm.h:19
E
#define E(arg1, arg2, args)
Definition:
perf_power.c:15
M
#define M
Definition:
regs.h:327
GPIO_PORT_CONSTANTS
#define GPIO_PORT_CONSTANTS(port)
Definition:
gpio.h:11
gpio.h
src
soc
nvidia
tegra124
include
soc
gpio.h
Generated by
1.9.1