MIPS: RB532: Detect uart type, add platform device