ARM: pxa: a639: Support for more peripherals with code cleanup