aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscv/sim.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc
index 647cc46..5aa9213 100644
--- a/riscv/sim.cc
+++ b/riscv/sim.cc
@@ -300,6 +300,9 @@ void sim_t::make_dtb()
" 0x" << (clintsz >> 32) << " 0x" << (clintsz & (uint32_t)-1) << ">;\n"
" };\n"
" };\n"
+ " htif {\n"
+ " compatible = \"ucb,htif0\";\n"
+ " };\n"
"};\n";
dts = s.str();