]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] m68knommu: GPIO line defines for the ColdFire 5282
authorGreg Ungerer <gerg@snapgear.com>
Wed, 7 Mar 2007 01:28:13 +0000 (11:28 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 7 Mar 2007 02:08:38 +0000 (18:08 -0800)
For the Freescale M5282 ColdFire,
Port UA Pin Assignment Register should set to UART mode.
Patch submitted by David Wu <davidwu@arcturusnetworks.com>.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-m68knommu/m528xsim.h

index 1a3b1ae06b1e788b828c2d489fab6ac039f80856..28bf783a5d6df7302d03371ae7ad6528750eb064 100644 (file)
@@ -47,6 +47,9 @@
 /* set Port AS pin for I2C or UART */
 #define MCF5282_GPIO_PASPAR     (volatile u16 *) (MCF_IPSBAR + 0x00100056)
 
+/* Port UA Pin Assignment Register (8 Bit) */
+#define MCF5282_GPIO_PUAPAR    0x10005C
+
 /* Interrupt Mask Register Register Low */ 
 #define MCF5282_INTC0_IMRL      (volatile u32 *) (MCF_IPSBAR + 0x0C0C)
 /* Interrupt Control Register 7 */