| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607 | 
							- /****************************************************************************/
 
- /*
 
-  *	m532xsim.h -- ColdFire 5329 registers
 
-  */
 
- /****************************************************************************/
 
- #ifndef	m532xsim_h
 
- #define	m532xsim_h
 
- /****************************************************************************/
 
- #define	CPU_NAME		"COLDFIRE(m532x)"
 
- #define	CPU_INSTR_PER_JIFFY	3
 
- #define	MCF_BUSCLK		(MCF_CLK / 3)
 
- #include <asm/m53xxacr.h>
 
- #define MCFINT_VECBASE      64
 
- #define MCFINT_UART0        26          /* Interrupt number for UART0 */
 
- #define MCFINT_UART1        27          /* Interrupt number for UART1 */
 
- #define MCFINT_UART2        28          /* Interrupt number for UART2 */
 
- #define MCFINT_QSPI         31          /* Interrupt number for QSPI */
 
- #define MCFINT_FECRX0	    36		/* Interrupt number for FEC */
 
- #define MCFINT_FECTX0	    40		/* Interrupt number for FEC */
 
- #define MCFINT_FECENTC0	    42		/* Interrupt number for FEC */
 
- #define MCF_IRQ_UART0       (MCFINT_VECBASE + MCFINT_UART0)
 
- #define MCF_IRQ_UART1       (MCFINT_VECBASE + MCFINT_UART1)
 
- #define MCF_IRQ_UART2       (MCFINT_VECBASE + MCFINT_UART2)
 
- #define MCF_IRQ_FECRX0	    (MCFINT_VECBASE + MCFINT_FECRX0)
 
- #define MCF_IRQ_FECTX0	    (MCFINT_VECBASE + MCFINT_FECTX0)
 
- #define MCF_IRQ_FECENTC0    (MCFINT_VECBASE + MCFINT_FECENTC0)
 
- #define	MCF_IRQ_QSPI	    (MCFINT_VECBASE + MCFINT_QSPI)
 
- #define MCF_WTM_WCR		0xFC098000
 
- /*
 
-  *	Define the 532x SIM register set addresses.
 
-  */
 
- #define	MCFSIM_IPRL		0xFC048004
 
- #define	MCFSIM_IPRH		0xFC048000
 
- #define	MCFSIM_IPR		MCFSIM_IPRL
 
- #define	MCFSIM_IMRL		0xFC04800C
 
- #define	MCFSIM_IMRH		0xFC048008
 
- #define	MCFSIM_IMR		MCFSIM_IMRL
 
- #define	MCFSIM_ICR0		0xFC048040	
 
- #define	MCFSIM_ICR1		0xFC048041	
 
- #define	MCFSIM_ICR2		0xFC048042	
 
- #define	MCFSIM_ICR3		0xFC048043	
 
- #define	MCFSIM_ICR4		0xFC048044	
 
- #define	MCFSIM_ICR5		0xFC048045	
 
- #define	MCFSIM_ICR6		0xFC048046	
 
- #define	MCFSIM_ICR7		0xFC048047	
 
- #define	MCFSIM_ICR8		0xFC048048	
 
- #define	MCFSIM_ICR9		0xFC048049	
 
- #define	MCFSIM_ICR10		0xFC04804A
 
- #define	MCFSIM_ICR11		0xFC04804B
 
- /*
 
-  *	Some symbol defines for the above...
 
-  */
 
- #define	MCFSIM_SWDICR		MCFSIM_ICR0	/* Watchdog timer ICR */
 
- #define	MCFSIM_TIMER1ICR	MCFSIM_ICR1	/* Timer 1 ICR */
 
- #define	MCFSIM_TIMER2ICR	MCFSIM_ICR2	/* Timer 2 ICR */
 
- #define	MCFSIM_UART1ICR		MCFSIM_ICR4	/* UART 1 ICR */
 
- #define	MCFSIM_UART2ICR		MCFSIM_ICR5	/* UART 2 ICR */
 
- #define	MCFSIM_DMA0ICR		MCFSIM_ICR6	/* DMA 0 ICR */
 
- #define	MCFSIM_DMA1ICR		MCFSIM_ICR7	/* DMA 1 ICR */
 
- #define	MCFSIM_DMA2ICR		MCFSIM_ICR8	/* DMA 2 ICR */
 
- #define	MCFSIM_DMA3ICR		MCFSIM_ICR9	/* DMA 3 ICR */
 
- #define	MCFINTC0_SIMR		0xFC04801C
 
- #define	MCFINTC0_CIMR		0xFC04801D
 
- #define	MCFINTC0_ICR0		0xFC048040
 
