riscv: dts: sophgo: add Milk-V Pioneer board device tree

Milk-V Pioneer [1] is a developer motherboard based on SG2042
in a standard mATX form factor.

Currently only support booting into console with only uart
enabled, other features will be added soon later.

Link: https://milkv.io/pioneer [1]

Reviewed-by: Guo Ren <guoren@kernel.org>
Acked-by: Chao Wei <chao.wei@sophgo.com>
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
This commit is contained in:
Chen Wang 2023-10-04 23:44:25 +08:00 committed by Conor Dooley
parent 967a94a92a
commit 9439a0e8b6
3 changed files with 22 additions and 0 deletions

View File

@ -4,6 +4,7 @@ subdir-y += canaan
subdir-y += microchip
subdir-y += renesas
subdir-y += sifive
subdir-y += sophgo
subdir-y += starfive
subdir-y += thead

View File

@ -0,0 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb

View File

@ -0,0 +1,19 @@
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (C) 2022 Sophgo Technology Inc. All rights reserved.
*/
#include "sg2042.dtsi"
/ {
model = "Milk-V Pioneer";
compatible = "milkv,pioneer", "sophgo,sg2042";
chosen {
stdout-path = "serial0";
};
};
&uart0 {
status = "okay";
};