blob: 7c82f9036075117524b5221585bf7010bf272f32 [file] [log] [blame]
Sricharan9310ff72011-11-15 09:49:55 -05001/*
2 * Copyright (c) 2009 Wind River Systems, Inc.
3 * Tom Rix <Tom.Rix@windriver.com>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18 * MA 02111-1307 USA
19 *
20 * This work is derived from the linux 2.6.27 kernel source
21 * To fetch, use the kernel repository
22 * git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
23 * Use the v2.6.27 tag.
24 *
25 * Below is the original's header including its copyright
26 *
27 * linux/arch/arm/plat-omap/gpio.c
28 *
29 * Support functions for OMAP GPIO
30 *
31 * Copyright (C) 2003-2005 Nokia Corporation
32 * Written by Juha Yrjölä <juha.yrjola@nokia.com>
33 *
34 * This program is free software; you can redistribute it and/or modify
35 * it under the terms of the GNU General Public License version 2 as
36 * published by the Free Software Foundation.
37 */
38#ifndef _GPIO_OMAP5_H
39#define _GPIO_OMAP5_H
40
41#include <asm/omap_gpio.h>
42
Axel Lin01a461f2013-06-21 18:54:25 +080043#define OMAP_MAX_GPIO 256
44
Sricharan9310ff72011-11-15 09:49:55 -050045#define OMAP54XX_GPIO1_BASE 0x4Ae10000
46#define OMAP54XX_GPIO2_BASE 0x48055000
47#define OMAP54XX_GPIO3_BASE 0x48057000
48#define OMAP54XX_GPIO4_BASE 0x48059000
49#define OMAP54XX_GPIO5_BASE 0x4805B000
50#define OMAP54XX_GPIO6_BASE 0x4805D000
Axel Lin01a461f2013-06-21 18:54:25 +080051#define OMAP54XX_GPIO7_BASE 0x48051000
52#define OMAP54XX_GPIO8_BASE 0x48053000
Sricharan9310ff72011-11-15 09:49:55 -050053
54#endif /* _GPIO_OMAP5_H */