- #define	MCFINTC1_SIMR		0xFC04C01C
 
- #define	MCFINTC1_CIMR		0xFC04C01D
 
- #define	MCFINTC1_ICR0		0xFC04C040
 
- #define MCFINTC2_SIMR		(0)
 
- #define MCFINTC2_CIMR		(0)
 
- #define MCFINTC2_ICR0		(0)
 
- #define MCFSIM_ICR_TIMER1	(0xFC048040+32)
 
- #define MCFSIM_ICR_TIMER2	(0xFC048040+33)
 
- /*
 
-  *	Define system peripheral IRQ usage.
 
-  */
 
- #define	MCF_IRQ_TIMER		(64 + 32)	/* Timer0 */
 
- #define	MCF_IRQ_PROFILER	(64 + 33)	/* Timer1 */
 
- /*
 
-  *  UART module.
 
-  */
 
- #define MCFUART_BASE0		0xFC060000	/* Base address of UART1 */
 
- #define MCFUART_BASE1		0xFC064000	/* Base address of UART2 */
 
- #define MCFUART_BASE2		0xFC068000	/* Base address of UART3 */
 
- /*
 
-  *  FEC module.
 
-  */
 
- #define	MCFFEC_BASE0		0xFC030000	/* Base address of FEC0 */
 
- #define	MCFFEC_SIZE0		0x800		/* Size of FEC0 region */
 
- /*
 
-  *  QSPI module.
 
-  */
 
- #define	MCFQSPI_BASE		0xFC058000	/* Base address of QSPI */
 
- #define	MCFQSPI_SIZE		0x40		/* Size of QSPI region */
 
- #define	MCFQSPI_CS0		84
 
- #define	MCFQSPI_CS1		85
 
- #define	MCFQSPI_CS2		86
 
- /*
 
-  *  Timer module.
 
-  */
 
- #define MCFTIMER_BASE1		0xFC070000	/* Base address of TIMER1 */
 
- #define MCFTIMER_BASE2		0xFC074000	/* Base address of TIMER2 */
 
- #define MCFTIMER_BASE3		0xFC078000	/* Base address of TIMER3 */
 
- #define MCFTIMER_BASE4		0xFC07C000	/* Base address of TIMER4 */
 
- /*********************************************************************
 
-  *
 
-  * Reset Controller Module
 
-  *
 
-  *********************************************************************/
 
- #define	MCF_RCR			0xFC0A0000
 
- #define	MCF_RSR			0xFC0A0001
 
- #define	MCF_RCR_SWRESET		0x80		/* Software reset bit */
 
- #define	MCF_RCR_FRCSTOUT	0x40		/* Force external reset */
 
- /*
 
-  * Power Management
 
-  */
 
- #define MCFPM_WCR		0xfc040013
 
- #define MCFPM_PPMSR0		0xfc04002c
 
- #define MCFPM_PPMCR0		0xfc04002d
 
- #define MCFPM_PPMSR1		0xfc04002e
 
- #define MCFPM_PPMCR1		0xfc04002f
 
- #define MCFPM_PPMHR0		0xfc040030
 
- #define MCFPM_PPMLR0		0xfc040034
 
- #define MCFPM_PPMHR1		0xfc040038
 
- #define MCFPM_LPCR		0xec090007
 
- /*
 
-  *	The M5329EVB board needs a help getting its devices initialized 
 
-  *	at kernel start time if dBUG doesn't set it up (for example 
 
-  *	it is not used), so we need to do it manually.
 
-  */
 
- #ifdef __ASSEMBLER__
 
- .macro m5329EVB_setup
 
- 	movel	#0xFC098000, %a7
 
- 	movel	#0x0, (%a7)
 
- #define CORE_SRAM	0x80000000	
 
- #define CORE_SRAM_SIZE	0x8000
 
- 	movel	#CORE_SRAM, %d0
 
- 	addl	#0x221, %d0
 
- 	movec	%d0,%RAMBAR1
 
- 	movel	#CORE_SRAM, %sp
 
- 	addl	#CORE_SRAM_SIZE, %sp
 
- 	jsr	sysinit
 
- .endm
 
- #define	PLATFORM_SETUP	m5329EVB_setup
 
- #endif /* __ASSEMBLER__ */
 
- /*********************************************************************
 
-  *
 
-  * Chip Configuration Module (CCM)
 
-  *
 
-  *********************************************************************/
 
- /* Register read/write macros */
 
- #define MCF_CCM_CCR               0xFC0A0004
 
- #define MCF_CCM_RCON              0xFC0A0008
 
- #define MCF_CCM_CIR               0xFC0A000A
 
- #define MCF_CCM_MISCCR            0xFC0A0010
 
