Steve Sakoman | 6229e33 | 2012-06-04 05:35:34 +0000 | [diff] [blame] | 1 | /* |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 2 | * SPDX-License-Identifier: GPL-2.0+ |
Steve Sakoman | 6229e33 | 2012-06-04 05:35:34 +0000 | [diff] [blame] | 3 | */ |
| 4 | #ifndef _GPIO_AM33xx_H |
| 5 | #define _GPIO_AM33xx_H |
| 6 | |
| 7 | #include <asm/omap_gpio.h> |
| 8 | |
Axel Lin | 01a461f | 2013-06-21 18:54:25 +0800 | [diff] [blame] | 9 | #define OMAP_MAX_GPIO 128 |
| 10 | |
Steve Sakoman | 6229e33 | 2012-06-04 05:35:34 +0000 | [diff] [blame] | 11 | #define AM33XX_GPIO0_BASE 0x44E07000 |
| 12 | #define AM33XX_GPIO1_BASE 0x4804C000 |
| 13 | #define AM33XX_GPIO2_BASE 0x481AC000 |
| 14 | #define AM33XX_GPIO3_BASE 0x481AE000 |
| 15 | |
| 16 | #endif /* _GPIO_AM33xx_H */ |