boards: arm: adafruit_feather_nrf52840: use dual mode for QSPI NOR
Right before #28631 was merged the writeoc/readoc settings were ignored, so the flash was actually working in single line mode. In turns out that quad mode can't be used with this flash without setting the QE bit in the status register, so until this is supported fall back to dual mode. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
8100a4a7c8
commit
e390105b0f
1 changed files with 5 additions and 2 deletions
|
@ -95,10 +95,13 @@
|
||||||
io-pins = <17>, <22>, <23>, <21>;
|
io-pins = <17>, <22>, <23>, <21>;
|
||||||
csn-pins = <20>;
|
csn-pins = <20>;
|
||||||
gd25q16: gd25q16@0 {
|
gd25q16: gd25q16@0 {
|
||||||
|
/* NOTE: Quad mode not supported as driver does not handle
|
||||||
|
* QE bit setting in SR2. Ref. GD25Q16C, Rev 3.0, p. 12.
|
||||||
|
*/
|
||||||
compatible = "nordic,qspi-nor";
|
compatible = "nordic,qspi-nor";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
writeoc = "pp4io";
|
writeoc = "pp2o";
|
||||||
readoc = "read4io";
|
readoc = "read2io";
|
||||||
sck-frequency = <16000000>;
|
sck-frequency = <16000000>;
|
||||||
label = "GD25Q16";
|
label = "GD25Q16";
|
||||||
jedec-id = [c8 40 15];
|
jedec-id = [c8 40 15];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue