[adm5120] add initial diagnostic support