aboutsummaryrefslogtreecommitdiff
path: root/src/riscv/sophgo/cv1812h.dtsi
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2024-04-19 16:04:55 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2024-04-19 16:04:55 +0000
commit48aa10e065908667e32e3aab09f1c787cd127470 (patch)
tree141762c42a29902f49f1d104ba845bff099f3c9f /src/riscv/sophgo/cv1812h.dtsi
parent1fcc28bca1057f051708a8fc59129ea42c574693 (diff)
downloadsrc-vendor/device-tree.tar.gz
src-vendor/device-tree.zip
Import device-tree files from Linux 6.8vendor/device-tree/6.8vendor/device-tree
Diffstat (limited to 'src/riscv/sophgo/cv1812h.dtsi')
-rw-r--r--src/riscv/sophgo/cv1812h.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/riscv/sophgo/cv1812h.dtsi b/src/riscv/sophgo/cv1812h.dtsi
new file mode 100644
index 000000000000..3e7a942f5c1a
--- /dev/null
+++ b/src/riscv/sophgo/cv1812h.dtsi
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
+ */
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include "cv18xx.dtsi"
+
+/ {
+ compatible = "sophgo,cv1812h";
+
+ memory@80000000 {
+ device_type = "memory";
+ reg = <0x80000000 0x10000000>;
+ };
+};
+
+&plic {
+ compatible = "sophgo,cv1812h-plic", "thead,c900-plic";
+};
+
+&clint {
+ compatible = "sophgo,cv1812h-clint", "thead,c900-clint";
+};