initial support for RIRV 1K161
serial driver cleanup