make use of gpios dependent of CONFIG_ARCH_OMAP
fix compilation warning when not using gpios
add hold time for rgb led