2 * linux/include/asm-arm/arch-sa1100/simpad.h
4 * based of assabet.h same as HUW_Webpanel
6 * This file contains the hardware specific definitions for SIMpad
8 * 2001/05/14 Juergen Messerer <juergen.messerer@siemens.ch>
15 #ifndef __ASM_ARCH_HARDWARE_H
16 #error "include <asm/hardware.h> instead"
19 #define GPIO_UART1_RTS GPIO_GPIO14
20 #define GPIO_UART1_DTR GPIO_GPIO7
21 #define GPIO_UART1_CTS GPIO_GPIO8
22 #define GPIO_UART1_DCD GPIO_GPIO23
23 #define GPIO_UART1_DSR GPIO_GPIO6
25 #define GPIO_UART3_RTS GPIO_GPIO12
26 #define GPIO_UART3_DTR GPIO_GPIO16
27 #define GPIO_UART3_CTS GPIO_GPIO13
28 #define GPIO_UART3_DCD GPIO_GPIO18
29 #define GPIO_UART3_DSR GPIO_GPIO17
31 #define GPIO_UCB1300_IRQ GPIO_GPIO (22) /* UCB GPIO and touchscreen */
33 #define IRQ_UART1_CTS IRQ_GPIO15
34 #define IRQ_UART1_DCD GPIO_GPIO23
35 #define IRQ_UART1_DSR GPIO_GPIO6
36 #define IRQ_UART3_CTS GPIO_GPIO13
37 #define IRQ_UART3_DCD GPIO_GPIO18
38 #define IRQ_UART3_DSR GPIO_GPIO17
40 #define IRQ_GPIO_UCB1300_IRQ IRQ_GPIO22
43 #define GPIO_CF_CD GPIO_GPIO24
44 #define GPIO_CF_IRQ GPIO_GPIO1
45 #define IRQ_GPIO_CF_IRQ IRQ_GPIO1
46 #define IRQ_GPIO_CF_CD IRQ_GPIO24
48 // CS3 Latch is write only, a shadow is neccessary
50 #define CS3BUSTYPE unsigned volatile long
51 #define CS3_BASE 0xf1000000
53 #define VCC_5V_EN 0x0001 // For 5V PCMCIA
54 #define VCC_3V_EN 0x0002 // FOR 3.3V PCMCIA
55 #define EN1 0x0004 // This is only for EPROM's
56 #define EN0 0x0008 // Both should be enable for 3.3V or 5V
57 #define DISPLAY_ON 0x0010
58 #define PCMCIA_BUFF_DIS 0x0020
59 #define MQ_RESET 0x0040
60 #define PCMCIA_RESET 0x0080
61 #define DECT_POWER_ON 0x0100
62 #define IRDA_SD 0x0200 // Shutdown for powersave
63 #define RS232_ON 0x0400
64 #define SD_MEDIAQ 0x0800 // Shutdown for powersave
65 #define LED2_ON 0x1000
66 #define IRDA_MODE 0x2000 // Fast/Slow IrDA mode
67 #define ENABLE_5V 0x4000 // Enable 5V circuit
68 #define RESET_SIMCARD 0x8000
70 #define RS232_ENABLE 0x0440
71 #define PCMCIAMASK 0x402f