xref: /freebsd/sys/contrib/device-tree/src/riscv/sophgo/cv1812h-huashan-pi.dts (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
4 */
5
6/dts-v1/;
7
8#include "cv1812h.dtsi"
9
10/ {
11	model = "Huashan Pi";
12	compatible = "sophgo,huashan-pi", "sophgo,cv1812h";
13
14	aliases {
15		gpio0 = &gpio0;
16		gpio1 = &gpio1;
17		gpio2 = &gpio2;
18		gpio3 = &gpio3;
19		serial0 = &uart0;
20		serial1 = &uart1;
21		serial2 = &uart2;
22		serial3 = &uart3;
23		serial4 = &uart4;
24	};
25
26	chosen {
27		stdout-path = "serial0:115200n8";
28	};
29
30	reserved-memory {
31		#address-cells = <1>;
32		#size-cells = <1>;
33		ranges;
34
35		coprocessor_rtos: region@8fe00000 {
36			reg = <0x8fe00000 0x200000>;
37			no-map;
38		};
39	};
40};
41
42&osc {
43	clock-frequency = <25000000>;
44};
45
46&uart0 {
47	status = "okay";
48};
49