]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dts: spacemit: enable QSPI and add SPI NOR on Milk-V Jupiter
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 26 Mar 2026 18:35:32 +0000 (19:35 +0100)
committerYixun Lan <dlan@kernel.org>
Fri, 27 Mar 2026 02:17:28 +0000 (02:17 +0000)
commit2829823956f0f590f5c6b4eafed2dab7a96f69b3
treea1b46b4e4b1c474fbad5b1bbd641cc667a28e518
parent7af5edec73d5d69618541f91600adeb6f35b7d17
riscv: dts: spacemit: enable QSPI and add SPI NOR on Milk-V Jupiter

Add the QSPI controller node for the Milk-V Jupiter board and describe
the attached SPI NOR flash (GD25Q64E).

The flash supports a frequency up to 133MHz (80 MHz for reads), and the
SoC supports a frequency up to 104 MHz. However tests have shown that
the flash is not reliably detected above 26.5 MHz, consistent with
frequency used in the vendor kernel. Therefore, use this frequency.

The m25p,fast-read properties is taken from the vendor kernel, and the
GD25Q64E datasheet confirms tha the fast read opcodes are supported.

Add a corresponding flash partition layout, matching the layout and the
names used in the vendor U-Boot.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://lore.kernel.org/r/20260326183745.1370642-5-aurelien@aurel32.net
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts