2 * File: include/asm-blackfin/mach-bf548/gpio.h
4 * Author: Michael Hennerich (hennerich@blackfin.uclinux.org)
10 * Copyright 2004-2007 Analog Devices Inc.
12 * Bugs: Enter bugs at http://blackfin.uclinux.org/
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, see the file COPYING, or write
26 * to the Free Software Foundation, Inc.,
27 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
63 #define GPIO_PB15 31 /* N/A */
78 #define GPIO_PC14 46 /* N/A */
79 #define GPIO_PC15 47 /* N/A */
138 #define GPIO_PG10 106
139 #define GPIO_PG11 107
140 #define GPIO_PG12 108
141 #define GPIO_PG13 109
142 #define GPIO_PG14 110
143 #define GPIO_PG15 111
154 #define GPIO_PH10 122
155 #define GPIO_PH11 123
156 #define GPIO_PH12 124
157 #define GPIO_PH13 125
158 #define GPIO_PH14 126 /* N/A */
159 #define GPIO_PH15 127 /* N/A */
170 #define GPIO_PI10 138
171 #define GPIO_PI11 139
172 #define GPIO_PI12 140
173 #define GPIO_PI13 141
174 #define GPIO_PI14 142
175 #define GPIO_PI15 143
186 #define GPIO_PJ10 154
187 #define GPIO_PJ11 155
188 #define GPIO_PJ12 156
189 #define GPIO_PJ13 157
190 #define GPIO_PJ14 158 /* N/A */
191 #define GPIO_PJ15 159 /* N/A */
193 #define MAX_BLACKFIN_GPIOS 160
196 unsigned short port_fer;
197 unsigned short dummy1;
198 unsigned short port_data;
199 unsigned short dummy2;
200 unsigned short port_set;
201 unsigned short dummy3;
202 unsigned short port_clear;
203 unsigned short dummy4;
204 unsigned short port_dir_set;
205 unsigned short dummy5;
206 unsigned short port_dir_clear;
207 unsigned short dummy6;
208 unsigned short port_inen;
209 unsigned short dummy7;
210 unsigned int port_mux;