- #define MCF_CCM_CDR               0xFC0A0012
 
- #define MCF_CCM_UHCSR             0xFC0A0014
 
- #define MCF_CCM_UOCSR             0xFC0A0016
 
- /* Bit definitions and macros for MCF_CCM_CCR */
 
- #define MCF_CCM_CCR_RESERVED      (0x0001)
 
- #define MCF_CCM_CCR_PLL_MODE      (0x0003)
 
- #define MCF_CCM_CCR_OSC_MODE      (0x0005)
 
- #define MCF_CCM_CCR_BOOTPS(x)     (((x)&0x0003)<<3|0x0001)
 
- #define MCF_CCM_CCR_LOAD          (0x0021)
 
- #define MCF_CCM_CCR_LIMP          (0x0041)
 
- #define MCF_CCM_CCR_CSC(x)        (((x)&0x0003)<<8|0x0001)
 
- /* Bit definitions and macros for MCF_CCM_RCON */
 
- #define MCF_CCM_RCON_RESERVED     (0x0001)
 
- #define MCF_CCM_RCON_PLL_MODE     (0x0003)
 
- #define MCF_CCM_RCON_OSC_MODE     (0x0005)
 
- #define MCF_CCM_RCON_BOOTPS(x)    (((x)&0x0003)<<3|0x0001)
 
- #define MCF_CCM_RCON_LOAD         (0x0021)
 
- #define MCF_CCM_RCON_LIMP         (0x0041)
 
- #define MCF_CCM_RCON_CSC(x)       (((x)&0x0003)<<8|0x0001)
 
- /* Bit definitions and macros for MCF_CCM_CIR */
 
- #define MCF_CCM_CIR_PRN(x)        (((x)&0x003F)<<0)
 
- #define MCF_CCM_CIR_PIN(x)        (((x)&0x03FF)<<6)
 
- /* Bit definitions and macros for MCF_CCM_MISCCR */
 
- #define MCF_CCM_MISCCR_USBSRC     (0x0001)
 
- #define MCF_CCM_MISCCR_USBDIV     (0x0002)
 
- #define MCF_CCM_MISCCR_SSI_SRC    (0x0010)
 
- #define MCF_CCM_MISCCR_TIM_DMA   (0x0020)
 
- #define MCF_CCM_MISCCR_SSI_PUS    (0x0040)
 
- #define MCF_CCM_MISCCR_SSI_PUE    (0x0080)
 
- #define MCF_CCM_MISCCR_LCD_CHEN   (0x0100)
 
- #define MCF_CCM_MISCCR_LIMP       (0x1000)
 
- #define MCF_CCM_MISCCR_PLL_LOCK   (0x2000)
 
- /* Bit definitions and macros for MCF_CCM_CDR */
 
- #define MCF_CCM_CDR_SSIDIV(x)     (((x)&0x000F)<<0)
 
- #define MCF_CCM_CDR_LPDIV(x)      (((x)&0x000F)<<8)
 
- /* Bit definitions and macros for MCF_CCM_UHCSR */
 
- #define MCF_CCM_UHCSR_XPDE        (0x0001)
 
- #define MCF_CCM_UHCSR_UHMIE       (0x0002)
 
- #define MCF_CCM_UHCSR_WKUP        (0x0004)
 
- #define MCF_CCM_UHCSR_PORTIND(x)  (((x)&0x0003)<<14)
 
- /* Bit definitions and macros for MCF_CCM_UOCSR */
 
- #define MCF_CCM_UOCSR_XPDE        (0x0001)
 
- #define MCF_CCM_UOCSR_UOMIE       (0x0002)
 
- #define MCF_CCM_UOCSR_WKUP        (0x0004)
 
- #define MCF_CCM_UOCSR_PWRFLT      (0x0008)
 
- #define MCF_CCM_UOCSR_SEND        (0x0010)
 
- #define MCF_CCM_UOCSR_VVLD        (0x0020)
 
- #define MCF_CCM_UOCSR_BVLD        (0x0040)
 
- #define MCF_CCM_UOCSR_AVLD        (0x0080)
 
- #define MCF_CCM_UOCSR_DPPU        (0x0100)
 
- #define MCF_CCM_UOCSR_DCR_VBUS    (0x0200)
 
- #define MCF_CCM_UOCSR_CRG_VBUS    (0x0400)
 
- #define MCF_CCM_UOCSR_DRV_VBUS    (0x0800)
 
- #define MCF_CCM_UOCSR_DMPD        (0x1000)
 
- #define MCF_CCM_UOCSR_DPPD        (0x2000)
 
