apm821xx: add support for the apm821xx device target