remove security-mode from DeviceTree, prev-lang:kbd in DeviceTree as data type