1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2012 Stefan Roese <sr@denx.de>
7 #ifndef __ASM_ARCH_SPEAR_GPIO_H
8 #define __ASM_ARCH_SPEAR_GPIO_H
16 u32 gpiodata[0x100]; /* 0x000 ... 0x3fc */
17 u32 gpiodir; /* 0x400 */
20 #define SPEAR_GPIO_COUNT 8
21 #define DATA_REG_ADDR(gpio) (1 << (gpio + 2))
23 #endif /* __ASM_ARCH_SPEAR_GPIO_H */