/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
 * Copyright (c) 2019 Amlogic, Inc. All rights reserved.
 */

#ifndef _DT_BINDINGS_MESON_C1_GPIO_H
#define _DT_BINDINGS_MESON_C1_GPIO_H
#define	GPIOD_0		0
#define	GPIOD_1		1
#define	GPIOD_2		2
#define	GPIOD_3		3
#define	GPIOD_4		4
#define	GPIOD_5		5
#define	GPIOD_6		6
#define	GPIOD_7		7
#define	GPIOD_8		8
#define	GPIOD_9		9
#define	GPIOD_10	10
#define	GPIOD_11	11
#define	GPIOD_12	12

#define	GPIOE_0		13
#define	GPIOE_1		14

#define	GPIOB_0		15
#define	GPIOB_1		16
#define	GPIOB_2		17
#define	GPIOB_3		18
#define	GPIOB_4		19
#define	GPIOB_5		20
#define	GPIOB_6		21
#define	GPIOB_7		22
#define	GPIOB_8		23
#define	GPIOB_9		24
#define	GPIOB_10	25
#define	GPIOB_11	26
#define	GPIOB_12	27
#define	GPIOB_13	28

#define	GPIOC_0		29
#define	GPIOC_1		30
#define	GPIOC_2		31
#define	GPIOC_3		32
#define	GPIOC_4		33
#define	GPIOC_5		34
#define	GPIOC_6		35
#define	GPIOC_7		36

#define	GPIOX_0		37
#define	GPIOX_1		38
#define	GPIOX_2		39
#define	GPIOX_3		40
#define	GPIOX_4		41
#define	GPIOX_5		42
#define	GPIOX_6		43
#define	GPIOX_7		44
#define	GPIOX_8		45
#define	GPIOX_9		46
#define	GPIOX_10	47
#define	GPIOX_11	48
#define	GPIOX_12	49
#define	GPIOX_13	50
#define	GPIOX_14	51
#define	GPIOX_15	52
#define	GPIOX_16	53
#define	GPIOX_17	54
#define	GPIOX_18	55
#define	GPIOX_19	56

#define	GPIOM_0		57
#define	GPIOM_1		58
#define	GPIOM_2		59
#define	GPIOM_3		60
#define	GPIOM_4		61
#define	GPIOM_5		62
#define	GPIOM_6		63
#define	GPIOM_7		64
#define	GPIOM_8		65
#define	GPIOM_9		66
#define	GPIOM_10	67
#define	GPIOM_11	68
#define	GPIOM_12	69
#define	GPIOM_13	70
#define	GPIOM_14	71
#define	GPIOM_15	72

#define	GPIOA_0		73
#define	GPIOA_1		74
#define	GPIOA_2		75
#define	GPIOA_3		76
#define	GPIOA_4		77
#define	GPIOA_5		78
#define	GPIOA_6		79
#define	GPIOA_7		80
#define	GPIOA_8		81
#define	GPIOA_9		82
#define	GPIOA_10	83
#define	GPIOA_11	84
#define	GPIOA_12	85
#define	GPIOA_13	86
#define	GPIOA_14	87
#define	GPIOA_15	88

#define	GPIO_TEST_N	89
#endif /* _DT_BINDINGS_MESON_C1_GPIO_H */
