static inline void imx6q_enet_init(void) { imx6_enet_mac_init("fsl,imx6q-fec"); imx6q_enet_phy_init(); imx6q_1588_init(); if (cpu_is_imx6q() && imx_get_soc_revision() == IMX_CHIP_REVISION_2_0) imx6q_enet_clk_sel(); imx6q_enet_plt_init(); }
static void __init imx6q_init_machine(void) { if (of_machine_is_compatible("fsl,imx6q-sabrelite")) imx6q_sabrelite_init(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); imx6q_pm_init(); imx6q_usb_init(); imx6q_1588_init(); }
static void __init imx6q_init_machine(void) { struct device *parent; imx_print_silicon_rev(cpu_is_imx6dl() ? "i.MX6DL" : "i.MX6Q", imx_get_soc_revision()); parent = imx_soc_device_init(); if (parent == NULL) pr_warn("failed to initialize soc device\n"); imx6q_enet_phy_init(); of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); imx_anatop_init(); cpu_is_imx6q() ? imx6q_pm_init() : imx6dl_pm_init(); imx6q_1588_init(); imx6q_axi_init(); }