move platform_device into architecture-related part for uart driver