I have an iMX6dl that has SPI port ecspi3 connected to the EZ port on a K22F, to access the K22 flash. For chip select, I am using DISP0_DAT3 (ECSPI3_SS0). I have the basic device tree info for ecspi3, but I do not see an MTD for the K22 flash (which is what I hope to have). I expect I have to add more device tree information for ecspi3, specific to the K22 flash, so that the K22 flash appears as an MTD. Anyone have information about how to do this?
Hi Gene,
As the K22 is not just a flash device, it is required additional configurations (on the low level EzPort driver) to be able to be shown as a MTD to the i.MX device. So, please take a look at the following links for EzPort implementations:
https://community.nxp.com/thread/87298
http://www.nxp.com/assets/documents/data/en/application-notes/AN4835.pdf
https://community.nxp.com/docs/DOC-102282
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------