- #define MCF_CCM_UOCSR_PORTIND(x)  (((x)&0x0003)<<14)
 
- /*********************************************************************
 
-  *
 
-  * FlexBus Chip Selects (FBCS)
 
-  *
 
-  *********************************************************************/
 
- /* Register read/write macros */
 
- #define MCF_FBCS0_CSAR		0xFC008000
 
- #define MCF_FBCS0_CSMR		0xFC008004
 
- #define MCF_FBCS0_CSCR		0xFC008008
 
- #define MCF_FBCS1_CSAR		0xFC00800C
 
- #define MCF_FBCS1_CSMR		0xFC008010
 
- #define MCF_FBCS1_CSCR		0xFC008014
 
- #define MCF_FBCS2_CSAR		0xFC008018
 
- #define MCF_FBCS2_CSMR		0xFC00801C
 
- #define MCF_FBCS2_CSCR		0xFC008020
 
- #define MCF_FBCS3_CSAR		0xFC008024
 
- #define MCF_FBCS3_CSMR		0xFC008028
 
- #define MCF_FBCS3_CSCR		0xFC00802C
 
- #define MCF_FBCS4_CSAR		0xFC008030
 
- #define MCF_FBCS4_CSMR		0xFC008034
 
- #define MCF_FBCS4_CSCR		0xFC008038
 
- #define MCF_FBCS5_CSAR		0xFC00803C
 
- #define MCF_FBCS5_CSMR		0xFC008040
 
- #define MCF_FBCS5_CSCR		0xFC008044
 
- /* Bit definitions and macros for MCF_FBCS_CSAR */
 
- #define MCF_FBCS_CSAR_BA(x)	((x)&0xFFFF0000)
 
- /* Bit definitions and macros for MCF_FBCS_CSMR */
 
- #define MCF_FBCS_CSMR_V		(0x00000001)
 
- #define MCF_FBCS_CSMR_WP	(0x00000100)
 
- #define MCF_FBCS_CSMR_BAM(x)	(((x)&0x0000FFFF)<<16)
 
- #define MCF_FBCS_CSMR_BAM_4G	(0xFFFF0000)
 
- #define MCF_FBCS_CSMR_BAM_2G	(0x7FFF0000)
 
- #define MCF_FBCS_CSMR_BAM_1G	(0x3FFF0000)
 
- #define MCF_FBCS_CSMR_BAM_1024M	(0x3FFF0000)
 
- #define MCF_FBCS_CSMR_BAM_512M	(0x1FFF0000)
 
- #define MCF_FBCS_CSMR_BAM_256M	(0x0FFF0000)
 
- #define MCF_FBCS_CSMR_BAM_128M	(0x07FF0000)
 
- #define MCF_FBCS_CSMR_BAM_64M	(0x03FF0000)
 
- #define MCF_FBCS_CSMR_BAM_32M	(0x01FF0000)
 
- #define MCF_FBCS_CSMR_BAM_16M	(0x00FF0000)
 
- #define MCF_FBCS_CSMR_BAM_8M	(0x007F0000)
 
- #define MCF_FBCS_CSMR_BAM_4M	(0x003F0000)
 
- #define MCF_FBCS_CSMR_BAM_2M	(0x001F0000)
 
- #define MCF_FBCS_CSMR_BAM_1M	(0x000F0000)
 
- #define MCF_FBCS_CSMR_BAM_1024K	(0x000F0000)
 
- #define MCF_FBCS_CSMR_BAM_512K	(0x00070000)
 
- #define MCF_FBCS_CSMR_BAM_256K	(0x00030000)
 
- #define MCF_FBCS_CSMR_BAM_128K	(0x00010000)
 
- #define MCF_FBCS_CSMR_BAM_64K	(0x00000000)
 
- /* Bit definitions and macros for MCF_FBCS_CSCR */
 
- #define MCF_FBCS_CSCR_BSTW	(0x00000008)
 
- #define MCF_FBCS_CSCR_BSTR	(0x00000010)
 
- #define MCF_FBCS_CSCR_BEM	(0x00000020)
 
- #define MCF_FBCS_CSCR_PS(x)	(((x)&0x00000003)<<6)
 
- #define MCF_FBCS_CSCR_AA	(0x00000100)
 
- #define MCF_FBCS_CSCR_SBM	(0x00000200)
 
- #define MCF_FBCS_CSCR_WS(x)	(((x)&0x0000003F)<<10)
 
- #define MCF_FBCS_CSCR_WRAH(x)	(((x)&0x00000003)<<16)
 
- #define MCF_FBCS_CSCR_RDAH(x)	(((x)&0x00000003)<<18)
 
