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

#ifndef _DT_BINDINGS_MESON_S1A_GPIO_H
#define _DT_BINDINGS_MESON_S1A_GPIO_H

/* GPIOB */
#define GPIOB_0				0
#define GPIOB_1				1
#define GPIOB_2				2
#define GPIOB_3				3
#define GPIOB_4				4
#define GPIOB_5				5

/* GPIOD */
#define GPIOD_0				6
#define GPIOD_1				7
#define GPIOD_2				8
#define GPIOD_3				9
#define GPIOD_4				10
#define GPIOD_5				11
#define GPIOD_6				12
#define GPIOD_7				13
#define GPIOD_8				14
#define GPIOD_9				15
#define GPIOD_10			16
#define GPIOD_11			17

/* GPIOH */
#define GPIOH_0				18
#define GPIOH_1				19
#define GPIOH_2				20
#define GPIOH_3				21
#define GPIOH_4				22
#define GPIOH_5				23
#define GPIOH_6				24
#define GPIOH_7				25
#define GPIOH_8				26
#define GPIOH_9				27
#define GPIOH_10			28

/* GPIOZ */
#define GPIOZ_0				29
#define GPIOZ_1				30
#define GPIOZ_2				31
#define GPIOZ_3				32
#define GPIOZ_4				33
#define GPIOZ_5				34
#define GPIOZ_6				35
#define GPIOZ_7				36
#define GPIOZ_8				37
#define GPIOZ_9				38

#define	GPIO_TEST_N			39

#endif
