xref: /linux/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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&sdhci0 {
47	status = "okay";
48	bus-width = <4>;
49	no-1-8-v;
50	no-mmc;
51	no-sdio;
52	disable-wp;
53};
54
55&uart0 {
56	status = "okay";
57};
58