1 /* arch/arm/mach-s3c2410/include/mach/gpio-nrs.h
3 * Copyright (c) 2008 Simtec Electronics
4 * http://armlinux.simtec.co.uk/
5 * Ben Dooks <ben@simtec.co.uk>
7 * S3C2410 - GPIO bank numbering
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
14 #define S3C2410_GPIONO(bank,offset) ((bank) + (offset))
16 #define S3C2410_GPIO_BANKA (32*0)
17 #define S3C2410_GPIO_BANKB (32*1)
18 #define S3C2410_GPIO_BANKC (32*2)
19 #define S3C2410_GPIO_BANKD (32*3)
20 #define S3C2410_GPIO_BANKE (32*4)
21 #define S3C2410_GPIO_BANKF (32*5)
22 #define S3C2410_GPIO_BANKG (32*6)
23 #define S3C2410_GPIO_BANKH (32*7)