riscv: dts: spacemit: Add initial support for Milk-V Jupiter
Subsystems (3)
cover riscv: dts: spacemit: Add initial support for Milk-V Jupiter
Hello,
This patch-set adds a minimal support for the Milk-V Jupiter board. which is a Mini ITX computer based on the SpacemiT K1/M1 RISC-V SoC.
The DTS is very basic but at least allows to boot into a serial console and get UART output, similar to what exists for other K1 based boards such as the BananaPi BPI-F3.
Patch #1 just adds the compatible string for the Milk-V Jupiter to the SpacemiT bindings and patch #2 adds the minimal DTS for this computer.
Best regards,
Javier
Javier Martinez Canillas (2):
dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
riscv: dts: spacemit: Add Milk-V Jupiter board device tree
.../devicetree/bindings/riscv/spacemit.yaml | 1 + arch/riscv/boot/dts/spacemit/Makefile | 1 + .../boot/dts/spacemit/k1-milkv-jupiter.dts | 27 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
Signature · 1 line
2.48.1
PATCH 1/2 dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
Document the compatible string for Milk-V Jupiter board [1], which is a Mini ITX computer based on the SpacemiT K1/M1 RISC-V SoC [2].
---
Documentation/devicetree/bindings/riscv/spacemit.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/riscv/spacemit.yaml +1 -0
@@ -21,6 +21,7 @@ properties: - items: - enum: - bananapi,bpi-f3 + - milkv,jupiter - const: spacemit,k1 additionalProperties: true
Signature · 1 line
2.48.1
Re: [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
Quoted 6 lines · Javier Martinez Canillas
Document the compatible string for Milk-V Jupiter board [1], which is a Mini ITX computer based on the SpacemiT K1/M1 RISC-V SoC [2].
Link https://milkv.io/jupiter [1]Signed-off-by Javier Martinez Canillas <[email protected]>
Quoted 17 lines
---
Documentation/devicetree/bindings/riscv/spacemit.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/riscv/spacemit.yaml +1
-0@@ -21,6 +21,7 @@ properties: - items: - enum: - bananapi,bpi-f3 + - milkv,jupiter - const: spacemit,k1 additionalProperties: true
Re: [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
In reply to Javier Martinez CanillasQuoted 7 lines · Javier Martinez Canillas
Document the compatible string for Milk-V Jupiter board [1], which is a Mini ITX computer based on the SpacemiT K1/M1 RISC-V SoC [2].
Link https://milkv.io/jupiter [1]Signed-off-by Javier Martinez Canillas <[email protected]>---
Best regards,
Krzysztof
PATCH 2/2 riscv: dts: spacemit: Add Milk-V Jupiter board device tree
In reply to Javier Martinez CanillasAdd initial support for the Milk-V Jupiter board [1], which is a Mini ITX computer based on the SpacemiT K1/M1 Octa-Core X60 64-bit RISC-V SoC [2].
There are two variant for this board, one using the K1 chip and another using the M1 chip. The main difference is that the M1 can run at a higher frequency than the K1, thanks to its packaging.
For now, only a DTS for the K1 variant is added since there isn't support yet for the X60 cores operating performance and thermal trip points.
The support is minimal, but at least allows to boot into a serial console.
---
arch/riscv/boot/dts/spacemit/Makefile | 1 + .../boot/dts/spacemit/k1-milkv-jupiter.dts | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
arch/riscv/boot/dts/spacemit/Makefile +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_SPACEMIT) += k1-bananapi-f3.dtb +dtb-$(CONFIG_ARCH_SPACEMIT) += k1-milkv-jupiter.dtb
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts new file +27 -0
@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2024 Yangyu Chen <[email protected]> + * Copyright (C) 2025 Javier Martinez Canillas <[email protected]> + */ + +#include "k1.dtsi" +#include "k1-pinctrl.dtsi" + +/ { + model = "Milk-V Jupiter (K1)"; + compatible = "milkv,jupiter", "spacemit,k1"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0"; + }; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_2_cfg>; + status = "okay"; +};
Signature · 1 line
2.48.1
Hi Javier:
Quoted 12 lines · Javier Martinez Canillas
Hello,
This patch-set adds a minimal support for the Milk-V Jupiter board. which is a Mini ITX computer based on the SpacemiT K1/M1 RISC-V SoC.
The DTS is very basic but at least allows to boot into a serial console and get UART output, similar to what exists for other K1 based boards such as the BananaPi BPI-F3.
Patch #1 just adds the compatible string for the Milk-V Jupiter to the SpacemiT bindings and patch #2 adds the minimal DTS for this computer.
Quoted 8 lines
Best regards,
JavierJavier Martinez Canillas (2):
dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
riscv: dts: spacemit: Add Milk-V Jupiter board device tree
Quoted 9 lines
.../devicetree/bindings/riscv/spacemit.yaml | 1 + arch/riscv/boot/dts/spacemit/Makefile | 1 + .../boot/dts/spacemit/k1-milkv-jupiter.dts | 27 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtsSignature · 1 line
2.48.1
Signature · 3 lines
Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55
Yixun Lan
AppliedQuoted 8 lines · Javier Martinez Canillas
This patch-set adds a minimal support for the Milk-V Jupiter board. which is a Mini ITX computer based on the SpacemiT K1/M1 RISC-V SoC.
The DTS is very basic but at least allows to boot into a serial console and get UART output, similar to what exists for other K1 based boards such as the BananaPi BPI-F3.
[...]
Thanks, Applied to SpacemiT's SoC tree:
https://github.com/spacemit-com/linux/ (for-next)
[1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
https://github.com/spacemit-com/linux/commit/8c8d2a19a3ad87d9344a5e58172f8e0c05c4622a [2/2] riscv: dts: spacemit: Add Milk-V Jupiter board device tree https://github.com/spacemit-com/linux/commit/5b90a3d6092d9292d3c4fe4eef8969282e070ae3
The for-next branch will be sent via a formal Pull Request to the Linux SoC maintainers for inclusion in next merge window.
Best regards,
Signature · 1 line
Yixun Lan