Commit 27df2ed3 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Conor Dooley
Browse files

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

Milk-V Duo[1] board is an embedded development platform based on the
CV1800B chip. Add minimal device tree files for the development board.

Support basic uart drivers, so supports booting to a basic shell.

Link: https://milkv.io/duo

 [1]
Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
Acked-by: default avatarChen Wang <unicorn_wang@outlook.com>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parent c3dffa87
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_SOPHGO) += cv1800b-milkv-duo.dtb
dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb
+38 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
 */

/dts-v1/;

#include "cv1800b.dtsi"

/ {
	model = "Milk-V Duo";
	compatible = "milkv,duo", "sophgo,cv1800b";

	aliases {
		serial0 = &uart0;
		serial1 = &uart1;
		serial2 = &uart2;
		serial3 = &uart3;
		serial4 = &uart4;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0x80000000 0x3f40000>;
	};
};

&osc {
	clock-frequency = <25000000>;
};

&uart0 {
	status = "okay";
};