m7: add initial device support