Home | History | Annotate | Line # | Download | only in dev
com_aubus_reg.h revision 1.1.2.1
      1  1.1.2.1  gdamore /* $NetBSD: com_aubus_reg.h,v 1.1.2.1 2006/06/15 16:40:43 gdamore Exp $ */
      2  1.1.2.1  gdamore 
      3  1.1.2.1  gdamore /* copyright */
      4  1.1.2.1  gdamore 
      5  1.1.2.1  gdamore #undef	COM_FREQ	/* relative to CPU clock speed on Au1X00 */
      6  1.1.2.1  gdamore 
      7  1.1.2.1  gdamore /*
      8  1.1.2.1  gdamore  * Alchemy Semi Au1X00 UART registers
      9  1.1.2.1  gdamore  */
     10  1.1.2.1  gdamore 
     11  1.1.2.1  gdamore #define	AUCOM_RXDATA	0x00	/* receive data register (R) */
     12  1.1.2.1  gdamore #define	AUCOM_TXDATA	0x04	/* transmit data register (W) */
     13  1.1.2.1  gdamore #define	AUCOM_IER	0x08	/* interrupt enable (R/W) */
     14  1.1.2.1  gdamore #define	AUCOM_IIR	0x0c	/* interrupt identification (R) */
     15  1.1.2.1  gdamore #define	AUCOM_FIFO	0x10	/* FIFO control (R/W) */
     16  1.1.2.1  gdamore #define	AUCOM_LCTL	0x14	/* line control register (R/W) */
     17  1.1.2.1  gdamore #define	AUCOM_CFCR	0x14	/* line control register (R/W) */
     18  1.1.2.1  gdamore #define	AUCOM_MCR	0x18	/* modem control register (R/W) */
     19  1.1.2.1  gdamore #define	AUCOM_LSR	0x1c	/* line status register (R) */
     20  1.1.2.1  gdamore #define	AUCOM_MSR	0x20	/* modem status register (R) */
     21  1.1.2.1  gdamore #define	AUCOM_DLB	0x28	/* divisor latch (16bit) (R/W) */
     22  1.1.2.1  gdamore #define	AUCOM_MODCTL	0x100	/* module control register (R/W) */
     23  1.1.2.1  gdamore 
     24  1.1.2.1  gdamore #define	  UMC_CE	  0x2	/* module clock enable */
     25  1.1.2.1  gdamore #define	  UMC_ME	  0x1	/* module enable */
     26  1.1.2.1  gdamore 
     27  1.1.2.1  gdamore #define	AUCOM_NPORTS	0x104
     28