Skip to content

spacemit: k1: Add support for Banana Pi BPI-CM6 IO board

Junhui Liu linux-devicetree linux-riscv lkml spacemit 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260522-bpi-cm6-dc38f91e3fec

Versions newest first

  1. v3 Latest3 patches 2 repliesApplied
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Remove uncontrolled always-on intermediate fixed regulators to
reduce device tree bloat
- Rebase to v7.2-rc1
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: riscv: spacemit: Add Banana Pi BPI-CM6 compatibleDocumentation/devicetree/bindings/riscv/spacemit.yaml+5 -00 replies
2/3riscv: dts: spacemit: k1: Split gmac_clk_ref into independent pinctrl groupsarch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts +2 more+27 -110 replies
3/3riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO boardarch/riscv/boot/dts/spacemit/Makefile arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts arch/riscv/boot/dts/spacemit/k1-bananapi-cm6.dtsi+395 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchConor DooleyMichael OpdenackerYixun Lan
SeriesR-b
1/3A-b
2/3
3/3R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] spacemit: k1: Add support for Banana Pi BPI-CM6 IO board

This adds initial support for the Banana Pi BPI-CM6 IO board. The BPI-CM6 is an industrial-grade RISC-V compute module powered by the SpacemiT K1 SoC, featuring board-to-board connectors similar to the Raspberry Pi CM4 form factor. For evaluation and development, the module is paired with a companion IO carrier board.

During the board bring-up, GPIO45 and GPIO46 were found to be used by the BPI-CM6 hardware as Ethernet PHY reset GPIOs, while the common K1 GMAC pinctrl groups currently mux them as optional GMAC reference clock pins. Since the reference clock pins are not required on all K1 boards, the second patch separates them into independent pinctrl groups so board DTS files can select them only when the signal is actually wired.

---
Changes in v3:
- Remove uncontrolled always-on intermediate fixed regulators to
reduce device tree bloat
- Rebase to v7.2-rc1
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Keep gmac_clk_ref pinctrl groups referenced on existing boards where
the pins are routed to optional PHY refclk paths
- Remove duplicate vpcie3v3-supply property from pcie1 and pcie2 nodes
- Collect tags
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Junhui Liu (3):
dt-bindings: riscv: spacemit: Add Banana Pi BPI-CM6 compatible
riscv: dts: spacemit: k1: Split gmac_clk_ref into independent pinctrl groups
riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO board

 .../devicetree/bindings/riscv/spacemit.yaml        |   5 +
 arch/riscv/boot/dts/spacemit/Makefile              |   1 +
 .../riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts | 177 +++++++++++++++++
 arch/riscv/boot/dts/spacemit/k1-bananapi-cm6.dtsi  | 217 +++++++++++++++++++++
 arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts    |   4 +-
 arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts  |   4 +-
 arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts     |   2 +-
 arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts   |   4 +-
 arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi       |  24 ++-
 9 files changed, 427 insertions(+), 11 deletions(-)

---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260522-bpi-cm6-dc38f91e3fec

Best regards,

Signature · 1 line
Junhui Liu <[email protected]>