Skip to content

Commit 0804f3b

Browse files
ConchuODarndb
authored andcommitted
riscv: dts: thead: convert isa detection to new properties
Convert the th1520 devicetrees to use the new properties "riscv,isa-base" & "riscv,isa-extensions". For compatibility with other projects, "riscv,isa" remains. Reviewed-by: Jisheng Zhang <[email protected]> Acked-by: Guo Ren <[email protected]> Signed-off-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 8d4f914 commit 0804f3b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/riscv/boot/dts/thead/th1520.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
compatible = "thead,c910", "riscv";
2121
device_type = "cpu";
2222
riscv,isa = "rv64imafdc";
23+
riscv,isa-base = "rv64i";
24+
riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
25+
"zifencei", "zihpm";
2326
reg = <0>;
2427
i-cache-block-size = <64>;
2528
i-cache-size = <65536>;
@@ -41,6 +44,9 @@
4144
compatible = "thead,c910", "riscv";
4245
device_type = "cpu";
4346
riscv,isa = "rv64imafdc";
47+
riscv,isa-base = "rv64i";
48+
riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
49+
"zifencei", "zihpm";
4450
reg = <1>;
4551
i-cache-block-size = <64>;
4652
i-cache-size = <65536>;
@@ -62,6 +68,9 @@
6268
compatible = "thead,c910", "riscv";
6369
device_type = "cpu";
6470
riscv,isa = "rv64imafdc";
71+
riscv,isa-base = "rv64i";
72+
riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
73+
"zifencei", "zihpm";
6574
reg = <2>;
6675
i-cache-block-size = <64>;
6776
i-cache-size = <65536>;
@@ -83,6 +92,9 @@
8392
compatible = "thead,c910", "riscv";
8493
device_type = "cpu";
8594
riscv,isa = "rv64imafdc";
95+
riscv,isa-base = "rv64i";
96+
riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
97+
"zifencei", "zihpm";
8698
reg = <3>;
8799
i-cache-block-size = <64>;
88100
i-cache-size = <65536>;

0 commit comments

Comments
 (0)