linux/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright (C) 2023 Inochi Amaoto <[email protected]>
 */

/dts-v1/;

#include "cv1812h.dtsi"

/ {
	model = "Huashan Pi";
	compatible = "sophgo,huashan-pi", "sophgo,cv1812h";

	aliases {
		gpio0 = &gpio0;
		gpio1 = &gpio1;
		gpio2 = &gpio2;
		gpio3 = &gpio3;
		serial0 = &uart0;
		serial1 = &uart1;
		serial2 = &uart2;
		serial3 = &uart3;
		serial4 = &uart4;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	reserved-memory {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;

		coprocessor_rtos: region@8fe00000 {
			reg = <0x8fe00000 0x200000>;
			no-map;
		};
	};
};

&osc {
	clock-frequency = <25000000>;
};

&uart0 {
	status = "okay";
};