devices: add support for declaring compatible matched devices