xref: /linux/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts (revision e7e86d7697c6ed1dbbde18d7185c35b6967945ed)
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&emmc {
47	status = "okay";
48	bus-width = <4>;
49	max-frequency = <200000000>;
50	mmc-ddr-1_8v;
51	mmc-ddr-3_3v;
52	mmc-hs200-1_8v;
53	no-sd;
54	no-sdio;
55	non-removable;
56};
57
58&gmac0 {
59	status = "okay";
60};
61
62&mdio {
63	status = "okay";
64};
65
66&sdhci0 {
67	status = "okay";
68	bus-width = <4>;
69	no-1-8-v;
70	no-mmc;
71	no-sdio;
72	disable-wp;
73};
74
75&sdhci1 {
76	status = "okay";
77	bus-width = <4>;
78	cap-sdio-irq;
79	max-frequency = <50000000>;
80	no-mmc;
81	no-sd;
82	disable-wp;
83	non-removable;
84};
85
86&uart0 {
87	status = "okay";
88};
89