blob: d72f5e50ad6b89e6b3ea09ce34573e338c3a1359 [file] [log] [blame]
Aneesh V080a46e2011-07-31 20:30:53 +00001/*
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_OMAP3_H
39#define _GPIO_OMAP3_H
40
41#include <asm/omap_gpio.h>
42
Axel Lin87bd05d2013-06-21 18:54:25 +080043#define OMAP_MAX_GPIO 192
44
Aneesh V080a46e2011-07-31 20:30:53 +000045#define OMAP34XX_GPIO1_BASE 0x48310000
46#define OMAP34XX_GPIO2_BASE 0x49050000
47#define OMAP34XX_GPIO3_BASE 0x49052000
48#define OMAP34XX_GPIO4_BASE 0x49054000
49#define OMAP34XX_GPIO5_BASE 0x49056000
50#define OMAP34XX_GPIO6_BASE 0x49058000
51
52#endif /* _GPIO_OMAP3_H */