device: add generic named per-device property
(cherry picked from commit cb83af64f161b228171d6fb4f36d22493cefaa7f)