From fffd811e3d69b7cdd6118ddeb7ab8354f6ea2bfa Mon Sep 17 00:00:00 2001 From: Andy Hu Date: Wed, 8 Mar 2023 17:32:09 +0800 Subject: 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 --- arch/riscv/dts/jh7110.dtsi | 12 ++++++------ 1 file 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"; -- cgit v1.2.3