1080a46eaSAneesh V /* 2080a46eaSAneesh V * Copyright (c) 2009 Wind River Systems, Inc. 3080a46eaSAneesh V * Tom Rix <Tom.Rix@windriver.com> 4080a46eaSAneesh V * 5*bcd4d4ebSWolfgang Denk * SPDX-License-Identifier: GPL-2.0 6080a46eaSAneesh V * 7080a46eaSAneesh V * This work is derived from the linux 2.6.27 kernel source 8080a46eaSAneesh V * To fetch, use the kernel repository 9080a46eaSAneesh V * git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 10080a46eaSAneesh V * Use the v2.6.27 tag. 11080a46eaSAneesh V * 12080a46eaSAneesh V * Below is the original's header including its copyright 13080a46eaSAneesh V * 14080a46eaSAneesh V * linux/arch/arm/plat-omap/gpio.c 15080a46eaSAneesh V * 16080a46eaSAneesh V * Support functions for OMAP GPIO 17080a46eaSAneesh V * 18080a46eaSAneesh V * Copyright (C) 2003-2005 Nokia Corporation 19080a46eaSAneesh V * Written by Juha Yrjölä <juha.yrjola@nokia.com> 20080a46eaSAneesh V */ 21080a46eaSAneesh V #ifndef _GPIO_OMAP3_H 22080a46eaSAneesh V #define _GPIO_OMAP3_H 23080a46eaSAneesh V 24080a46eaSAneesh V #include <asm/omap_gpio.h> 25080a46eaSAneesh V 2687bd05d7SAxel Lin #define OMAP_MAX_GPIO 192 2787bd05d7SAxel Lin 28080a46eaSAneesh V #define OMAP34XX_GPIO1_BASE 0x48310000 29080a46eaSAneesh V #define OMAP34XX_GPIO2_BASE 0x49050000 30080a46eaSAneesh V #define OMAP34XX_GPIO3_BASE 0x49052000 31080a46eaSAneesh V #define OMAP34XX_GPIO4_BASE 0x49054000 32080a46eaSAneesh V #define OMAP34XX_GPIO5_BASE 0x49056000 33080a46eaSAneesh V #define OMAP34XX_GPIO6_BASE 0x49058000 34080a46eaSAneesh V 35080a46eaSAneesh V #endif /* _GPIO_OMAP3_H */ 36