spacemit: k3: Add support for BS01DCMA RV2768
Subsystems (3)
Troy Mitchell
reviewerv2 cover spacemit: k3: Add support for BS01DCMA RV2768
This patch series adds initial support for the SpacemiT K3 BS01DCMA module in the SpacemiT Cluster Server RV2768. BS01DCMA carries two independent K3 nodes; each has a K3 SoC, 16 GiB of LPDDR5 memory, a P1 PMIC, an EEPROM and QSPI NOR flash. The RV2768 carrier only connects the modules to PCIe network cards.
Enable support for the serial console, EEPROM, PMIC and QSPI NOR flash.
---
Changes in v2:
- Split into a k3-bs01dcma.dtsi for the module and a
k3-bs01dcma-rv2768.dts for the RV2768 carrier (Emil)
- Add the spacemit,k3-bs01dcma-rv2768 compatible, with
spacemit,k3-bs01dcma as the module fallback
- Describe BS01DCMA as a module instead of a board
- End the uboot partition at 0x700000 and add a read-only var
partition for the EDK2 variable store (Sarah)
- Add vcc-supply for the NOR flash (ALDO2, PMIC_VCC1V8_QSPI)
- Link to v1: https://patch.msgid.link/[email protected]
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Paul Walmsley <[email protected]>
To: Palmer Dabbelt <[email protected]>
To: Albert Ou <[email protected]>
To: Alexandre Ghiti <[email protected]>
To: Yixun Lan <[email protected]>
To: Troy Mitchell <[email protected]>
To: Guodong Xu <[email protected]>
To: Yangyu Chen <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
Troy Mitchell (2):
dt-bindings: riscv: spacemit: Add K3 BS01DCMA RV2768
riscv: dts: spacemit: Add K3 BS01DCMA RV2768 support
.../devicetree/bindings/riscv/spacemit.yaml | 5 + arch/riscv/boot/dts/spacemit/Makefile | 1 + .../riscv/boot/dts/spacemit/k3-bs01dcma-rv2768.dts | 19 ++ arch/riscv/boot/dts/spacemit/k3-bs01dcma.dtsi | 264 +++++++++++++++++++++ 4 files changed, 289 insertions(+)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261104-k3-bs01dcma-467fe26c462c
Best regards,
Signature · 1 line
Troy Mitchell <[email protected]>
Troy Mitchell
reviewerPATCH v2 1/2 dt-bindings: riscv: spacemit: Add K3 BS01DCMA RV2768
BS01DCMA is a compute module carrying two independent SpacemiT K3 nodes. The SpacemiT Cluster Server RV2768 is built from several of these modules plugged into a carrier.
Add compatibles for the module and for a K3 node in the RV2768.
--- Documentation/devicetree/bindings/riscv/spacemit.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/riscv/spacemit.yaml +5 -0
@@ -37,6 +37,11 @@ properties: - deepcomputing,fml13v05 - spacemit,k3-pico-itx - const: spacemit,k3 + - items: + - enum: + - spacemit,k3-bs01dcma-rv2768 + - const: spacemit,k3-bs01dcma + - const: spacemit,k3 - items: - enum: - spacemit,k3-com260-ifx
Signature · 1 line
2.56.0
Re: [PATCH v2 1/2] dt-bindings: riscv: spacemit: Add K3 BS01DCMA RV2768
pw-bot: not-applicable
Troy Mitchell
reviewerPATCH v2 2/2 riscv: dts: spacemit: Add K3 BS01DCMA RV2768 support
In reply to Troy MitchellBS01DCMA is a compute module carrying two independent K3 nodes. Each node has a SpacemiT K3 SoC, 16 GiB of LPDDR5 memory, a P1 PMIC, an EEPROM and QSPI NOR flash. The SpacemiT Cluster Server RV2768 hosts several BS01DCMA modules; its carrier only connects them to PCIe network cards.
Add a dtsi for the module with the serial console, EEPROM, PMIC and QSPI NOR flash, and a dts for a K3 node in the RV2768.
The NOR flash is a 1.8 V part powered from the PMIC_VCC1V8_QSPI rail, which is ALDO2 of the P1 PMIC. Its partitions follow the layout of the SpacemiT boot firmware. U-Boot and EDK2 both go into the partition at 0x210000; EDK2 keeps its UEFI variable store at the fixed offset 0x700000, so that partition ends below it and the store is described as a separate read-only partition.
--- arch/riscv/boot/dts/spacemit/Makefile | 1 + .../riscv/boot/dts/spacemit/k3-bs01dcma-rv2768.dts | 19 ++ arch/riscv/boot/dts/spacemit/k3-bs01dcma.dtsi | 264 +++++++++++++++++++++ 3 files changed, 284 insertions(+)
arch/riscv/boot/dts/spacemit/Makefile +1 -0
@@ -5,6 +5,7 @@ dtb-$(CONFIG_ARCH_SPACEMIT) += k1-milkv-jupiter.dtb dtb-$(CONFIG_ARCH_SPACEMIT) += k1-musepi-pro.dtb dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-r2s.dtb dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-rv2.dtb +dtb-$(CONFIG_ARCH_SPACEMIT) += k3-bs01dcma-rv2768.dtb dtb-$(CONFIG_ARCH_SPACEMIT) += k3-com260-ifx.dtb dtb-$(CONFIG_ARCH_SPACEMIT) += k3-deepcomputing-fml13v05.dtb dtb-$(CONFIG_ARCH_SPACEMIT) += k3-pico-itx.dtb
arch/riscv/boot/dts/spacemit/k3-bs01dcma-rv2768.dts new file +19 -0
@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (c) 2026 SpacemiT (Hangzhou) Technology Co. Ltd + */ + +#include "k3-bs01dcma.dtsi" + +/ { + model = "SpacemiT K3 RV2768 Cluster Server"; + compatible = "spacemit,k3-bs01dcma-rv2768", "spacemit,k3-bs01dcma", "spacemit,k3"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +};
arch/riscv/boot/dts/spacemit/k3-bs01dcma.dtsi new file +264 -0
264 lines not on this page · raw message
Signature · 1 line
2.56.0
Hi Troy,
Quoted 46 lines · Troy Mitchell
This patch series adds initial support for the SpacemiT K3 BS01DCMA module in the SpacemiT Cluster Server RV2768. BS01DCMA carries two independent K3 nodes; each has a K3 SoC, 16 GiB of LPDDR5 memory, a P1 PMIC, an EEPROM and QSPI NOR flash. The RV2768 carrier only connects the modules to PCIe network cards.
Enable support for the serial console, EEPROM, PMIC and QSPI NOR flash.
---
Changes in v2:
- Split into ak3-bs01dcma.dtsifor the module and a
k3-bs01dcma-rv2768.dtsfor the RV2768 carrier (Emil)
- Add the spacemit,k3-bs01dcma-rv2768 compatible, with
spacemit,k3-bs01dcma as the module fallback
- Describe BS01DCMA as a module instead of a board
- End the uboot partition at0x700000and add a read-only var
partition for the EDK2 variable store (Sarah)
- Add vcc-supply for the NOR flash (ALDO2,PMIC_VCC1V8_QSPI)
- Link to v1: https://patch.msgid.link/[email protected]To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Paul Walmsley <[email protected]>
To: Palmer Dabbelt <[email protected]>
To: Albert Ou <[email protected]>
To: Alexandre Ghiti <[email protected]>
To: Yixun Lan <[email protected]>
To: Troy Mitchell <[email protected]>
To: Guodong Xu <[email protected]>
To: Yangyu Chen <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]---
Troy Mitchell (2):
dt-bindings: riscv: spacemit: Add K3 BS01DCMA RV2768
riscv: dts: spacemit: Add K3 BS01DCMA RV2768 support.../devicetree/bindings/riscv/spacemit.yaml | 5 + arch/riscv/boot/dts/spacemit/Makefile | 1 + .../riscv/boot/dts/spacemit/k3-bs01dcma-rv2768.dts | 19 ++ arch/riscv/boot/dts/spacemit/k3-bs01dcma.dtsi | 264 +++++++++++++++++++++ 4 files changed, 289 insertions(+)
Quoted 8 lines
---
base-commit:6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261104-k3-bs01dcma-467fe26c462cBest regards,
Signature · 1 line
Troy Mitchell <[email protected]>
Signature · 1 line
Yixun Lan (dlan)
Quoted 9 lines · Troy Mitchell
This patch series adds initial support for the SpacemiT K3 BS01DCMA module in the SpacemiT Cluster Server RV2768. BS01DCMA carries two independent K3 nodes; each has a K3 SoC, 16 GiB of LPDDR5 memory, a P1 PMIC, an EEPROM and QSPI NOR flash. The RV2768 carrier only connects the modules to PCIe network cards.
Enable support for the serial console, EEPROM, PMIC and QSPI NOR flash.
[...]
Applied to SpacemiT SoC tree at 'dt-for-next' branch, thanks!
[1/2] dt-bindings: riscv: spacemit: Add K3 BS01DCMA RV2768
commit 9dc31ccce84dac22439d22ad28e40245ddc7b0ab
[2/2] riscv: dts: spacemit: Add K3 BS01DCMA RV2768 support
commit 09f7db7039be6e22adc02e2ca906a8ad05dbde6ahttps://git.kernel.org/pub/scm/linux/kernel/git/spacemit/linux.git
Best regards,
Signature · 1 line
Yixun Lan <[email protected]>