* [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
2025-02-14 15:16 [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter Javier Martinez Canillas
@ 2025-02-14 15:16 ` Javier Martinez Canillas
2025-02-14 16:26 ` Matthias Brugger
2025-02-15 11:17 ` Krzysztof Kozlowski
2025-02-14 15:16 ` [PATCH 2/2] riscv: dts: spacemit: Add Milk-V Jupiter board device tree Javier Martinez Canillas
` (2 subsequent siblings)
3 siblings, 2 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2025-02-14 15:16 UTC (permalink / raw)
To: linux-kernel
Cc: javier, rjones, abologna, spacemit, Javier Martinez Canillas,
Albert Ou, Conor Dooley, Krzysztof Kozlowski, Matthias Brugger,
Palmer Dabbelt, Paul Walmsley, Rob Herring, Yangyu Chen,
Yixun Lan, devicetree, linux-riscv
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]
Link: https://www.spacemit.com/en/key-stone-k1 [2]
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---
Documentation/devicetree/bindings/riscv/spacemit.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/riscv/spacemit.yaml b/Documentation/devicetree/bindings/riscv/spacemit.yaml
index 52e55077af1a..077b94f10dca 100644
--- a/Documentation/devicetree/bindings/riscv/spacemit.yaml
+++ b/Documentation/devicetree/bindings/riscv/spacemit.yaml
@@ -21,6 +21,7 @@ properties:
- items:
- enum:
- bananapi,bpi-f3
+ - milkv,jupiter
- const: spacemit,k1
additionalProperties: true
--
2.48.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
2025-02-14 15:16 ` [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible Javier Martinez Canillas
@ 2025-02-14 16:26 ` Matthias Brugger
2025-02-15 11:17 ` Krzysztof Kozlowski
1 sibling, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2025-02-14 16:26 UTC (permalink / raw)
To: Javier Martinez Canillas, linux-kernel
Cc: javier, rjones, abologna, spacemit, Albert Ou, Conor Dooley,
Krzysztof Kozlowski, Matthias Brugger, Palmer Dabbelt,
Paul Walmsley, Rob Herring, Yangyu Chen, Yixun Lan, devicetree,
linux-riscv
On 14/02/2025 16:16, Javier Martinez Canillas wrote:
> 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]
> Link: https://www.spacemit.com/en/key-stone-k1 [2]
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
> ---
>
> Documentation/devicetree/bindings/riscv/spacemit.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/riscv/spacemit.yaml b/Documentation/devicetree/bindings/riscv/spacemit.yaml
> index 52e55077af1a..077b94f10dca 100644
> --- a/Documentation/devicetree/bindings/riscv/spacemit.yaml
> +++ b/Documentation/devicetree/bindings/riscv/spacemit.yaml
> @@ -21,6 +21,7 @@ properties:
> - items:
> - enum:
> - bananapi,bpi-f3
> + - milkv,jupiter
> - const: spacemit,k1
>
> additionalProperties: true
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible
2025-02-14 15:16 ` [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible Javier Martinez Canillas
2025-02-14 16:26 ` Matthias Brugger
@ 2025-02-15 11:17 ` Krzysztof Kozlowski
1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-15 11:17 UTC (permalink / raw)
To: Javier Martinez Canillas, linux-kernel
Cc: javier, rjones, abologna, spacemit, Albert Ou, Conor Dooley,
Krzysztof Kozlowski, Matthias Brugger, Palmer Dabbelt,
Paul Walmsley, Rob Herring, Yangyu Chen, Yixun Lan, devicetree,
linux-riscv
On 14/02/2025 16:16, Javier Martinez Canillas wrote:
> 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]
> Link: https://www.spacemit.com/en/key-stone-k1 [2]
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
> ---
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] riscv: dts: spacemit: Add Milk-V Jupiter board device tree
2025-02-14 15:16 [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter Javier Martinez Canillas
2025-02-14 15:16 ` [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible Javier Martinez Canillas
@ 2025-02-14 15:16 ` Javier Martinez Canillas
2025-02-15 8:36 ` [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter Yixun Lan
2025-02-18 0:34 ` Yixun Lan
3 siblings, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2025-02-14 15:16 UTC (permalink / raw)
To: linux-kernel
Cc: javier, rjones, abologna, spacemit, Javier Martinez Canillas,
Albert Ou, Conor Dooley, Krzysztof Kozlowski, Palmer Dabbelt,
Paul Walmsley, Rob Herring, Yixun Lan, devicetree, linux-riscv
Add 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.
Link: https://milkv.io/jupiter [1]
Link: https://www.spacemit.com/en/key-stone-k1 [2]
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---
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
diff --git a/arch/riscv/boot/dts/spacemit/Makefile b/arch/riscv/boot/dts/spacemit/Makefile
index ac617319a574..92e13ce1c16d 100644
--- a/arch/riscv/boot/dts/spacemit/Makefile
+++ b/arch/riscv/boot/dts/spacemit/Makefile
@@ -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
diff --git a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
new file mode 100644
index 000000000000..448319214104
--- /dev/null
+++ b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+/*
+ * Copyright (C) 2024 Yangyu Chen <cyy@cyyself.name>
+ * Copyright (C) 2025 Javier Martinez Canillas <javierm@redhat.com>
+ */
+
+#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";
+};
--
2.48.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter
2025-02-14 15:16 [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter Javier Martinez Canillas
2025-02-14 15:16 ` [PATCH 1/2] dt-bindings: riscv: spacemit: Add Milk-V Jupiter board compatible Javier Martinez Canillas
2025-02-14 15:16 ` [PATCH 2/2] riscv: dts: spacemit: Add Milk-V Jupiter board device tree Javier Martinez Canillas
@ 2025-02-15 8:36 ` Yixun Lan
2025-02-18 0:34 ` Yixun Lan
3 siblings, 0 replies; 7+ messages in thread
From: Yixun Lan @ 2025-02-15 8:36 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, javier, rjones, abologna, spacemit, Albert Ou,
Conor Dooley, Krzysztof Kozlowski, Matthias Brugger,
Palmer Dabbelt, Paul Walmsley, Rob Herring, Yangyu Chen,
devicetree, linux-riscv
Hi Javier:
On 16:16 Fri 14 Feb , Javier Martinez Canillas wrote:
> 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
>
Reviewed-by: Yixun Lan <dlan@gentoo.org>
> .../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
>
> --
> 2.48.1
>
--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter
2025-02-14 15:16 [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter Javier Martinez Canillas
` (2 preceding siblings ...)
2025-02-15 8:36 ` [PATCH 0/2] riscv: dts: spacemit: Add initial support for Milk-V Jupiter Yixun Lan
@ 2025-02-18 0:34 ` Yixun Lan
3 siblings, 0 replies; 7+ messages in thread
From: Yixun Lan @ 2025-02-18 0:34 UTC (permalink / raw)
To: linux-kernel, Javier Martinez Canillas
Cc: Yixun Lan, javier, rjones, abologna, spacemit, Albert Ou,
Conor Dooley, Krzysztof Kozlowski, Matthias Brugger,
Palmer Dabbelt, Paul Walmsley, Rob Herring, Yangyu Chen,
devicetree, linux-riscv
On Fri, 14 Feb 2025 16:16:36 +0100, Javier Martinez Canillas wrote:
> 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,
--
Yixun Lan
^ permalink raw reply [flat|nested] 7+ messages in thread