- #define MCF_FBCS_CSCR_ASET(x)	(((x)&0x00000003)<<20)
 
- #define MCF_FBCS_CSCR_SWSEN	(0x00800000)
 
- #define MCF_FBCS_CSCR_SWS(x)	(((x)&0x0000003F)<<26)
 
- #define MCF_FBCS_CSCR_PS_8	(0x0040)
 
- #define MCF_FBCS_CSCR_PS_16	(0x0080)
 
- #define MCF_FBCS_CSCR_PS_32	(0x0000)
 
- /*********************************************************************
 
-  *
 
-  * General Purpose I/O (GPIO)
 
-  *
 
-  *********************************************************************/
 
- /* Register read/write macros */
 
- #define MCFGPIO_PODR_FECH		(0xFC0A4000)
 
- #define MCFGPIO_PODR_FECL		(0xFC0A4001)
 
- #define MCFGPIO_PODR_SSI		(0xFC0A4002)
 
- #define MCFGPIO_PODR_BUSCTL		(0xFC0A4003)
 
- #define MCFGPIO_PODR_BE			(0xFC0A4004)
 
- #define MCFGPIO_PODR_CS			(0xFC0A4005)
 
- #define MCFGPIO_PODR_PWM		(0xFC0A4006)
 
- #define MCFGPIO_PODR_FECI2C		(0xFC0A4007)
 
- #define MCFGPIO_PODR_UART		(0xFC0A4009)
 
- #define MCFGPIO_PODR_QSPI		(0xFC0A400A)
 
- #define MCFGPIO_PODR_TIMER		(0xFC0A400B)
 
- #define MCFGPIO_PODR_LCDDATAH		(0xFC0A400D)
 
- #define MCFGPIO_PODR_LCDDATAM		(0xFC0A400E)
 
- #define MCFGPIO_PODR_LCDDATAL		(0xFC0A400F)
 
- #define MCFGPIO_PODR_LCDCTLH		(0xFC0A4010)
 
- #define MCFGPIO_PODR_LCDCTLL		(0xFC0A4011)
 
- #define MCFGPIO_PDDR_FECH		(0xFC0A4014)
 
- #define MCFGPIO_PDDR_FECL		(0xFC0A4015)
 
- #define MCFGPIO_PDDR_SSI		(0xFC0A4016)
 
- #define MCFGPIO_PDDR_BUSCTL		(0xFC0A4017)
 
- #define MCFGPIO_PDDR_BE			(0xFC0A4018)
 
- #define MCFGPIO_PDDR_CS			(0xFC0A4019)
 
- #define MCFGPIO_PDDR_PWM		(0xFC0A401A)
 
- #define MCFGPIO_PDDR_FECI2C		(0xFC0A401B)
 
- #define MCFGPIO_PDDR_UART		(0xFC0A401C)
 
- #define MCFGPIO_PDDR_QSPI		(0xFC0A401E)
 
- #define MCFGPIO_PDDR_TIMER		(0xFC0A401F)
 
- #define MCFGPIO_PDDR_LCDDATAH		(0xFC0A4021)
 
- #define MCFGPIO_PDDR_LCDDATAM		(0xFC0A4022)
 
- #define MCFGPIO_PDDR_LCDDATAL		(0xFC0A4023)
 
- #define MCFGPIO_PDDR_LCDCTLH		(0xFC0A4024)
 
- #define MCFGPIO_PDDR_LCDCTLL		(0xFC0A4025)
 
- #define MCFGPIO_PPDSDR_FECH		(0xFC0A4028)
 
- #define MCFGPIO_PPDSDR_FECL		(0xFC0A4029)
 
- #define MCFGPIO_PPDSDR_SSI		(0xFC0A402A)
 
- #define MCFGPIO_PPDSDR_BUSCTL		(0xFC0A402B)
 
- #define MCFGPIO_PPDSDR_BE		(0xFC0A402C)
 
- #define MCFGPIO_PPDSDR_CS		(0xFC0A402D)
 
- #define MCFGPIO_PPDSDR_PWM		(0xFC0A402E)
 
- #define MCFGPIO_PPDSDR_FECI2C		(0xFC0A402F)
 
- #define MCFGPIO_PPDSDR_UART		(0xFC0A4031)
 
- #define MCFGPIO_PPDSDR_QSPI		(0xFC0A4032)
 
- #define MCFGPIO_PPDSDR_TIMER		(0xFC0A4033)
 
- #define MCFGPIO_PPDSDR_LCDDATAH		(0xFC0A4035)
 
- #define MCFGPIO_PPDSDR_LCDDATAM		(0xFC0A4036)
 
