Add some terminal setting of Serial and modify attach sequence.

Fix some bugs of Serial as below.
- TX/RX terminal of XBee(P7_4, P7_5) setting is reverse.
- P5_6 and P5_7 terminals can not be used.
- Tx interrupt will not occur at the right timing.
- There are no settings of WIFI Module terminals(P11_10,P11_11).
- There are no settings of Xbee Module terminals(P6_6,P6_7).
Remove needless processing regarding Interrupt.

EOIR writing will be done in IRQ handler.
EOIR writing is needless in each interrupt processing.
Add terminal defines of PWM and fix a bug that period can not be changed.

Fix a bug as below.
- Period can not be changed.
   Restructions: 1. The upper limits is 491us
                             2. Change all period of the same channel when changing period.
Fix a bug that coding mistakes of L2 cache

Coding mistakes as below.

   while(PL310->INV_WAY && ((1 << assoc) - 1)); ->
   while(PL310->INV_WAY & ((1 << assoc) - 1));

   PL310->INTERRUPT_CLEAR = 0; ->
   PL310->INTERRUPT_CLEAR = 0x000001FFuL;