[ramips] fix GPIOLIB support
[openwrt.git] / target / linux / ramips / files / arch / mips / include / asm / mach-ralink / rt288x / ralink_soc.h
1 /*
2  * Ralink RT288x specific SOC defines
3  *
4  * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published
8  * by the Free Software Foundation.
9  */
10
11 #ifndef __RT288X_RALINK_SOC_H
12 #define __RT288X_RALINK_SOC_H
13
14 #define RALINK_SOC_GPIO_BASE    0x300600
15
16 #define RALINK_SOC_GPIO0_COUNT  24
17 #define RALINK_SOC_GPIO1_COUNT  16
18 #define RALINK_SOC_GPIO2_COUNT  32
19
20 #endif /* __RT288X_RALINK_SOC_H */