]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: dts: andes: add Voyager board device tree
authorBen Zong-You Xie <ben717@andestech.com>
Fri, 11 Jul 2025 13:30:23 +0000 (21:30 +0800)
committerArnd Bergmann <arnd@arndb.de>
Mon, 21 Jul 2025 14:51:52 +0000 (16:51 +0200)
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 <ben717@andestech.com>
Link: https://lore.kernel.org/r/20250711133025.2192404-8-ben717@andestech.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/riscv/boot/dts/Makefile
arch/riscv/boot/dts/andes/Makefile [new file with mode: 0644]
arch/riscv/boot/dts/andes/qilai-voyager.dts [new file with mode: 0644]

index 64a898da9aee33f5c10cd332ad59b945615816bf..3b99e91efa25be2d6ca5bc173342c24a72f87187 100644 (file)
@@ -1,5 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 subdir-y += allwinner
+subdir-y += andes
 subdir-y += canaan
 subdir-y += microchip
 subdir-y += renesas
diff --git a/arch/riscv/boot/dts/andes/Makefile b/arch/riscv/boot/dts/andes/Makefile
new file mode 100644 (file)
index 0000000..c545c66
--- /dev/null
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+dtb-$(CONFIG_ARCH_ANDES) += qilai-voyager.dtb
diff --git a/arch/riscv/boot/dts/andes/qilai-voyager.dts b/arch/riscv/boot/dts/andes/qilai-voyager.dts
new file mode 100644 (file)
index 0000000..fa7d2b3
--- /dev/null
@@ -0,0 +1,28 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+/*
+ * Copyright (C) 2025 Andes Technology Corporation. All rights reserved.
+ */
+
+#include "qilai.dtsi"
+
+/ {
+       model = "Voyager";
+       compatible = "andestech,voyager", "andestech,qilai";
+
+       aliases {
+               serial0 = &uart0;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
+       memory@400000000 {
+               device_type = "memory";
+               reg = <0x4 0x00000000 0x4 0x00000000>;
+       };
+};
+
+&uart0 {
+       status = "okay";
+};