sh: add device tree support and generic board using device tree