Is there any documents or guides regarding how to read/write Quad SPI NOR flash?
I enabled kernel config
CONFIG_MTD_SPI_NOR=y
CONFIG_SPI_FSL_QUADSPI=y
in imx8mp-evk.dts
the node is created,
&flexspi {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexspi0>;
status = "okay";
flash0: mt25qu256aba@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <80000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
};
};
however I can see any mtdblock device if I "cat /proc/mtd"
Do I miss something?
Hello,
Need to add nor flash name in dts, for example, add "mt25qu256a".
Then you can use mtdinfo to check device.
Best Regards,
Zhiming