dm: Introduce per-child data for devices