1 /* 2 * linux/include/asm-arm/arch-sa1100/simpad.h 3 * 4 * based of assabet.h same as HUW_Webpanel 5 * 6 * This file contains the hardware specific definitions for SIMpad 7 * 8 * 2001/05/14 Juergen Messerer <juergen.messerer@siemens.ch> 9 */ 10 11 #ifndef SIMPAD_H 12 #define SIMPAD_H 13 14 15 #ifndef __ASM_ARCH_HARDWARE_H 16 #error "include <asm/hardware.h> instead" 17 #endif 18 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 24 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 30 31 #define GPIO_UCB1300_IRQ GPIO_GPIO (22) /* UCB GPIO and touchscreen */ 32 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 39 40 #define IRQ_GPIO_UCB1300_IRQ IRQ_GPIO22 41 42 /*--- PCMCIA ---*/ 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 47 48 // CS3 Latch is write only, a shadow is neccessary 49 50 #define CS3BUSTYPE unsigned volatile long 51 #define CS3_BASE 0xf1000000 52 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 69 70 #define RS232_ENABLE 0x0440 71 #define PCMCIAMASK 0x402f 72 73 #endif // SIMPAD_H 74 75 76 77 78 79 80 81 82