Hi igor,
thanks for your reply.
The ECSPI device still not work on IMX6ULEVK.
I burn rootfs from Yocto image-core-base,and replaced zImage and device tree to your attach files,then boot kernel with imx6ul-14x14-evk-ecspi.dtb.
There are spidev0.0 and spidev 3.0(ECSPI4) under /dev,I test spidev3.0 with echo and spidev_test.c.
I probe ECSPI4 CLK pin(R1734),and CLK go low and never high after I test with echo.
The program spidev_test.c can't execute with follow message:
root@imx6ulevk:~# /usr/bin/spitest -D /dev/spidev3.0 -v
spi mode: 0x0imx-sdma 20ec000.sdma: sdma firmware not ready!
bits per word: 8
max speed: 50spidev spi3.0: SPI transfer failed: -22
0000 Hz (500 KHz)
spi_master spi3: failed to transfer one message from queue
can't send spi message: Invalid argument
Aborted (core dumped)
I have seen the message "failed to transfer one message from queue" before and I deal with it,but ECSPI still no reaction when I execute the test program.
Could you give me some further instructions?