summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts
blob: aa361f3a86bb5867b2dea51652a27f98e0e29365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
 */

/dts-v1/;

#include "cv1812h.dtsi"

/ {
	model = "Huashan Pi";
	compatible = "sophgo,huashan-pi", "sophgo,cv1812h";

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

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

	reserved-memory {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;

		coprocessor_rtos: region@8fe00000 {
			reg = <0x8fe00000 0x200000>;
			no-map;
		};
	};
};

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

&uart0 {
	status = "okay";
};