2 FreeRTOS MCF5235 port - Copyright (C) 2006 Christian Walter.
4 This file is part of the FreeRTOS distribution.
6 FreeRTOS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License** as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 FreeRTOS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with FreeRTOS; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 A special exception to the GPL can be applied should you wish to distribute
21 a combined work that includes FreeRTOS, without being obliged to provide
22 the source code for any proprietary components. See the licensing section
23 of http://www.FreeRTOS.org for full details of how and when the exception
26 ***************************************************************************
27 ***************************************************************************
29 * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation *
31 * This is a concise, step by step, 'hands on' guide that describes both *
32 * general multitasking concepts and FreeRTOS specifics. It presents and *
33 * explains numerous examples that are written using the FreeRTOS API. *
34 * Full source code for all the examples is provided in an accompanying *
37 ***************************************************************************
38 ***************************************************************************
40 Please ensure to read the configuration and relevant port sections of the
43 http://www.FreeRTOS.org - Documentation, latest information, license and
46 http://www.SafeRTOS.com - A version that is certified for use in safety
49 http://www.OpenRTOS.com - Commercial support, development, porting,
50 licensing and training services.
56 /* Function prototypes */
57 void init_main( void );
58 static void disable_interrupts( void );
59 static void disable_watchdog_timer( void );
60 static void disable_cache( void );
61 static void init_ipsbar( void );
62 static void init_basics( void );
63 static void init_clock_config( void );
64 static void init_chip_selects( void );
65 static void init_bus_config( void );
66 static void init_cache( void );
67 static void init_eport( void );
68 static void init_flexcan( void );
69 static void init_power_management( void );
70 static void init_dma_timers( void );
71 static void init_interrupt_timers( void );
72 static void init_watchdog_timers( void );
73 static void init_pin_assignments( void );
74 static void init_sdram_controller( void );
75 static void init_interrupt_controller( void );
78 /*********************************************************************
79 * init_main - Main entry point for initialisation code *
80 **********************************************************************/
85 /* Initialise base address of peripherals, VBR, etc */
90 /* Disable interrupts, watchdog timer, cache */
91 disable_interrupts( );
92 disable_watchdog_timer( );
95 /* Initialise individual modules */
101 init_power_management( );
103 init_interrupt_timers( );
104 init_watchdog_timers( );
105 init_pin_assignments( );
106 init_sdram_controller( );
108 /* Initialise interrupt controller */
109 init_interrupt_controller( );
112 /*********************************************************************
113 * disable_interrupts - Disable all interrupt sources *
114 **********************************************************************/
116 disable_interrupts( void )
122 /* Set ICR008-ICR063 to 0x0 */
123 p = ( vuint8 * ) & MCF_INTC0_ICR8;
124 for( i = 8; i <= 63; i++ )
127 /* Set ICR108-ICR163 to 0x0 */
128 p = ( vuint8 * ) & MCF_INTC1_ICR8;
129 for( i = 108; i <= 163; i++ )
134 /*********************************************************************
135 * disable_watchdog_timer - Disable system watchdog timer *
136 **********************************************************************/
138 disable_watchdog_timer( void )
141 /* Disable Core Watchdog Timer */
145 /*********************************************************************
146 * disable_cache - Disable and invalidate cache *
147 **********************************************************************/
149 disable_cache( void )
151 asm ( "move.l #0x01000000, %d0" );
152 asm ( "movec %d0, %CACR" );
155 /*********************************************************************
156 * init_basics - Configuration Information & VBR *
157 **********************************************************************/
162 extern uint32 __RAMVEC[];
163 extern uint32 __ROMVEC[];
165 /* Transfer size not driven on SIZ[1:0] pins during external cycles
166 Processor Status (PST) and Debug Data (DDATA) functions disabled
168 Output pads configured for full strength
170 MCF_CCM_CCR = ( 0x1 << 15 ) | MCF_CCM_CCR_BME;
172 /* Set up RAM vectors */
173 for( i = 0; i < 256; i++ )
176 __RAMVEC[i] = __ROMVEC[i];
178 asm( "move.l %0,%%d0": :"i"( __RAMVEC ) );
179 asm( "movec %d0,%vbr" );
183 /*********************************************************************
184 * init_clock_config - Clock Module *
185 **********************************************************************/
187 init_clock_config( void )
189 /* Clock module uses normal PLL mode with 25.0000 MHz external reference (Fref)
191 Bus clock frequency = 25.00 MHz
192 Processor clock frequency = 2 x bus clock = 50.00 MHz
193 Frequency Modulation disabled
194 Loss of clock detection disabled
195 Reset/Interrupt on loss of lock disabled
197 MCF_FMPLL_SYNCR = 0x00100000; /* Set RFD=RFD+1 to avoid frequency overshoot */
198 while( ( MCF_FMPLL_SYNSR & 0x08 ) == 0 ) /* Wait for PLL to lock */
200 MCF_FMPLL_SYNCR = 0x00080000; /* Set desired RFD */
201 while( ( MCF_FMPLL_SYNSR & 0x08 ) == 0 ) /* Wait for PLL to lock */
206 /*********************************************************************
207 * init_ipsbar - Internal Peripheral System Base Address (IPSBAR) *
208 **********************************************************************/
214 /* Base address of internal peripherals (IPSBAR) = 0x40000000
216 Note: Processor powers up with IPS base address = 0x40000000
217 Write to IPS base + 0x00000000 to set new value
219 *( vuint32 * ) 0x40000000 = ( vuint32 ) __IPSBAR + 1;
221 /* Configure RAMBAR in SCM module and allow dual-ported access. */
222 MCF_SCM_RAMBAR = ( uint32 ) &__SRAM | MCF_SCM_RAMBAR_BDE;
225 /*********************************************************************
226 * init_chip_selects - Chip Select Module *
227 **********************************************************************/
229 init_chip_selects( void )
232 uint32 FLASH_ADDR = (uint32)&__FLASH;
234 /* Chip Select 0 - External Flash */
235 MCF_CS_CSAR0 = MCF_CS_CSAR_BA( FLASH_ADDR );
237 | MCF_CS_CSCR_IWS( 6 )
238 | MCF_CS_CSCR_AA | MCF_CS_CSCR_PS_16 );
239 MCF_CS_CSMR0 = MCF_CS_CSMR_BAM_2M | MCF_CS_CSMR_V;
241 /* Chip Select 1 disabled (CSMR1[V] = 0) */
246 /* Chip Select 2 disabled (CSMR2[V] = 0) */
251 /* Chip Select 3 disabled (CSMR3[V] = 0) */
256 /* Chip Select 4 disabled (CSMR4[V] = 0) */
261 /* Chip Select 5 disabled (CSMR5[V] = 0) */
266 /* Chip Select 6 disabled (CSMR6[V] = 0) */
271 /* Chip Select 7 disabled (CSMR7[V] = 0) */
277 /*********************************************************************
278 * init_bus_config - Internal Bus Arbitration *
279 **********************************************************************/
281 init_bus_config( void )
284 /* Use round robin arbitration scheme
285 Assigned priorities (highest first):
289 DMA bandwidth control disabled
290 Park on last active bus master
293 MCF_SCM_MPARK_M3_PRTY( 0x3 ) | MCF_SCM_MPARK_M2_PRTY( 0x2 ) |
294 MCF_SCM_MPARK_M1_PRTY( 0x1 );
297 /*********************************************************************
298 * init_cache - Instruction/Data Cache *
299 **********************************************************************/
303 /* Configured as split cache: 4 KByte instruction cache and 4 Kbyte data cache
304 ACR0: Don't cache accesses to 16 MB memory region at address $20000000
305 ACR1: Don't cache accesses to 1 GB memory region at address $40000000
306 CACR: Cache accesses to the rest of memory
308 asm("move.l #0x80000000,%d0");
309 asm("movec %d0,%CACR");
310 asm("move.l #0x2000c040,%d0");
311 asm("movec %d0,%ACR0");
312 asm("move.l #0x403fc040,%d0");
313 asm("movec %d0,%ACR1");
315 /* Instruction/Data cache disabled. */
316 //asm( "move.l #0x00000000, %d0" );
317 //asm( "movec %d0,%cacr" );
320 /*********************************************************************
321 * init_eport - Edge Port Module (EPORT) *
322 **********************************************************************/
327 /* Pins 1-7 configured as GPIO inputs */
333 /*********************************************************************
334 * init_flexcan - FlexCAN Module *
335 **********************************************************************/
340 /* FlexCAN controller 0 disabled (CANMCR0[MDIS]=1) */
342 MCF_CAN_RXGMASK0 = MCF_CAN_RXGMASK_MI( 0x1fffffff );
343 MCF_CAN_RX14MASK0 = MCF_CAN_RX14MASK_MI( 0x1fffffff );
344 MCF_CAN_RX15MASK0 = MCF_CAN_RX15MASK_MI( 0x1fffffff );
345 MCF_CAN_CANCTRL0 = 0;
347 MCF_CAN_CANMCR_MDIS | MCF_CAN_CANMCR_FRZ | MCF_CAN_CANMCR_HALT |
348 MCF_CAN_CANMCR_SUPV | MCF_CAN_CANMCR_MAXMB( 0xf );
350 /* FlexCAN controller 1 disabled (CANMCR1[MDIS]=1) */
352 MCF_CAN_RXGMASK1 = MCF_CAN_RXGMASK_MI( 0x1fffffff );
353 MCF_CAN_RX14MASK1 = MCF_CAN_RX14MASK_MI( 0x1fffffff );
354 MCF_CAN_RX15MASK1 = MCF_CAN_RX15MASK_MI( 0x1fffffff );
355 MCF_CAN_CANCTRL1 = 0;
357 MCF_CAN_CANMCR_MDIS | MCF_CAN_CANMCR_FRZ | MCF_CAN_CANMCR_HALT |
358 MCF_CAN_CANMCR_SUPV | MCF_CAN_CANMCR_MAXMB( 0xf );
361 /*********************************************************************
362 * init_power_management - Power Management *
363 **********************************************************************/
365 init_power_management( void )
368 /* On executing STOP instruction, processor enters RUN mode
369 Mode is exited when an interrupt of level 1 or higher is received
371 MCF_SCM_LPICR = MCF_SCM_LPICR_ENBSTOP;
375 /*********************************************************************
376 * init_sdram_controller - SDRAM Controller *
377 **********************************************************************/
379 init_sdram_controller( void )
382 uint32 SDRAM_ADDR = (uint32)&__SDRAM;
387 * Check to see if the SDRAM has already been initialized
388 * by a run control tool
390 if( !( MCF_SDRAMC_DACR0 & MCF_SDRAMC_DACR0_RE ) )
392 /* Initialize DRAM Control Register: DCR */
393 MCF_SDRAMC_DCR = ( MCF_SDRAMC_DCR_RTIM( 1 ) |
394 MCF_SDRAMC_DCR_RC( ( 15 * FSYS_2 ) >> 4 ) );
396 /* Initialize DACR0 */
397 MCF_SDRAMC_DACR0 = ( MCF_SDRAMC_DACR0_BA( SDRAM_ADDR >> 18UL ) |
398 MCF_SDRAMC_DACR0_CASL( 1 ) |
399 MCF_SDRAMC_DACR0_CBM( 3 ) |
400 MCF_SDRAMC_DACR0_PS( 0 ) );
402 /* Initialize DMR0 */
403 MCF_SDRAMC_DMR0 = ( MCF_SDRAMC_DMR_BAM_16M | MCF_SDRAMC_DMR0_V );
405 /* Set IP (bit 3) in DACR */
406 MCF_SDRAMC_DACR0 |= MCF_SDRAMC_DACR0_IP;
408 /* Wait 30ns to allow banks to precharge */
409 for( i = 0; i < 5; i++ )
411 asm volatile ( " nop" );
413 /* Write to this block to initiate precharge */
414 *( uint32 * ) ( SDRAM_ADDR ) = 0xA5A59696;
416 /* Set RE (bit 15) in DACR */
417 MCF_SDRAMC_DACR0 |= MCF_SDRAMC_DACR0_RE;
419 /* Wait for at least 8 auto refresh cycles to occur */
420 for( i = 0; i < 2000; i++ )
422 asm volatile ( "nop" );
424 /* Finish the configuration by issuing the IMRS. */
425 MCF_SDRAMC_DACR0 |= MCF_SDRAMC_DACR0_MRS;
427 /* Write to the SDRAM Mode Register */
428 *( uint32 * ) ( SDRAM_ADDR + 0x400 ) = 0xA5A59696;
432 /*********************************************************************
433 * init_dma_timers - DMA Timer Modules *
434 **********************************************************************/
436 init_dma_timers( void )
439 /* DMA Timer 0 disabled (DTMR0[RST] = 0) */
441 MCF_TIMER_DTXMR0 = 0;
442 MCF_TIMER_DTRR0 = 0xffffffff;
444 /* DMA Timer 1 disabled (DTMR1[RST] = 0) */
446 MCF_TIMER_DTXMR1 = 0;
447 MCF_TIMER_DTRR1 = 0xffffffff;
449 /* DMA Timer 2 disabled (DTMR2[RST] = 0) */
451 MCF_TIMER_DTXMR2 = 0;
452 MCF_TIMER_DTRR2 = 0xffffffff;
454 /* DMA Timer 3 disabled (DTMR3[RST] = 0) */
456 MCF_TIMER_DTXMR3 = 0;
457 MCF_TIMER_DTRR3 = 0xffffffff;
460 /**********************************************************************
461 * init_interrupt_timers - Programmable Interrupt Timer (PIT) Modules *
462 ***********************************************************************/
464 init_interrupt_timers( void )
467 /* PIT0 disabled (PCSR0[EN]=0) */
470 /* PIT1 disabled (PCSR1[EN]=0) */
473 /* PIT2 disabled (PCSR2[EN]=0) */
476 /* PIT3 disabled (PCSR3[EN]=0) */
480 /*********************************************************************
481 * init_watchdog_timers - Watchdog Timer Modules *
482 **********************************************************************/
484 init_watchdog_timers( void )
487 /* Watchdog Timer disabled (WCR[EN]=0)
488 NOTE: WCR and WMR cannot be written again until after the
491 MCF_WTM_WCR = MCF_WTM_WCR_WAIT | MCF_WTM_WCR_DOZE | MCF_WTM_WCR_HALTED;
492 MCF_WTM_WMR = 0xffff;
494 /* Core Watchdog Timer disabled (CWCR[CWE]=0) */
498 /*********************************************************************
499 * init_interrupt_controller - Interrupt Controller *
500 **********************************************************************/
502 init_interrupt_controller( void )
505 /* Configured interrupt sources in order of priority...
506 Level 7: External interrupt /IRQ7, (initially masked)
507 Level 6: External interrupt /IRQ6, (initially masked)
508 Level 5: External interrupt /IRQ5, (initially masked)
509 Level 4: External interrupt /IRQ4, (initially masked)
510 Level 3: External interrupt /IRQ3, (initially masked)
511 Level 2: External interrupt /IRQ2, (initially masked)
512 Level 1: External interrupt /IRQ1, (initially masked)
608 MCF_INTC0_IMRH = 0xffffffff;
610 MCF_INTC0_IMRL_INT_MASK31 | MCF_INTC0_IMRL_INT_MASK30 |
611 MCF_INTC0_IMRL_INT_MASK29 | MCF_INTC0_IMRL_INT_MASK28 |
612 MCF_INTC0_IMRL_INT_MASK27 | MCF_INTC0_IMRL_INT_MASK26 |
613 MCF_INTC0_IMRL_INT_MASK25 | MCF_INTC0_IMRL_INT_MASK24 |
614 MCF_INTC0_IMRL_INT_MASK23 | MCF_INTC0_IMRL_INT_MASK22 |
615 MCF_INTC0_IMRL_INT_MASK21 | MCF_INTC0_IMRL_INT_MASK20 |
616 MCF_INTC0_IMRL_INT_MASK19 | MCF_INTC0_IMRL_INT_MASK18 |
617 MCF_INTC0_IMRL_INT_MASK17 | MCF_INTC0_IMRL_INT_MASK16 |
618 MCF_INTC0_IMRL_INT_MASK15 | MCF_INTC0_IMRL_INT_MASK14 |
619 MCF_INTC0_IMRL_INT_MASK13 | MCF_INTC0_IMRL_INT_MASK12 |
620 MCF_INTC0_IMRL_INT_MASK11 | MCF_INTC0_IMRL_INT_MASK10 |
621 MCF_INTC0_IMRL_INT_MASK9 | MCF_INTC0_IMRL_INT_MASK8 |
622 MCF_INTC0_IMRL_INT_MASK7 | MCF_INTC0_IMRL_INT_MASK6 |
623 MCF_INTC0_IMRL_INT_MASK5 | MCF_INTC0_IMRL_INT_MASK4 |
624 MCF_INTC0_IMRL_INT_MASK3 | MCF_INTC0_IMRL_INT_MASK2 |
625 MCF_INTC0_IMRL_INT_MASK1;
626 MCF_INTC1_IMRH = 0xffffffff;
628 MCF_INTC1_IMRL_INT_MASK31 | MCF_INTC1_IMRL_INT_MASK30 |
629 MCF_INTC1_IMRL_INT_MASK29 | MCF_INTC1_IMRL_INT_MASK28 |
630 MCF_INTC1_IMRL_INT_MASK27 | MCF_INTC1_IMRL_INT_MASK26 |
631 MCF_INTC1_IMRL_INT_MASK25 | MCF_INTC1_IMRL_INT_MASK24 |
632 MCF_INTC1_IMRL_INT_MASK23 | MCF_INTC1_IMRL_INT_MASK22 |
633 MCF_INTC1_IMRL_INT_MASK21 | MCF_INTC1_IMRL_INT_MASK20 |
634 MCF_INTC1_IMRL_INT_MASK19 | MCF_INTC1_IMRL_INT_MASK18 |
635 MCF_INTC1_IMRL_INT_MASK17 | MCF_INTC1_IMRL_INT_MASK16 |
636 MCF_INTC1_IMRL_INT_MASK15 | MCF_INTC1_IMRL_INT_MASK14 |
637 MCF_INTC1_IMRL_INT_MASK13 | MCF_INTC1_IMRL_INT_MASK12 |
638 MCF_INTC1_IMRL_INT_MASK11 | MCF_INTC1_IMRL_INT_MASK10 |
639 MCF_INTC1_IMRL_INT_MASK9 | MCF_INTC1_IMRL_INT_MASK8 |
640 MCF_INTC1_IMRL_INT_MASK7 | MCF_INTC1_IMRL_INT_MASK6 |
641 MCF_INTC1_IMRL_INT_MASK5 | MCF_INTC1_IMRL_INT_MASK4 |
642 MCF_INTC1_IMRL_INT_MASK3 | MCF_INTC1_IMRL_INT_MASK2 |
643 MCF_INTC1_IMRL_INT_MASK1;
646 /*********************************************************************
647 * init_pin_assignments - Pin Assignment and General Purpose I/O *
648 **********************************************************************/
650 init_pin_assignments( void )
653 /* Pin assignments for port ADDR
654 Pins are all GPIO inputs
656 MCF_GPIO_PDDR_APDDR = 0;
657 MCF_GPIO_PAR_AD = MCF_GPIO_PAR_AD_PAR_ADDR23
658 | MCF_GPIO_PAR_AD_PAR_ADDR22
659 | MCF_GPIO_PAR_AD_PAR_ADDR21 | MCF_GPIO_PAR_AD_PAR_DATAL;
661 /* Pin assignments for ports DATAH and DATAL
662 Pins are all GPIO inputs
664 MCF_GPIO_PDDR_DATAH = 0;
665 MCF_GPIO_PDDR_DATAL = 0;
667 /* Pin assignments for port BUSCTL
668 Pin /OE : External bus output enable, /OE
669 Pin /TA : External bus transfer acknowledge, /TA
670 Pin /TEA : External bus transfer error acknowledge, /TEA
671 Pin R/W : External bus read/write indication, R/W
672 Pin TSIZ1 : External bus transfer size TSIZ1 or DMA acknowledge /DACK1
673 Pin TSIZ0 : External bus transfer size TSIZ0 or DMA acknowledge /DACK0
674 Pin /TS : External bus transfer start, /TS
675 Pin /TIP : External bus transfer in progess, /TIP
677 MCF_GPIO_PDDR_BUSCTL = 0;
678 MCF_GPIO_PAR_BUSCTL =
679 MCF_GPIO_PAR_BUSCTL_PAR_OE | MCF_GPIO_PAR_BUSCTL_PAR_TA |
680 MCF_GPIO_PAR_BUSCTL_PAR_TEA( 0x3 ) | MCF_GPIO_PAR_BUSCTL_PAR_RWB |
681 MCF_GPIO_PAR_BUSCTL_PAR_TSIZ1 | MCF_GPIO_PAR_BUSCTL_PAR_TSIZ0 |
682 MCF_GPIO_PAR_BUSCTL_PAR_TS( 0x3 ) |
683 MCF_GPIO_PAR_BUSCTL_PAR_TIP( 0x3 );
685 /* Pin assignments for port BS
686 Pin /BS3 : External byte strobe /BS3
687 Pin /BS2 : External byte strobe /BS2
688 Pin /BS1 : External byte strobe /BS1
689 Pin /BS0 : External byte strobe /BS0
691 MCF_GPIO_PDDR_BS = 0;
693 MCF_GPIO_PAR_BS_PAR_BS3 | MCF_GPIO_PAR_BS_PAR_BS2 |
694 MCF_GPIO_PAR_BS_PAR_BS1 | MCF_GPIO_PAR_BS_PAR_BS0;
696 /* Pin assignments for port CS
697 Pin /CS7 : Chip select /CS7
698 Pin /CS6 : Chip select /CS6
699 Pin /CS5 : Chip select /CS5
700 Pin /CS4 : Chip select /CS4
701 Pin /CS3 : Chip select /CS3
702 Pin /CS2 : Chip select /CS2
703 Pin /CS1 : Chip select /CS1
705 MCF_GPIO_PDDR_CS = 0;
707 MCF_GPIO_PAR_CS_PAR_CS7 | MCF_GPIO_PAR_CS_PAR_CS6 |
708 MCF_GPIO_PAR_CS_PAR_CS5 | MCF_GPIO_PAR_CS_PAR_CS4 |
709 MCF_GPIO_PAR_CS_PAR_CS3 | MCF_GPIO_PAR_CS_PAR_CS2 |
710 MCF_GPIO_PAR_CS_PAR_CS1;
712 /* Pin assignments for port SDRAM
713 Pin /SD_WE : SDRAM controller /SD_WE
714 Pin /SD_SCAS : SDRAM controller /SD_SCAS
715 Pin /SD_SRAS : SDRAM controller /SD_SRAS
716 Pin /SD_SCKE : SDRAM controller /SD_SCKE
717 Pin /SD_CS1 : SDRAM controller /SD_CS1
718 Pin /SD_CS0 : SDRAM controller /SD_CS0
720 MCF_GPIO_PDDR_SDRAM = 0;
722 MCF_GPIO_PAR_SDRAM_PAR_SDWE | MCF_GPIO_PAR_SDRAM_PAR_SCAS |
723 MCF_GPIO_PAR_SDRAM_PAR_SRAS | MCF_GPIO_PAR_SDRAM_PAR_SCKE |
724 MCF_GPIO_PAR_SDRAM_PAR_SDCS1 | MCF_GPIO_PAR_SDRAM_PAR_SDCS0;
726 /* Pin assignments for port FECI2C
727 Pins are all GPIO inputs
729 MCF_GPIO_PDDR_FECI2C = 0;
730 MCF_GPIO_PAR_FECI2C =
731 MCF_GPIO_PAR_FECI2C_PAR_EMDC_FEC | MCF_GPIO_PAR_FECI2C_PAR_EMDIO_FEC;
733 /* Pin assignments for port UARTL
734 Pins are all GPIO inputs
736 MCF_GPIO_PDDR_UARTL = 0;
737 MCF_GPIO_PAR_UART = 0;
739 /* Pin assignments for port UARTH
740 Pin U2TXD : GPIO input
741 Pin U2RXD : GPIO input
742 Pin /IRQ2 : Interrupt request /IRQ2 or GPIO
744 MCF_GPIO_PDDR_UARTH = 0;
746 /* Pin assignments for port QSPI
747 Pins are all GPIO inputs
749 MCF_GPIO_PDDR_QSPI = 0;
750 MCF_GPIO_PAR_QSPI = 0;
752 /* Pin assignments for port TIMER
753 Pins are all GPIO inputs
755 MCF_GPIO_PDDR_TIMER = 0;
756 MCF_GPIO_PAR_TIMER = 0;
758 /* Pin assignments for port ETPU
759 Pins are all GPIO inputs
761 MCF_GPIO_PDDR_ETPU = 0;
762 MCF_GPIO_PAR_ETPU = 0;