From 61eee6d4fcba4c61ba74c92ca0550de2ce8832dc Mon Sep 17 00:00:00 2001 From: Peter Bigot Date: Tue, 20 Oct 2020 10:20:50 -0500 Subject: [PATCH] boards: nrf52840dk_nrf52840: document suppported QSPI opcodes The SPI NOR device on this board supports fastread, 2READ, DREAD, 4READ, and QREAD for read opcodes, but only PP and QPP for write opcodes. Provide a clue to people trying to use 2READ with 2PP: it won't work. Signed-off-by: Peter Bigot --- boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts b/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts index eb724721fbc..5ccd2334f31 100644 --- a/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts +++ b/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts @@ -210,7 +210,9 @@ arduino_i2c: &i2c0 { mx25r64: mx25r6435f@0 { compatible = "nordic,qspi-nor"; reg = <0>; + /* MX24R64 supports only pp and pp4io */ writeoc = "pp4io"; + /* MX24R64 supports all readoc options */ readoc = "read4io"; sck-frequency = <8000000>; label = "MX25R64";