- #define MCFGPIO_PPDSDR_LCDDATAL		(0xFC0A4037)
 
- #define MCFGPIO_PPDSDR_LCDCTLH		(0xFC0A4038)
 
- #define MCFGPIO_PPDSDR_LCDCTLL		(0xFC0A4039)
 
- #define MCFGPIO_PCLRR_FECH		(0xFC0A403C)
 
- #define MCFGPIO_PCLRR_FECL		(0xFC0A403D)
 
- #define MCFGPIO_PCLRR_SSI		(0xFC0A403E)
 
- #define MCFGPIO_PCLRR_BUSCTL		(0xFC0A403F)
 
- #define MCFGPIO_PCLRR_BE		(0xFC0A4040)
 
- #define MCFGPIO_PCLRR_CS		(0xFC0A4041)
 
- #define MCFGPIO_PCLRR_PWM		(0xFC0A4042)
 
- #define MCFGPIO_PCLRR_FECI2C		(0xFC0A4043)
 
- #define MCFGPIO_PCLRR_UART		(0xFC0A4045)
 
- #define MCFGPIO_PCLRR_QSPI		(0xFC0A4046)
 
- #define MCFGPIO_PCLRR_TIMER		(0xFC0A4047)
 
- #define MCFGPIO_PCLRR_LCDDATAH		(0xFC0A4049)
 
- #define MCFGPIO_PCLRR_LCDDATAM		(0xFC0A404A)
 
- #define MCFGPIO_PCLRR_LCDDATAL		(0xFC0A404B)
 
- #define MCFGPIO_PCLRR_LCDCTLH		(0xFC0A404C)
 
- #define MCFGPIO_PCLRR_LCDCTLL		(0xFC0A404D)
 
- #define MCFGPIO_PAR_FEC			(0xFC0A4050)
 
- #define MCFGPIO_PAR_PWM			(0xFC0A4051)
 
- #define MCFGPIO_PAR_BUSCTL		(0xFC0A4052)
 
- #define MCFGPIO_PAR_FECI2C		(0xFC0A4053)
 
- #define MCFGPIO_PAR_BE			(0xFC0A4054)
 
- #define MCFGPIO_PAR_CS			(0xFC0A4055)
 
- #define MCFGPIO_PAR_SSI			(0xFC0A4056)
 
- #define MCFGPIO_PAR_UART		(0xFC0A4058)
 
- #define MCFGPIO_PAR_QSPI		(0xFC0A405A)
 
- #define MCFGPIO_PAR_TIMER		(0xFC0A405C)
 
- #define MCFGPIO_PAR_LCDDATA		(0xFC0A405D)
 
- #define MCFGPIO_PAR_LCDCTL		(0xFC0A405E)
 
- #define MCFGPIO_PAR_IRQ			(0xFC0A4060)
 
- #define MCFGPIO_MSCR_FLEXBUS		(0xFC0A4064)
 
- #define MCFGPIO_MSCR_SDRAM		(0xFC0A4065)
 
- #define MCFGPIO_DSCR_I2C		(0xFC0A4068)
 
- #define MCFGPIO_DSCR_PWM		(0xFC0A4069)
 
- #define MCFGPIO_DSCR_FEC		(0xFC0A406A)
 
- #define MCFGPIO_DSCR_UART		(0xFC0A406B)
 
- #define MCFGPIO_DSCR_QSPI		(0xFC0A406C)
 
- #define MCFGPIO_DSCR_TIMER		(0xFC0A406D)
 
- #define MCFGPIO_DSCR_SSI		(0xFC0A406E)
 
- #define MCFGPIO_DSCR_LCD		(0xFC0A406F)
 
- #define MCFGPIO_DSCR_DEBUG		(0xFC0A4070)
 
- #define MCFGPIO_DSCR_CLKRST		(0xFC0A4071)
 
- #define MCFGPIO_DSCR_IRQ		(0xFC0A4072)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_FECH */
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH0              (0x01)
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH1              (0x02)
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH2              (0x04)
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH3              (0x08)
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH4              (0x10)
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH5              (0x20)
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH6              (0x40)
 
- #define MCF_GPIO_PODR_FECH_PODR_FECH7              (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_FECL */
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL0              (0x01)
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL1              (0x02)
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL2              (0x04)
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL3              (0x08)
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL4              (0x10)
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL5              (0x20)
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL6              (0x40)
 
- #define MCF_GPIO_PODR_FECL_PODR_FECL7              (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_SSI */
 
- #define MCF_GPIO_PODR_SSI_PODR_SSI0                (0x01)
 
- #define MCF_GPIO_PODR_SSI_PODR_SSI1                (0x02)
 
