xref: /linux/scripts/dtc/include-prefixes/riscv/sophgo/cv1812h-huashan-pi.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
12c36b0cfSInochi Amaoto// SPDX-License-Identifier: (GPL-2.0 OR MIT)
22c36b0cfSInochi Amaoto/*
32c36b0cfSInochi Amaoto * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
42c36b0cfSInochi Amaoto */
52c36b0cfSInochi Amaoto
62c36b0cfSInochi Amaoto/dts-v1/;
72c36b0cfSInochi Amaoto
82c36b0cfSInochi Amaoto#include "cv1812h.dtsi"
92c36b0cfSInochi Amaoto
102c36b0cfSInochi Amaoto/ {
112c36b0cfSInochi Amaoto	model = "Huashan Pi";
122c36b0cfSInochi Amaoto	compatible = "sophgo,huashan-pi", "sophgo,cv1812h";
132c36b0cfSInochi Amaoto
142c36b0cfSInochi Amaoto	aliases {
152c36b0cfSInochi Amaoto		gpio0 = &gpio0;
162c36b0cfSInochi Amaoto		gpio1 = &gpio1;
172c36b0cfSInochi Amaoto		gpio2 = &gpio2;
182c36b0cfSInochi Amaoto		gpio3 = &gpio3;
192c36b0cfSInochi Amaoto		serial0 = &uart0;
202c36b0cfSInochi Amaoto		serial1 = &uart1;
212c36b0cfSInochi Amaoto		serial2 = &uart2;
222c36b0cfSInochi Amaoto		serial3 = &uart3;
232c36b0cfSInochi Amaoto		serial4 = &uart4;
242c36b0cfSInochi Amaoto	};
252c36b0cfSInochi Amaoto
262c36b0cfSInochi Amaoto	chosen {
272c36b0cfSInochi Amaoto		stdout-path = "serial0:115200n8";
282c36b0cfSInochi Amaoto	};
292c36b0cfSInochi Amaoto
302c36b0cfSInochi Amaoto	reserved-memory {
312c36b0cfSInochi Amaoto		#address-cells = <1>;
322c36b0cfSInochi Amaoto		#size-cells = <1>;
332c36b0cfSInochi Amaoto		ranges;
342c36b0cfSInochi Amaoto
352c36b0cfSInochi Amaoto		coprocessor_rtos: region@8fe00000 {
362c36b0cfSInochi Amaoto			reg = <0x8fe00000 0x200000>;
372c36b0cfSInochi Amaoto			no-map;
382c36b0cfSInochi Amaoto		};
392c36b0cfSInochi Amaoto	};
402c36b0cfSInochi Amaoto};
412c36b0cfSInochi Amaoto
422c36b0cfSInochi Amaoto&osc {
432c36b0cfSInochi Amaoto	clock-frequency = <25000000>;
442c36b0cfSInochi Amaoto};
452c36b0cfSInochi Amaoto
46*63c33528SInochi Amaoto&sdhci0 {
47*63c33528SInochi Amaoto	status = "okay";
48*63c33528SInochi Amaoto	bus-width = <4>;
49*63c33528SInochi Amaoto	no-1-8-v;
50*63c33528SInochi Amaoto	no-mmc;
51*63c33528SInochi Amaoto	no-sdio;
52*63c33528SInochi Amaoto	disable-wp;
53*63c33528SInochi Amaoto};
54*63c33528SInochi Amaoto
552c36b0cfSInochi Amaoto&uart0 {
562c36b0cfSInochi Amaoto	status = "okay";
572c36b0cfSInochi Amaoto};
58