Add the timer value wraparound processing to common wait processing

Timer value wraparound operation had not been considered in common wait process.
By defining the EXPIRE_US non-zero value, wraparound operation is enabled.
The EXPIRE_US will be define the value of each vender-specific.
If EXPIRE_US is 0, the common wait process is same as before.
Revert "Add the timer value wraparound processing to common wait processing"

This reverts commit cd8f65c94b4b6943116a72b4fb34cdacff3f948c.
Add the timer value wraparound processing to us_ticker

Timer value wraparound operation had not been considered in us_ticker.
So, User could not set upper than 128s to argument of wait().
Update upstream pushed files
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;
Merge pull request #784 from masaohamanaka/master

Targets: RZ_A1H - Add the timer value wraparound processing to us_ticker