Kaynağa Gözat

[PATCH] m68knommu: add 5208 ColdFire UART support

Add support for the UARTs on the ColdFire 5208 family.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Greg Ungerer 19 yıl önce
ebeveyn
işleme
06227039b5
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      include/asm-m68knommu/mcfuart.h

+ 4 - 0
include/asm-m68knommu/mcfuart.h

@@ -41,6 +41,10 @@
 #define MCFUART_BASE1		0x1c0           /* Base address of UART1 */
 #define MCFUART_BASE2		0x200           /* Base address of UART2 */
 #endif
+#elif defined(CONFIG_M520x)
+#define MCFUART_BASE1		0x60000		/* Base address of UART1 */
+#define MCFUART_BASE2		0x64000		/* Base address of UART2 */
+#define MCFUART_BASE3		0x68000		/* Base address of UART2 */
 #endif