Hi @MikeS,
Checking the overlay and the imx8x-colibri.dtsi file, we need to add the other pinctrl’s as well, otherwise, the kernel won’t boot. These pinctrl’s are responsible to enable other crucial parts of the board.
Please test this overlay, it should work now:
/dts-v1/;
/plugin/;
#include "dt-bindings/pinctrl/pads-imx8qxp.h"
/ {
compatible = "toradex,colibri-imx8x";
};
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog0>, <&pinctrl_hog1>, <&pinctrl_hog2>,
<&pinctrl_ext_io0>, <&pinctrl_lpspi2_cs2>, <&pinctrl_test>;
colibri-imx8qxp {
pinctrl_test: gpiomuxgrp {
fsl,pins = <
IMX8QXP_USDHC1_CMD_LSIO_GPIO4_IO24 0x20 /* SODIMM 190 */
>;
};
};
};
&usdhc2 {
status = "disabled";
};
Two things to notice:
-
I removed the
#include <dt-bindings/gpio/gpio.h>
since it’s not required here (theIMX8QXP_USDHC1_CMD_LSIO_GPIO4_IO24
is defined under#include "dt-bindings/pinctrl/pads-imx8qxp.h"
. -
I added the “
colibri-imx8qxp {
” because it is also defined inside the imx8x-colibri.dtsi, however maybe it’s not needed.
Let me know if that works now.
Best Regards,
Hiago.