blob: 75c8da6f505f35104cd8a48dea630508d7f025e1 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2/*
3 * Copyright (c) 2021 Amlogic, Inc. All rights reserved.
4 * Author: Huqiang Qin <huqiang.qin@amlogic.com>
5 */
6
7#ifndef _DT_BINDINGS_AMLOGIC_C3_GPIO_H
8#define _DT_BINDINGS_AMLOGIC_C3_GPIO_H
9
10#define GPIOE_0 0
11#define GPIOE_1 1
12#define GPIOE_2 2
13#define GPIOE_3 3
14#define GPIOE_4 4
15
16#define GPIOB_0 5
17#define GPIOB_1 6
18#define GPIOB_2 7
19#define GPIOB_3 8
20#define GPIOB_4 9
21#define GPIOB_5 10
22#define GPIOB_6 11
23#define GPIOB_7 12
24#define GPIOB_8 13
25#define GPIOB_9 14
26#define GPIOB_10 15
27#define GPIOB_11 16
28#define GPIOB_12 17
29#define GPIOB_13 18
30#define GPIOB_14 19
31
32#define GPIOC_0 20
33#define GPIOC_1 21
34#define GPIOC_2 22
35#define GPIOC_3 23
36#define GPIOC_4 24
37#define GPIOC_5 25
38#define GPIOC_6 26
39
40#define GPIOX_0 27
41#define GPIOX_1 28
42#define GPIOX_2 29
43#define GPIOX_3 30
44#define GPIOX_4 31
45#define GPIOX_5 32
46#define GPIOX_6 33
47#define GPIOX_7 34
48#define GPIOX_8 35
49#define GPIOX_9 36
50#define GPIOX_10 37
51#define GPIOX_11 38
52#define GPIOX_12 39
53#define GPIOX_13 40
54
55#define GPIOD_0 41
56#define GPIOD_1 42
57#define GPIOD_2 43
58#define GPIOD_3 44
59#define GPIOD_4 45
60#define GPIOD_5 46
61#define GPIOD_6 47
62
63#define GPIOA_0 48
64#define GPIOA_1 49
65#define GPIOA_2 50
66#define GPIOA_3 51
67#define GPIOA_4 52
68#define GPIOA_5 53
69
70#define GPIO_TEST_N 54
71
72#endif /* _DT_BINDINGS_AMLOGIC_C3_GPIO_H */