xref: /linux/scripts/dtc/include-prefixes/riscv/sophgo/sg2002.dtsi (revision 93b61555f5095a44fe00df27399270867fbf278a)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com>
4 */
5
6#include <dt-bindings/interrupt-controller/irq.h>
7#include <dt-bindings/pinctrl/pinctrl-sg2002.h>
8#include "cv18xx.dtsi"
9
10/ {
11	compatible = "sophgo,sg2002";
12
13	memory@80000000 {
14		device_type = "memory";
15		reg = <0x80000000 0x10000000>;
16	};
17
18	soc {
19		pinctrl: pinctrl@3008000 {
20			compatible = "sophgo,sg2002-pinctrl";
21			reg = <0x03001000 0x1000>,
22			      <0x05027000 0x1000>;
23			reg-names = "sys", "rtc";
24		};
25	};
26};
27
28&plic {
29	compatible = "sophgo,sg2002-plic", "thead,c900-plic";
30};
31
32&clint {
33	compatible = "sophgo,sg2002-clint", "thead,c900-clint";
34};
35
36&clk {
37	compatible = "sophgo,sg2000-clk";
38};
39
40&sdhci0 {
41	compatible = "sophgo,sg2002-dwcmshc";
42};
43