imx: reorganize IMX code as other SOCs