OK, Fabio, thanks for pointing me in the right direction.
I've changed the PAD settings for the IOMUX based on SPI_PAD_CTL1, and now my DTS looks like this:
pinctrl_cspi: cspigrp {
fsl,pins = <
MX25_PAD_CSPI1_RDY__CSPI1_RDY 0x1A0
MX25_PAD_CSPI1_SS0__GPIO_1_16 0x80000000
MX25_PAD_CSPI1_SCLK__CSPI1_SCLK 0x1A0
MX25_PAD_CSPI1_MISO__CSPI1_MISO 0x1A0
MX25_PAD_CSPI1_MOSI__CSPI1_MOSI 0x1A0
MX25_PAD_CSPI1_SS1__GPIO_1_17 0x80000000
>;
};
But the problem is the same: when I launch spidev_test, it hangs in ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
I've also tried in another module to check for hardware problems, but with the same result.
Any hint would be very much appreciated at this point, I'm getting a bit desperate here :smileysad: