1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2014, STMicroelectronics - All Rights Reserved
4  * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
5  */
6 
7 #ifndef __ASM_ARCH_STV0991_GPIO_H
8 #define __ASM_ARCH_STV0991_GPIO_H
9 
10 enum gpio_direction {
11 	GPIO_DIRECTION_IN,
12 	GPIO_DIRECTION_OUT,
13 };
14 
15 struct gpio_regs {
16 	u32 data;		/* offset 0x0 */
17 	u32 reserved[0xff];	/* 0x4--0x3fc */
18 	u32 dir;		/* offset 0x400 */
19 };
20 
21 #endif	/* __ASM_ARCH_STV0991_GPIO_H */
22