aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-aaec2000/aaec2000.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/include/asm-arm/arch-aaec2000/aaec2000.h b/include/asm-arm/arch-aaec2000/aaec2000.h
index 0e9b7e18af05..7472f9e5523f 100644
--- a/include/asm-arm/arch-aaec2000/aaec2000.h
+++ b/include/asm-arm/arch-aaec2000/aaec2000.h
@@ -17,6 +17,13 @@
17#error You must include hardware.h not this file 17#error You must include hardware.h not this file
18#endif /* __ASM_ARCH_HARDWARE_H */ 18#endif /* __ASM_ARCH_HARDWARE_H */
19 19
20/* Chip selects */
21#define AAEC_CS0 0x00000000
22#define AAEC_CS1 0x10000000
23#define AAEC_CS2 0x20000000
24#define AAEC_CS3 0x30000000
25
26
20/* Interrupt controller */ 27/* Interrupt controller */
21#define IRQ_BASE __REG(0x80000500) 28#define IRQ_BASE __REG(0x80000500)
22#define IRQ_INTSR __REG(0x80000500) /* Int Status Register */ 29#define IRQ_INTSR __REG(0x80000500) /* Int Status Register */
@@ -148,4 +155,47 @@
148#define POWER_STFCLR __REG(0x8000041c) /* NbFlg, RSTFlg, PFFlg, CLDFlg Clear */ 155#define POWER_STFCLR __REG(0x8000041c) /* NbFlg, RSTFlg, PFFlg, CLDFlg Clear */
149#define POWER_CLKSET __REG(0x80000420) /* Clock Speed Control */ 156#define POWER_CLKSET __REG(0x80000420) /* Clock Speed Control */
150 157
158/* GPIO Registers */
159#define AAEC_GPIO_PHYS 0x80000e00
160
161#define AAEC_GPIO_PADR __REG(AAEC_GPIO_PHYS + 0x00)
162#define AAEC_GPIO_PBDR __REG(AAEC_GPIO_PHYS + 0x04)
163#define AAEC_GPIO_PCDR __REG(AAEC_GPIO_PHYS + 0x08)
164#define AAEC_GPIO_PDDR __REG(AAEC_GPIO_PHYS + 0x0c)
165#define AAEC_GPIO_PADDR __REG(AAEC_GPIO_PHYS + 0x10)
166#define AAEC_GPIO_PBDDR __REG(AAEC_GPIO_PHYS + 0x14)
167#define AAEC_GPIO_PCDDR __REG(AAEC_GPIO_PHYS + 0x18)
168#define AAEC_GPIO_PDDDR __REG(AAEC_GPIO_PHYS + 0x1c)
169#define AAEC_GPIO_PEDR __REG(AAEC_GPIO_PHYS + 0x20)
170#define AAEC_GPIO_PEDDR __REG(AAEC_GPIO_PHYS + 0x24)
171#define AAEC_GPIO_KSCAN __REG(AAEC_GPIO_PHYS + 0x28)
172#define AAEC_GPIO_PINMUX __REG(AAEC_GPIO_PHYS + 0x2c)
173#define AAEC_GPIO_PFDR __REG(AAEC_GPIO_PHYS + 0x30)
174#define AAEC_GPIO_PFDDR __REG(AAEC_GPIO_PHYS + 0x34)
175#define AAEC_GPIO_PGDR __REG(AAEC_GPIO_PHYS + 0x38)
176#define AAEC_GPIO_PGDDR __REG(AAEC_GPIO_PHYS + 0x3c)
177#define AAEC_GPIO_PHDR __REG(AAEC_GPIO_PHYS + 0x40)
178#define AAEC_GPIO_PHDDR __REG(AAEC_GPIO_PHYS + 0x44)
179#define AAEC_GPIO_RAZ __REG(AAEC_GPIO_PHYS + 0x48)
180#define AAEC_GPIO_INTTYPE1 __REG(AAEC_GPIO_PHYS + 0x4c)
181#define AAEC_GPIO_INTTYPE2 __REG(AAEC_GPIO_PHYS + 0x50)
182#define AAEC_GPIO_FEOI __REG(AAEC_GPIO_PHYS + 0x54)
183#define AAEC_GPIO_INTEN __REG(AAEC_GPIO_PHYS + 0x58)
184#define AAEC_GPIO_INTSTATUS __REG(AAEC_GPIO_PHYS + 0x5c)
185#define AAEC_GPIO_RAWINTSTATUS __REG(AAEC_GPIO_PHYS + 0x60)
186#define AAEC_GPIO_DB __REG(AAEC_GPIO_PHYS + 0x64)
187#define AAEC_GPIO_PAPINDR __REG(AAEC_GPIO_PHYS + 0x68)
188#define AAEC_GPIO_PBPINDR __REG(AAEC_GPIO_PHYS + 0x6c)
189#define AAEC_GPIO_PCPINDR __REG(AAEC_GPIO_PHYS + 0x70)
190#define AAEC_GPIO_PDPINDR __REG(AAEC_GPIO_PHYS + 0x74)
191#define AAEC_GPIO_PEPINDR __REG(AAEC_GPIO_PHYS + 0x78)
192#define AAEC_GPIO_PFPINDR __REG(AAEC_GPIO_PHYS + 0x7c)
193#define AAEC_GPIO_PGPINDR __REG(AAEC_GPIO_PHYS + 0x80)
194#define AAEC_GPIO_PHPINDR __REG(AAEC_GPIO_PHYS + 0x84)
195
196#define AAEC_GPIO_PINMUX_PE0CON (1 << 0)
197#define AAEC_GPIO_PINMUX_PD0CON (1 << 1)
198#define AAEC_GPIO_PINMUX_CODECON (1 << 2)
199#define AAEC_GPIO_PINMUX_UART3CON (1 << 3)
200
151#endif /* __ARM_ARCH_AAEC2000_H */ 201#endif /* __ARM_ARCH_AAEC2000_H */