/*1* Copyright (C) 2009 Texas Instruments2* Added OMAP4 support- Santosh Shilimkar <[email protected]>3*4* This program is distributed in the hope that it will be useful,5* but WITHOUT ANY WARRANTY; without even the implied warranty of6* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the7* GNU General Public License for more details.8*/910#ifndef __ASM_ARCH_SERIAL_H11#define __ASM_ARCH_SERIAL_H1213#include <linux/init.h>1415/*16* Memory entry used for the DEBUG_LL UART configuration, relative to17* start of RAM. See also uncompress.h and debug-macro.S.18*19* Note that using a memory location for storing the UART configuration20* has at least two limitations:21*22* 1. Kernel uncompress code cannot overlap OMAP_UART_INFO as the23* uncompress code could then partially overwrite itself24* 2. We assume printascii is called at least once before paging_init,25* and addruart has a chance to read OMAP_UART_INFO26*/27#define OMAP_UART_INFO_OFS 0x3ffc2829#define OMAP_PORT_SHIFT 230#define OMAP7XX_PORT_SHIFT 03132#define OMAP1510_BASE_BAUD (12000000/16)33#define OMAP16XX_BASE_BAUD (48000000/16)3435/*36* DEBUG_LL port encoding stored into the UART1 scratchpad register by37* decomp_setup in uncompress.h38*/39#define OMAP1UART1 1140#define OMAP1UART2 1241#define OMAP1UART3 134243#ifndef __ASSEMBLER__44extern void omap_serial_init(void);45#endif4647#endif484950