summaryrefslogtreecommitdiff
path: root/include/dt-bindings/gpio/meson-s4-gpio.h
blob: 35aee21b94f133d60bff749e2752593e49ef25ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
 * Copyright (c) 2021 Amlogic, Inc. All rights reserved.
 * Author: Qianggui Song <qianggui.song@amlogic.com>
 */

#ifndef _DT_BINDINGS_MESON_S4_GPIO_H
#define _DT_BINDINGS_MESON_S4_GPIO_H

#define	GPIOB_0		0
#define	GPIOB_1		1
#define	GPIOB_2		2
#define	GPIOB_3		3
#define	GPIOB_4		4
#define	GPIOB_5		5
#define	GPIOB_6		6
#define	GPIOB_7		7
#define	GPIOB_8		8
#define	GPIOB_9		9
#define	GPIOB_10	10
#define	GPIOB_11	11
#define	GPIOB_12	12
#define	GPIOB_13	13

#define	GPIOC_0		14
#define	GPIOC_1		15
#define	GPIOC_2		16
#define	GPIOC_3		17
#define	GPIOC_4		18
#define	GPIOC_5		19
#define	GPIOC_6		20
#define	GPIOC_7		21

#define	GPIOE_0		22
#define	GPIOE_1		23

#define	GPIOD_0		24
#define	GPIOD_1		25
#define	GPIOD_2		26
#define	GPIOD_3		27
#define	GPIOD_4		28
#define	GPIOD_5		29
#define	GPIOD_6		30
#define	GPIOD_7		31
#define	GPIOD_8		32
#define	GPIOD_9		33
#define	GPIOD_10	34
#define	GPIOD_11	35

#define	GPIOH_0		36
#define	GPIOH_1		37
#define	GPIOH_2		38
#define	GPIOH_3		39
#define	GPIOH_4		40
#define	GPIOH_5		41
#define	GPIOH_6		42
#define	GPIOH_7		43
#define	GPIOH_8		44
#define	GPIOH_9		45
#define	GPIOH_10	46
#define	GPIOH_11	47

#define	GPIOX_0		48
#define	GPIOX_1		49
#define	GPIOX_2		50
#define	GPIOX_3		51
#define	GPIOX_4		52
#define	GPIOX_5		53
#define	GPIOX_6		54
#define	GPIOX_7		55
#define	GPIOX_8		56
#define	GPIOX_9		57
#define	GPIOX_10	58
#define	GPIOX_11	59
#define	GPIOX_12	60
#define	GPIOX_13	61
#define	GPIOX_14	62
#define	GPIOX_15	63
#define	GPIOX_16	64
#define	GPIOX_17	65
#define	GPIOX_18	66
#define	GPIOX_19	67

#define	GPIOZ_0		68
#define	GPIOZ_1		69
#define	GPIOZ_2		70
#define	GPIOZ_3		71
#define	GPIOZ_4		72
#define	GPIOZ_5		73
#define	GPIOZ_6		74
#define	GPIOZ_7		75
#define	GPIOZ_8		76
#define	GPIOZ_9		77
#define	GPIOZ_10	78
#define	GPIOZ_11	79
#define	GPIOZ_12	80

#define	GPIO_TEST_N	81
#endif /* _DT_BINDINGS_MESON_S4_GPIO_H */