M3: added functions to gpio.c to comply for GENERIC_GPIO.

Better is to support GPIOLIB for future proof!
See latest kernel movements: https://lkml.org/lkml/2013/3/17/65
[AML] Fix compiler warning unused variable 'oe'.
A11: Added I2C Support.
A11: Enabled LEDs.