blob: b27f4078582cf81a484e76f176b729b085e619b5 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Vikas Manocha32b9e712014-11-18 10:42:23 -08002/*
Patrice Chotardcc551162017-10-23 09:53:59 +02003 * Copyright (C) 2014, STMicroelectronics - All Rights Reserved
4 * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
Vikas Manocha32b9e712014-11-18 10:42:23 -08005 */
6
7#ifndef __ASM_ARCH_STV0991_GPIO_H
8#define __ASM_ARCH_STV0991_GPIO_H
9
10enum gpio_direction {
11 GPIO_DIRECTION_IN,
12 GPIO_DIRECTION_OUT,
13};
14
15struct 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 */