1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com>
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/interrupt-controller/irq.h>
9#include "cv18xx.dtsi"
10
11/ {
12	compatible = "sophgo,sg2002";
13
14	memory@80000000 {
15		device_type = "memory";
16		reg = <0x80000000 0x10000000>;
17	};
18};
19
20&plic {
21	compatible = "sophgo,sg2002-plic", "sophgo,cv1800b-plic", "thead,c900-plic";
22};
23
24&clint {
25	compatible = "sophgo,sg2002-plic", "sophgo,cv1800b-clint", "thead,c900-clint";
26};
27
28&clk {
29	compatible = "sophgo,sg2002-clk", "sophgo,cv1800-clk";
30};
31
32&sdhci0 {
33	compatible = "sophgo,sg2002-dwcmshc", "sophgo,cv1800b-dwcmshc";
34};
35