[PATCH 6/7] bsp/imx: Support imx6ul iomux.
Christian Mauderer
christian.mauderer at embedded-brains.de
Mon Feb 10 09:35:16 UTC 2020
Update #3869.
---
bsps/arm/imx/start/imx_iomux.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bsps/arm/imx/start/imx_iomux.c b/bsps/arm/imx/start/imx_iomux.c
index cd4591fa6f..f6235d3cf4 100644
--- a/bsps/arm/imx/start/imx_iomux.c
+++ b/bsps/arm/imx/start/imx_iomux.c
@@ -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);
}
--
2.16.4
More information about the devel
mailing list