diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-03-27 19:19:59 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-03-27 19:19:59 +0000 |
commit | 9ef47853643cd78f497d58bb6b6f758d2008e081 (patch) | |
tree | f4c4ab453c35a6845b4158106bc4a67bf2658541 /target/linux/ramips/files/arch/mips/include/asm/mach-ralink | |
parent | 37d6d88869c5df7d01ed0e960be1d8ef6cee6271 (diff) | |
download | upstream-9ef47853643cd78f497d58bb6b6f758d2008e081.tar.gz upstream-9ef47853643cd78f497d58bb6b6f758d2008e081.tar.bz2 upstream-9ef47853643cd78f497d58bb6b6f758d2008e081.zip |
ramips: define GPIO chips separately for each SoCs
SVN-Revision: 26326
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink')
4 files changed, 3 insertions, 12 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/ralink_soc.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/ralink_soc.h index 60ca647d8c..73301e239f 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/ralink_soc.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/ralink_soc.h @@ -15,10 +15,4 @@ #define RALINK_SOC_MEM_SIZE_MIN (2 * 1024 * 1024) #define RALINK_SOC_MEM_SIZE_MAX (128 * 1024 * 1024) -#define RALINK_SOC_GPIO_BASE 0x300600 - -#define RALINK_SOC_GPIO0_COUNT 24 -#define RALINK_SOC_GPIO1_COUNT 16 -#define RALINK_SOC_GPIO2_COUNT 32 - #endif /* __RT288X_RALINK_SOC_H */ diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h index a95cb82963..2ae26ef8b5 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h @@ -37,6 +37,7 @@ #define RT2880_INTC_SIZE 0x100 #define RT2880_MEMC_SIZE 0x100 #define RT2880_UART0_SIZE 0x100 +#define RT2880_PIO_SIZE 0x100 #define RT2880_UART1_SIZE 0x100 #define RT2880_FLASH1_SIZE (16 * 1024 * 1024) #define RT2880_FLASH0_SIZE (4 * 1024 * 1024) 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 index fd0e8b3048..c3206ec13e 100644 --- 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 @@ -15,10 +15,4 @@ #define RALINK_SOC_MEM_SIZE_MIN (2 * 1024 * 1024) #define RALINK_SOC_MEM_SIZE_MAX (64 * 1024 * 1024) -#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 */ diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h index c4964b0b45..5970f7851c 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h @@ -20,6 +20,7 @@ #define RT305X_MEMC_BASE 0x10000300 #define RT305X_PCM_BASE 0x10000400 #define RT305X_UART0_BASE 0x10000500 +#define RT305X_PIO_BASE 0x10000600 #define RT305X_GDMA_BASE 0x10000700 #define RT305X_NANDC_BASE 0x10000800 #define RT305X_I2C_BASE 0x10000900 @@ -39,6 +40,7 @@ #define RT305X_INTC_SIZE 0x100 #define RT305X_MEMC_SIZE 0x100 #define RT305X_UART0_SIZE 0x100 +#define RT305X_PIO_SIZE 0x100 #define RT305X_UART1_SIZE 0x100 #define RT305X_FLASH1_SIZE (16 * 1024 * 1024) #define RT305X_FLASH0_SIZE (8 * 1024 * 1024) |