- #define MCF_GPIO_PODR_SSI_PODR_SSI2                (0x04)
 
- #define MCF_GPIO_PODR_SSI_PODR_SSI3                (0x08)
 
- #define MCF_GPIO_PODR_SSI_PODR_SSI4                (0x10)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_BUSCTL */
 
- #define MCF_GPIO_PODR_BUSCTL_POSDR_BUSCTL0         (0x01)
 
- #define MCF_GPIO_PODR_BUSCTL_PODR_BUSCTL1          (0x02)
 
- #define MCF_GPIO_PODR_BUSCTL_PODR_BUSCTL2          (0x04)
 
- #define MCF_GPIO_PODR_BUSCTL_PODR_BUSCTL3          (0x08)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_BE */
 
- #define MCF_GPIO_PODR_BE_PODR_BE0                  (0x01)
 
- #define MCF_GPIO_PODR_BE_PODR_BE1                  (0x02)
 
- #define MCF_GPIO_PODR_BE_PODR_BE2                  (0x04)
 
- #define MCF_GPIO_PODR_BE_PODR_BE3                  (0x08)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_CS */
 
- #define MCF_GPIO_PODR_CS_PODR_CS1                  (0x02)
 
- #define MCF_GPIO_PODR_CS_PODR_CS2                  (0x04)
 
- #define MCF_GPIO_PODR_CS_PODR_CS3                  (0x08)
 
- #define MCF_GPIO_PODR_CS_PODR_CS4                  (0x10)
 
- #define MCF_GPIO_PODR_CS_PODR_CS5                  (0x20)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_PWM */
 
- #define MCF_GPIO_PODR_PWM_PODR_PWM2                (0x04)
 
- #define MCF_GPIO_PODR_PWM_PODR_PWM3                (0x08)
 
- #define MCF_GPIO_PODR_PWM_PODR_PWM4                (0x10)
 
- #define MCF_GPIO_PODR_PWM_PODR_PWM5                (0x20)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_FECI2C */
 
- #define MCF_GPIO_PODR_FECI2C_PODR_FECI2C0          (0x01)
 
- #define MCF_GPIO_PODR_FECI2C_PODR_FECI2C1          (0x02)
 
- #define MCF_GPIO_PODR_FECI2C_PODR_FECI2C2          (0x04)
 
- #define MCF_GPIO_PODR_FECI2C_PODR_FECI2C3          (0x08)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_UART */
 
- #define MCF_GPIO_PODR_UART_PODR_UART0              (0x01)
 
- #define MCF_GPIO_PODR_UART_PODR_UART1              (0x02)
 
- #define MCF_GPIO_PODR_UART_PODR_UART2              (0x04)
 
- #define MCF_GPIO_PODR_UART_PODR_UART3              (0x08)
 
- #define MCF_GPIO_PODR_UART_PODR_UART4              (0x10)
 
- #define MCF_GPIO_PODR_UART_PODR_UART5              (0x20)
 
- #define MCF_GPIO_PODR_UART_PODR_UART6              (0x40)
 
- #define MCF_GPIO_PODR_UART_PODR_UART7              (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_QSPI */
 
- #define MCF_GPIO_PODR_QSPI_PODR_QSPI0              (0x01)
 
- #define MCF_GPIO_PODR_QSPI_PODR_QSPI1              (0x02)
 
- #define MCF_GPIO_PODR_QSPI_PODR_QSPI2              (0x04)
 
- #define MCF_GPIO_PODR_QSPI_PODR_QSPI3              (0x08)
 
- #define MCF_GPIO_PODR_QSPI_PODR_QSPI4              (0x10)
 
- #define MCF_GPIO_PODR_QSPI_PODR_QSPI5              (0x20)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_TIMER */
 
- #define MCF_GPIO_PODR_TIMER_PODR_TIMER0            (0x01)
 
- #define MCF_GPIO_PODR_TIMER_PODR_TIMER1            (0x02)
 
- #define MCF_GPIO_PODR_TIMER_PODR_TIMER2            (0x04)
 
- #define MCF_GPIO_PODR_TIMER_PODR_TIMER3            (0x08)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_LCDDATAH */
 
- #define MCF_GPIO_PODR_LCDDATAH_PODR_LCDDATAH0      (0x01)
 
- #define MCF_GPIO_PODR_LCDDATAH_PODR_LCDDATAH1      (0x02)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_LCDDATAM */
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM0      (0x01)
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM1      (0x02)
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM2      (0x04)
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM3      (0x08)
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM4      (0x10)
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM5      (0x20)
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM6      (0x40)
 
