[PATCH v2 0/2] arm64: dts: allwinner: orangepi-zero2/zero3: Read the SPI NOR over two lines
From: Arun Iyengar via B4 Relay
Date: Thu Nov 19 2026 - 00:29:47 EST
Andre Przywara reviewed v1 and suggested labelling the flash node (patch
1) and setting spi-rx-bus-width in the dtsi shared with the Zero3 (patch 2).
spi-rx-bus-width = <2> needs the binding patch of [1] (acked, not applied
yet) to pass dtbs_check.
Without the driver patch of [1] the driver ignores the setting.
Tested on an Orange Pi Zero2 only, with [1]: 1-1-2 reads (opcode 0x3b),
two 2 MiB reads identical to an earlier dump.
[1] https://lore.kernel.org/r/20261116-spi-sun6i-h616-dual-read-v2-0-e0c66eb71e20@xxxxxxxxx
Developed with Claude (Anthropic), which wrote the patches and commit
messages. I reviewed them.
---
Changes in v2:
- Label the flash node, no nested &spi0 override (Andre)
- spi-rx-bus-width moved to the shared dtsi, Zero3 included (Andre;
he read 16 MB on a Zero3 in 1.8 s instead of 3.5 s)
- Dropped the driver dependency (Andre); the binding is still needed for dtbs_check
- Link to v1: https://patch.msgid.link/20261118-zero2-spi-nor-dual-read-v1-1-bcdcbf785be0@xxxxxxxxx
---
Arun Iyengar (2):
arm64: dts: allwinner: orangepi-zero2: Reference the SPI NOR by label
arm64: dts: allwinner: orangepi-zero2/zero3: Read the SPI NOR over two lines
arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero.dtsi | 3 ++-
arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts | 10 ++++------
2 files changed, 6 insertions(+), 7 deletions(-)
---
base-commit: 90e0d3fd460ec365617982b56bd7ea5179b36197
change-id: 20261115-zero2-spi-nor-dual-read-645a6de25e81
prerequisite-patch-id: 28b145097d0f859e5bd27bcc5028d0915f3ba4bd
Best regards,
--
Arun Iyengar <aiyengar1990@xxxxxxxxx>