Octal RAM and Flash Driver in iMX8 BSP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Octal RAM and Flash Driver in iMX8 BSP

1,016 Views
milan_joshi
Contributor I

Hi Team,

I am Currently exploring the OctalSPI in i.MX8 family.

In fsl-imx8qxp-mek.dtsi there is a node for the micron octal flash:

&flexspi0 {
 pinctrl-names = "default";
 pinctrl-0 = <&pinctrl_flexspi0>;
 status = "okay";
flash0: mt35xu512aba@0 {
 reg = <0>; 
 #address-cells = <1>; 
 #size-cells = <1>; 
 compatible = "micron,mt35xu512aba";
 spi-max-frequency = <133000000>;
 spi-nor,ddr-quad-read-dummy = <8>; 
 };
};

but could not find any driver with "micron,mt35xu512aba" compatible property. Can you let us know where is the driver for this flash is located in Linux-imx? we are using Linux kernel version 4.19.35.  

I don't find anything for Octal RAM.  Can someone guide me for the same?

0 Kudos
2 Replies

903 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Sorry such driver is not available. So You will have to create it Yourself.

2× Quad SPI or 1× Octal SPI (FlexSPI) for fast boot from SPI NOR flash

FlexSpi (Quad

SPI/Octal SPI)

  • Single, dual, quad, and octal mode of operation.

 I only find this hope this can do some help for you.

0 Kudos

903 Views
milan_joshi
Contributor I

Hi Rita,

Thanks for the response.

As far as I understood the Quad SPI related implementation, the driver could be extended for the Octal SPI and it would be matter of initializing the flexspi for octal mode and implementing Octal SPI related JEDEC opcodes.

Also, there are some FreeRTOS based implementations available for iMXRT family which could be taken as reference for understanding and implementing/porting the same in the Linux.

Is this a correct understanding?  It would be great if you share your thoughts on the same.

0 Kudos