- #define MCF_GPIO_PODR_LCDDATAM_PODR_LCDDATAM7      (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_LCDDATAL */
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL0      (0x01)
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL1      (0x02)
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL2      (0x04)
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL3      (0x08)
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL4      (0x10)
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL5      (0x20)
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL6      (0x40)
 
- #define MCF_GPIO_PODR_LCDDATAL_PODR_LCDDATAL7      (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_LCDCTLH */
 
- #define MCF_GPIO_PODR_LCDCTLH_PODR_LCDCTLH0        (0x01)
 
- /* Bit definitions and macros for MCF_GPIO_PODR_LCDCTLL */
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL0        (0x01)
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL1        (0x02)
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL2        (0x04)
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL3        (0x08)
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL4        (0x10)
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL5        (0x20)
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL6        (0x40)
 
- #define MCF_GPIO_PODR_LCDCTLL_PODR_LCDCTLL7        (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_FECH */
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH0              (0x01)
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH1              (0x02)
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH2              (0x04)
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH3              (0x08)
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH4              (0x10)
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH5              (0x20)
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH6              (0x40)
 
- #define MCF_GPIO_PDDR_FECH_PDDR_FECH7              (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_FECL */
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL0              (0x01)
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL1              (0x02)
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL2              (0x04)
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL3              (0x08)
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL4              (0x10)
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL5              (0x20)
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL6              (0x40)
 
- #define MCF_GPIO_PDDR_FECL_PDDR_FECL7              (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_SSI */
 
- #define MCF_GPIO_PDDR_SSI_PDDR_SSI0                (0x01)
 
- #define MCF_GPIO_PDDR_SSI_PDDR_SSI1                (0x02)
 
- #define MCF_GPIO_PDDR_SSI_PDDR_SSI2                (0x04)
 
- #define MCF_GPIO_PDDR_SSI_PDDR_SSI3                (0x08)
 
- #define MCF_GPIO_PDDR_SSI_PDDR_SSI4                (0x10)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_BUSCTL */
 
- #define MCF_GPIO_PDDR_BUSCTL_POSDR_BUSCTL0         (0x01)
 
- #define MCF_GPIO_PDDR_BUSCTL_PDDR_BUSCTL1          (0x02)
 
- #define MCF_GPIO_PDDR_BUSCTL_PDDR_BUSCTL2          (0x04)
 
- #define MCF_GPIO_PDDR_BUSCTL_PDDR_BUSCTL3          (0x08)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_BE */
 
- #define MCF_GPIO_PDDR_BE_PDDR_BE0                  (0x01)
 
- #define MCF_GPIO_PDDR_BE_PDDR_BE1                  (0x02)
 
- #define MCF_GPIO_PDDR_BE_PDDR_BE2                  (0x04)
 
- #define MCF_GPIO_PDDR_BE_PDDR_BE3                  (0x08)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_CS */
 
- #define MCF_GPIO_PDDR_CS_PDDR_CS1                  (0x02)
 
- #define MCF_GPIO_PDDR_CS_PDDR_CS2                  (0x04)
 
- #define MCF_GPIO_PDDR_CS_PDDR_CS3                  (0x08)
 
- #define MCF_GPIO_PDDR_CS_PDDR_CS4                  (0x10)
 
- #define MCF_GPIO_PDDR_CS_PDDR_CS5                  (0x20)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_PWM */
 
- #define MCF_GPIO_PDDR_PWM_PDDR_PWM2                (0x04)
 
- #define MCF_GPIO_PDDR_PWM_PDDR_PWM3                (0x08)
 
- #define MCF_GPIO_PDDR_PWM_PDDR_PWM4                (0x10)
 
- #define MCF_GPIO_PDDR_PWM_PDDR_PWM5                (0x20)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_FECI2C */
 
- #define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C0          (0x01)
 
- #define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C1          (0x02)
 
- #define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C2          (0x04)
 
- #define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C3          (0x08)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_UART */
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART0              (0x01)
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART1              (0x02)
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART2              (0x04)
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART3              (0x08)
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART4              (0x10)
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART5              (0x20)
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART6              (0x40)
 
- #define MCF_GPIO_PDDR_UART_PDDR_UART7              (0x80)
 
- /* Bit definitions and macros for MCF_GPIO_PDDR_QSPI */
 
- #define MCF_GPIO_PDDR_QSPI_PDDR_QSPI0              (0x01)
 
- #define MCF_GPIO_PDDR_QSPI_PDDR_QSPI1              (0x02)
 
- #define MCF_GPIO_PDDR_QSPI_PDDR_QSPI2              (0x04)
 
- #define MCF_GPIO_PDDR_QSPI_PDDR_QSPI3              (0x08)
 
 
  |