[U-Boot] [PATCH v2 5/9] dm: at91: Refactor serial driver slightly for driver model