diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-08-31 08:29:19 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-08-31 08:29:19 +0000 |
commit | 73ef265227df9b5b1c32a1a9e257d0d2221c2695 (patch) | |
tree | 048cb23688416ff4d5a3ceaadaefc02174486e41 /target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/ralink_soc.h | |
parent | 5af113eb7c0f6e4b2d09e536e1a2adc4e2d6071d (diff) | |
download | master-31e0f0ae-73ef265227df9b5b1c32a1a9e257d0d2221c2695.tar.gz master-31e0f0ae-73ef265227df9b5b1c32a1a9e257d0d2221c2695.tar.bz2 master-31e0f0ae-73ef265227df9b5b1c32a1a9e257d0d2221c2695.zip |
fix GPIOLIB support
SVN-Revision: 17446
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/ralink_soc.h')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/ralink_soc.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/ralink_soc.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/ralink_soc.h new file mode 100644 index 0000000000..144cc4ea46 --- /dev/null +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/ralink_soc.h @@ -0,0 +1,20 @@ +/* + * Ralink RT305x specific SOC defines + * + * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +#ifndef __RT288X_RALINK_SOC_H +#define __RT288X_RALINK_SOC_H + +#define RALINK_SOC_GPIO_BASE 0x10000600 + +#define RALINK_SOC_GPIO0_COUNT 24 +#define RALINK_SOC_GPIO1_COUNT 16 +#define RALINK_SOC_GPIO2_COUNT 12 + +#endif /* __RT288X_RALINK_SOC_H */ |