]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dts: spacemit: define a SPI controller node
authorAlex Elder <elder@riscstar.com>
Sun, 3 May 2026 01:30:53 +0000 (21:30 -0400)
committerYixun Lan <dlan@kernel.org>
Tue, 5 May 2026 09:55:24 +0000 (09:55 +0000)
commitc580774185426ea316396b1dc3f1737a3ad3800a
tree9655780af8d78535199085af67901097fecf137d
parent24c12ca43b12c104389d9a159207d0b25779d0af
riscv: dts: spacemit: define a SPI controller node

Define a node for the fourth SoC SPI controller (number 3) on the
SpacemiT K1 SoC.

Enable it on the Banana Pi BPI-F3 board, which exposes this feature
via its GPIO block:
  GPIO PIN 19:  MOSI
  GPIO PIN 21:  MISO
  GPIO PIN 23:  SCLK
  GPIO PIN 24:  SS (inverted)

Define pincontrol configurations for the pins as used on that board.

(This was tested using a GigaDevice GD25Q64E SPI NOR chip.)

Reviewed-by: Yixun Lan <dlan@gentoo.org>
Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Guodong Xu <guodong@riscstar.com>
Link: https://lore.kernel.org/r/20260502-spi-spacemit-k1-v10-3-f412e1ae8a34@riscstar.com
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi
arch/riscv/boot/dts/spacemit/k1.dtsi