u-boot/arch/riscv/dts/sg2002.dtsi
Thomas Bonnefille 4897de90c3 riscv: dts: sophgo: add device tree for LicheeRV Nano
Import a slightly modified version of the LicheeRV Nano and SG2002
device trees from the Linux Kernel. The current supported IPs are UART,
MMC, Timer, PLIC and CLINT.

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
2024-12-18 13:19:15 +08:00

35 lines
660 B
Plaintext

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com>
*/
/dts-v1/;
#include <dt-bindings/interrupt-controller/irq.h>
#include "cv18xx.dtsi"
/ {
compatible = "sophgo,sg2002";
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x10000000>;
};
};
&plic {
compatible = "sophgo,sg2002-plic", "sophgo,cv1800b-plic", "thead,c900-plic";
};
&clint {
compatible = "sophgo,sg2002-plic", "sophgo,cv1800b-clint", "thead,c900-clint";
};
&clk {
compatible = "sophgo,sg2002-clk", "sophgo,cv1800-clk";
};
&sdhci0 {
compatible = "sophgo,sg2002-dwcmshc", "sophgo,cv1800b-dwcmshc";
};