Skip to content

Commit 9d462f5

Browse files
ben717-linuxarndb
authored andcommitted
riscv: dts: andes: add Voyager board device tree
Introduce the device tree support for Voyager development board. Currently only support booting into console with only uart, other features will be added later. Signed-off-by: Ben Zong-You Xie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 609496a commit 9d462f5

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

arch/riscv/boot/dts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22
subdir-y += allwinner
3+
subdir-y += andes
34
subdir-y += canaan
45
subdir-y += microchip
56
subdir-y += renesas

arch/riscv/boot/dts/andes/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
dtb-$(CONFIG_ARCH_ANDES) += qilai-voyager.dtb
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// SPDX-License-Identifier: GPL-2.0 OR MIT
2+
/*
3+
* Copyright (C) 2025 Andes Technology Corporation. All rights reserved.
4+
*/
5+
6+
#include "qilai.dtsi"
7+
8+
/ {
9+
model = "Voyager";
10+
compatible = "andestech,voyager", "andestech,qilai";
11+
12+
aliases {
13+
serial0 = &uart0;
14+
};
15+
16+
chosen {
17+
stdout-path = "serial0:115200n8";
18+
};
19+
20+
memory@400000000 {
21+
device_type = "memory";
22+
reg = <0x4 0x00000000 0x4 0x00000000>;
23+
};
24+
};
25+
26+
&uart0 {
27+
status = "okay";
28+
};

0 commit comments

Comments
 (0)