add a device and add missing m7-common