From: Greg Ungerer Date: Wed, 7 Mar 2007 01:28:13 +0000 (+1000) Subject: [PATCH] m68knommu: GPIO line defines for the ColdFire 5282 X-Git-Tag: v2.6.21-rc3~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8bb25184b3bed4930f65a138faf1905ca96054af;p=linux-2.6-omap-h63xx.git [PATCH] m68knommu: GPIO line defines for the ColdFire 5282 For the Freescale M5282 ColdFire, Port UA Pin Assignment Register should set to UART mode. Patch submitted by David Wu . Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds --- diff --git a/include/asm-m68knommu/m528xsim.h b/include/asm-m68knommu/m528xsim.h index 1a3b1ae06b1..28bf783a5d6 100644 --- a/include/asm-m68knommu/m528xsim.h +++ b/include/asm-m68knommu/m528xsim.h @@ -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 */