1 /*
2  * (C) Copyright 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #define GPIO1_BASE		0x00088000
8 #define GPIO2_BASE		0x0008c000
9 
10 /* Instances */
11 #define GPIO_INSTANCES		2
12 
13 /*  Relative offsets of the register adresses */
14 #define GPIO_SWPORTA_DR_OFFS	0x00000000
15 #define GPIO_SWPORTA_DR(base)	((base) + GPIO_SWPORTA_DR_OFFS)
16 #define GPIO_SWPORTA_DDR_OFFS	0x00000004
17 #define GPIO_SWPORTA_DDR(base)	((base) + GPIO_SWPORTA_DDR_OFFS)
18 #define GPIO_EXT_PORTA_OFFS	0x00000050
19 #define GPIO_EXT_PORTA(base)	((base) + GPIO_EXT_PORTA_OFFS)
20