gpio16xx.c (f9cd49033b349b8be3bb1f01b39eed837853d880) | gpio16xx.c (4b25408f1f61c35b70a19a41053b5e5e3224e97f) |
---|---|
1/* 2 * OMAP16xx specific gpio init 3 * 4 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 5 * 6 * Author: 7 * Charulatha V <charu@ti.com> 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License as 11 * published by the Free Software Foundation version 2. 12 * 13 * This program is distributed "as is" WITHOUT ANY WARRANTY of any 14 * kind, whether express or implied; without even the implied warranty 15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 */ 18 19#include <linux/gpio.h> | 1/* 2 * OMAP16xx specific gpio init 3 * 4 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 5 * 6 * Author: 7 * Charulatha V <charu@ti.com> 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License as 11 * published by the Free Software Foundation version 2. 12 * 13 * This program is distributed "as is" WITHOUT ANY WARRANTY of any 14 * kind, whether express or implied; without even the implied warranty 15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 */ 18 19#include <linux/gpio.h> |
20#include <linux/platform_data/gpio-omap.h> |
|
20 21#define OMAP1610_GPIO1_BASE 0xfffbe400 22#define OMAP1610_GPIO2_BASE 0xfffbec00 23#define OMAP1610_GPIO3_BASE 0xfffbb400 24#define OMAP1610_GPIO4_BASE 0xfffbbc00 25#define OMAP1_MPUIO_VBASE OMAP1_MPUIO_BASE 26 27/* smart idle, enable wakeup */ --- 227 unchanged lines hidden --- | 21 22#define OMAP1610_GPIO1_BASE 0xfffbe400 23#define OMAP1610_GPIO2_BASE 0xfffbec00 24#define OMAP1610_GPIO3_BASE 0xfffbb400 25#define OMAP1610_GPIO4_BASE 0xfffbbc00 26#define OMAP1_MPUIO_VBASE OMAP1_MPUIO_BASE 27 28/* smart idle, enable wakeup */ --- 227 unchanged lines hidden --- |