Skip to content

Commit

Permalink
Fix incompatible mmu-type define (sysprog21#47)
Browse files Browse the repository at this point in the history
Per RISC-V CPU Bindings [1], the mmu-type attribute should be set to
"riscv,sv32".

[1] https://github.com/riscv-non-isa/riscv-device-tree-doc/blob/master/bindings/riscv/cpus.txt
  • Loading branch information
chiangkd authored and ranvd committed Jul 8, 2024
1 parent 3df721e commit 222b92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minimal.dts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
compatible = "riscv";
reg = <0>;
riscv,isa = "rv32ima";
mmu-type = "riscv,rv32";
mmu-type = "riscv,sv32";
cpu0_intc: interrupt-controller {
#interrupt-cells = <1>;
#address-cells = <0>;
Expand Down

0 comments on commit 222b92e

Please sign in to comment.