1
0

PLIC: Add maxPri as well as ndev in DTS

This commit is contained in:
Megan Wachs 2017-07-13 13:18:50 -07:00 committed by GitHub
parent b7f1ba3428
commit 0800fd3ed9

View File

@ -68,6 +68,7 @@ class TLPLIC(params: PLICParams)(implicit p: Parameters) extends LazyModule
val extra = Map( val extra = Map(
"interrupt-controller" -> Nil, "interrupt-controller" -> Nil,
"riscv,ndev" -> Seq(ResourceInt(nDevices)), "riscv,ndev" -> Seq(ResourceInt(nDevices)),
"riscv,maxpri" -> Seq(ResourceInt(maxPriorities)),
"#interrupt-cells" -> Seq(ResourceInt(1))) "#interrupt-cells" -> Seq(ResourceInt(1)))
Description(name, mapping ++ extra) Description(name, mapping ++ extra)
} }