Go to the documentation of this file.
13 #ifndef __ASM_ARCH_SERIAL_H
14 #define __ASM_ARCH_SERIAL_H
30 #define OMAP_UART_INFO_OFS 0x3ffc
33 #define OMAP1_UART1_BASE 0xfffb0000
34 #define OMAP1_UART2_BASE 0xfffb0800
35 #define OMAP1_UART3_BASE 0xfffb9800
38 #define OMAP2_UART1_BASE 0x4806a000
39 #define OMAP2_UART2_BASE 0x4806c000
40 #define OMAP2_UART3_BASE 0x4806e000
43 #define OMAP3_UART1_BASE OMAP2_UART1_BASE
44 #define OMAP3_UART2_BASE OMAP2_UART2_BASE
45 #define OMAP3_UART3_BASE 0x49020000
46 #define OMAP3_UART4_BASE 0x49042000
47 #define OMAP3_UART4_AM35XX_BASE 0x4809E000
50 #define OMAP4_UART1_BASE OMAP2_UART1_BASE
51 #define OMAP4_UART2_BASE OMAP2_UART2_BASE
52 #define OMAP4_UART3_BASE 0x48020000
53 #define OMAP4_UART4_BASE 0x4806e000
56 #define TI81XX_UART1_BASE 0x48020000
57 #define TI81XX_UART2_BASE 0x48022000
58 #define TI81XX_UART3_BASE 0x48024000
61 #define AM35XX_UART4_BASE 0x4809E000
64 #define AM33XX_UART1_BASE 0x44E09000
67 #define OMAP5_UART1_BASE OMAP2_UART1_BASE
68 #define OMAP5_UART2_BASE OMAP2_UART2_BASE
69 #define OMAP5_UART3_BASE OMAP4_UART3_BASE
70 #define OMAP5_UART4_BASE OMAP4_UART4_BASE
71 #define OMAP5_UART5_BASE 0x48066000
72 #define OMAP5_UART6_BASE 0x48068000
75 #define ZOOM_UART_BASE 0x10000000
76 #define ZOOM_UART_VIRT 0xfa400000
78 #define OMAP_PORT_SHIFT 2
79 #define OMAP7XX_PORT_SHIFT 0
80 #define ZOOM_PORT_SHIFT 1
82 #define OMAP1510_BASE_BAUD (12000000/16)
83 #define OMAP16XX_BASE_BAUD (48000000/16)
84 #define OMAP24XX_BASE_BAUD (48000000/16)
96 #define OMAP3UART1 OMAP2UART1
97 #define OMAP3UART2 OMAP2UART2
100 #define OMAP4UART1 OMAP2UART1
101 #define OMAP4UART2 OMAP2UART2
102 #define OMAP4UART3 43
103 #define OMAP4UART4 44
104 #define TI81XXUART1 81
105 #define TI81XXUART2 82
106 #define TI81XXUART3 83
107 #define AM33XXUART1 84
108 #define OMAP5UART3 OMAP4UART3
109 #define OMAP5UART4 OMAP4UART4
113 #define is_omap_port(pt) ({int __ret = 0; \
114 if ((pt)->port.mapbase == OMAP1_UART1_BASE || \
115 (pt)->port.mapbase == OMAP1_UART2_BASE || \
116 (pt)->port.mapbase == OMAP1_UART3_BASE) \
121 #ifndef __ASSEMBLER__