Skip to content

Commit b717fbd

Browse files
committed
uart: add interrupt-high (4) to device tree
1 parent f6abf07 commit b717fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv/ns16550.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ std::string ns16550_generate_dts(const sim_t* sim, const std::vector<std::string
344344
s << " interrupts = <" << std::dec << NS16550_INTERRUPT_ID;
345345
reg_t ns16550bs = NS16550_BASE;
346346
reg_t ns16550sz = NS16550_SIZE;
347-
s << std::hex << ">;\n"
347+
s << std::hex << " 0x4>;\n"
348348
" reg = <0x" << (ns16550bs >> 32) << " 0x" << (ns16550bs & (uint32_t)-1) <<
349349
" 0x" << (ns16550sz >> 32) << " 0x" << (ns16550sz & (uint32_t)-1) << ">;\n"
350350
" reg-shift = <0x" << NS16550_REG_SHIFT << ">;\n"

0 commit comments

Comments
 (0)