summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndy Hu <andy.hu@starfivetech.com>2023-03-08 12:32:09 +0300
committerAndy Hu <andy.hu@starfivetech.com>2023-05-18 16:08:24 +0300
commitfffd811e3d69b7cdd6118ddeb7ab8354f6ea2bfa (patch)
treeb5ab9a15135b57ed0eb300906fa1a66c2633a17f /arch
parent040cfd685cc90a3b93abf4b035589752ea18f113 (diff)
downloadu-boot-fffd811e3d69b7cdd6118ddeb7ab8354f6ea2bfa.tar.xz
riscv: dts: starfive: add zicsr_zifencei to riscv,isa string
Starting from gcc 12.x, csr and fence instructions have been separated from the base I instruction set. special the zicsr_zifencei string to DT riscv,isa string Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/dts/jh7110.dtsi12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index c675e85e19..d02d49797d 100644
--- a/arch/riscv/dts/jh7110.dtsi
+++ b/arch/riscv/dts/jh7110.dtsi
@@ -20,7 +20,7 @@
#size-cells = <0>;
cpu0: cpu@0 {
- compatible = "sifive,u74-mc", "riscv";
+ compatible = "sifive,s7", "riscv";
reg = <0>;
d-cache-block-size = <64>;
d-cache-sets = <64>;
@@ -35,7 +35,7 @@
i-tlb-size = <40>;
mmu-type = "riscv,sv39";
next-level-cache = <&cachectrl>;
- riscv,isa = "rv64imacu";
+ riscv,isa = "rv64imacu_zba_zbb";
tlb-split;
status = "disabled";
@@ -62,7 +62,7 @@
i-tlb-size = <40>;
mmu-type = "riscv,sv39";
next-level-cache = <&cachectrl>;
- riscv,isa = "rv64imafdcbsux";
+ riscv,isa = "rv64imafdcbsux_zba_zbb";
tlb-split;
status = "okay";
@@ -89,7 +89,7 @@
i-tlb-size = <40>;
mmu-type = "riscv,sv39";
next-level-cache = <&cachectrl>;
- riscv,isa = "rv64imafdcbsux";
+ riscv,isa = "rv64imafdcbsux_zba_zbb";
tlb-split;
status = "okay";
@@ -116,7 +116,7 @@
i-tlb-size = <40>;
mmu-type = "riscv,sv39";
next-level-cache = <&cachectrl>;
- riscv,isa = "rv64imafdcbsux";
+ riscv,isa = "rv64imafdcbsux_zba_zbb";
tlb-split;
status = "okay";
@@ -143,7 +143,7 @@
i-tlb-size = <40>;
mmu-type = "riscv,sv39";
next-level-cache = <&cachectrl>;
- riscv,isa = "rv64imafdcbsux";
+ riscv,isa = "rv64imafdcbsux_zba_zbb";
tlb-split;
status = "okay";