Refactor M7 to comply with new CM device tree credit @the_muppets