mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-26 05:47:12 +08:00
@@ -118,6 +118,10 @@ imx_iomux_init(void)
|
||||
|
||||
fdt = bsp_fdt_get();
|
||||
node = fdt_node_offset_by_compatible(fdt, -1, "fsl,imx7d-iomuxc");
|
||||
if (node < 0) {
|
||||
node = fdt_node_offset_by_compatible(fdt, -1,
|
||||
"fsl,imx6ul-iomuxc");
|
||||
}
|
||||
sc = iomux_sc;
|
||||
sc->regs = imx_get_reg_of_node(fdt, node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user