aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/src/riscv/starfive
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-11-15 19:02:06 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-11-15 19:02:06 +0000
commitb97ee269eae3cbaf35c18f51a459aea581c2a7dc (patch)
tree4a0fc340816007887734c14bb49854bbe0f6fc7d /sys/contrib/device-tree/src/riscv/starfive
parentd5b0e70f7e04d971691517ce1304d86a1e367e2e (diff)
parent8bf583e1ce183a262b726a119817ffe4b6462794 (diff)
downloadsrc-b97ee269eae3cbaf35c18f51a459aea581c2a7dc.tar.gz
src-b97ee269eae3cbaf35c18f51a459aea581c2a7dc.zip
Import device-tree files from Linux 6.0
Sponsored by: Beckhoff Automation GmbH & Co. KG
Diffstat (limited to 'sys/contrib/device-tree/src/riscv/starfive')
-rw-r--r--sys/contrib/device-tree/src/riscv/starfive/jh7100.dtsi18
1 files changed, 15 insertions, 3 deletions
diff --git a/sys/contrib/device-tree/src/riscv/starfive/jh7100.dtsi b/sys/contrib/device-tree/src/riscv/starfive/jh7100.dtsi
index 69f22f9aad9d..000447482aca 100644
--- a/sys/contrib/device-tree/src/riscv/starfive/jh7100.dtsi
+++ b/sys/contrib/device-tree/src/riscv/starfive/jh7100.dtsi
@@ -17,7 +17,7 @@
#address-cells = <1>;
#size-cells = <0>;
- cpu@0 {
+ U74_0: cpu@0 {
compatible = "sifive,u74-mc", "riscv";
reg = <0>;
d-cache-block-size = <64>;
@@ -42,7 +42,7 @@
};
};
- cpu@1 {
+ U74_1: cpu@1 {
compatible = "sifive,u74-mc", "riscv";
reg = <1>;
d-cache-block-size = <64>;
@@ -66,6 +66,18 @@
#interrupt-cells = <1>;
};
};
+
+ cpu-map {
+ cluster0 {
+ core0 {
+ cpu = <&U74_0>;
+ };
+
+ core1 {
+ cpu = <&U74_1>;
+ };
+ };
+ };
};
osc_sys: osc_sys {
@@ -118,7 +130,7 @@
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
- riscv,ndev = <127>;
+ riscv,ndev = <133>;
};
clkgen: clock-controller@11800000 {