[U-Boot] [PATCH 16/22] dm: gpio: Refactor to prepare for live tree support