Skip to content

Commit ce1daee

Browse files
charlie-rivospalmer-dabbelt
authored andcommitted
riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree
The D1/D1s SoCs support xtheadvector so it can be included in the devicetree. Also include vlenb for the cpu. Signed-off-by: Charlie Jenkins <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Tested-by: Yangyu Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent bf6279b commit ce1daee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
riscv,isa = "rv64imafdc";
2828
riscv,isa-base = "rv64i";
2929
riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
30-
"zifencei", "zihpm";
30+
"zifencei", "zihpm", "xtheadvector";
31+
thead,vlenb = <128>;
3132
#cooling-cells = <2>;
3233

3334
cpu0_intc: interrupt-controller {

0 commit comments

Comments
 (0)