ARM: add flat device tree support