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

#ifndef _DT_BINDINGS_MESON_TXHD2_GPIO_H
#define _DT_BINDINGS_MESON_TXHD2_GPIO_H

/* GPIOAO */
#define GPIOAO_0			0
#define GPIOAO_1			1
#define GPIOAO_2			2
#define GPIOAO_3			3
#define GPIOAO_4			4
#define GPIOAO_5			5
#define GPIOAO_6			6
#define GPIOAO_7			7
#define GPIOAO_8			8
#define GPIOAO_9			9
#define GPIOAO_10			10
#define GPIOAO_11			11
#define GPIOAO_12			12
#define GPIOAO_13			13

/* GPIODV */
#define GPIODV_0			0
#define GPIODV_1			1
#define GPIODV_2			2
#define GPIODV_3			3
#define GPIODV_4			4
#define GPIODV_5			5
#define GPIODV_6			6
#define GPIODV_7			7
#define GPIODV_8			8
#define GPIODV_9			9

/* GPIOB */
#define GPIOB_0				10
#define GPIOB_1				11
#define GPIOB_2				12
#define GPIOB_3				13
#define GPIOB_4				14
#define GPIOB_5				15
#define GPIOB_6				16
#define GPIOB_7				17
#define GPIOB_8				18
#define GPIOB_9				19
#define GPIOB_10			20
#define GPIOB_11			21
#define GPIOB_12			22

/* GPIOC */
#define GPIOC_0				23
#define GPIOC_1				24
#define GPIOC_2				25
#define GPIOC_3				26
#define GPIOC_4				27
#define GPIOC_5				28
#define GPIOC_6				29
#define GPIOC_7				30
#define GPIOC_8				31
#define GPIOC_9				32
#define GPIOC_10			33

/* GPIOH */
#define GPIOH_0				34
#define GPIOH_1				35
#define GPIOH_2				36
#define GPIOH_3				37
#define GPIOH_4				38
#define GPIOH_5				39
#define GPIOH_6				40
#define GPIOH_7				41
#define GPIOH_8				42
#define GPIOH_9				43
#define GPIOH_10			44
#define GPIOH_11			45
#define GPIOH_12			46
#define GPIOH_13			47
#define GPIOH_14			48
#define GPIOH_15			49

/* GPIOZ */
#define GPIOZ_0				50
#define GPIOZ_1				51
#define GPIOZ_2				52
#define GPIOZ_3				53
#define GPIOZ_4				54
#define GPIOZ_5				55
#define GPIOZ_6				56
#define GPIOZ_7				57

/* GPIOW */
#define GPIOW_0				58
#define GPIOW_1				59
#define GPIOW_2				60
#define GPIOW_3				61
#define GPIOW_4				62
#define GPIOW_5				63
#define GPIOW_6				64
#define GPIOW_7				65

/* TESTN */
#define	GPIO_TEST_N			0

#endif
