Loading...
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};
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&sdhci0 {
59 status = "okay";
60 bus-width = <4>;
61 no-1-8-v;
62 no-mmc;
63 no-sdio;
64 disable-wp;
65};
66
67&sdhci1 {
68 status = "okay";
69 bus-width = <4>;
70 cap-sdio-irq;
71 max-frequency = <50000000>;
72 no-mmc;
73 no-sd;
74 disable-wp;
75 non-removable;
76};
77
78&uart0 {
79 status = "okay";
80};