Skip to content

Commit 7a61318

Browse files
docularxuYixun Lan
authored andcommitted
riscv: dts: spacemit: add K3 Pico-ITX board support
K3 Pico-ITX is a 2.5-inch single-board computer equipted with a SpacemiT K3 SoC. This minimal device tree enables booting into a serial console with UART output. Signed-off-by: Guodong Xu <guodong@riscstar.com> Link: https://lore.kernel.org/r/20260115-k3-basic-dt-v5-7-6990ac9f4308@riscstar.com Signed-off-by: Yixun Lan <dlan@kernel.org>
1 parent 56f37e3 commit 7a61318

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

arch/riscv/boot/dts/spacemit/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ dtb-$(CONFIG_ARCH_SPACEMIT) += k1-milkv-jupiter.dtb
44
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-musepi-pro.dtb
55
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-r2s.dtb
66
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-rv2.dtb
7+
dtb-$(CONFIG_ARCH_SPACEMIT) += k3-pico-itx.dtb
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2+
/*
3+
* Copyright (c) 2026 SpacemiT (Hangzhou) Technology Co. Ltd
4+
* Copyright (c) 2026 Guodong Xu <guodong@riscstar.com>
5+
*/
6+
7+
#include "k3.dtsi"
8+
9+
/ {
10+
model = "SpacemiT K3 Pico-ITX";
11+
compatible = "spacemit,k3-pico-itx", "spacemit,k3";
12+
13+
aliases {
14+
serial0 = &uart0;
15+
};
16+
17+
chosen {
18+
stdout-path = "serial0";
19+
};
20+
21+
memory@100000000 {
22+
device_type = "memory";
23+
reg = <0x1 0x00000000 0x4 0x00000000>;
24+
};
25+
};
26+
27+
&uart0 {
28+
status = "okay";
29+
};

0 commit comments

Comments
 (0)