Hello,
we have tried to test OSPI flash memory of the EVK (PROC114E3) as a QSPI by doing suggested hardware and software modifications but we are not able to detect memory as a QSPI and it works fine as a OSPI.
We have followed suggestions for the software as per mentioned in below link but it is not working.
3.2.2.10. OSPI/QSPI — Processor SDK AM62x Documentation
&ospi0 {
flash@0 {
compatible = "spansion,s28hs512t","jedec,spi-nor";
reg = <0x0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
spi-max-frequency = <25000000>;
cdns,tshsl-ns = <60>;
cdns,tsd2d-ns = <60>;
cdns,tchsh-ns = <60>;
cdns,tslch-ns = <60>;
cdns,read-delay = <4>;
cdns,phy-mode;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "ospi.tiboot3";
reg = <0x0 0x80000>;
};
partition@80000 {
label = "ospi.tispl";
reg = <0x80000 0x200000>;
};
partition@280000 {
label = "ospi.u-boot";
reg = <0x280000 0x400000>;
};
partition@680000 {
label = "ospi.env";
reg = <0x680000 0x40000>;
};
partition@6c0000 {
label = "ospi.env.backup";
reg = <0x6c0000 0x40000>;
};
partition@800000 {
label = "ospi.rootfs";
reg = <0x800000 0x37c0000>;
};
partition@3fc0000 {
label = "ospi.phypattern";
reg = <0x3fc0000 0x40000>;
};
};
};
};
Error:
[ 1.133941] spi spi0.0: setup: ignoring unsupported mode bits 200
[ 1.140344] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
Please suggest your precious thoughts and ways to resolve the issue.
Thanks,
chintan K