plic: do not output #address-cells
This is only needed for an interrupt-map, not an interrupt-controller.
This commit is contained in:
parent
936096dd42
commit
6c2b770605
@ -70,8 +70,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)),
|
||||||
"#interrupt-cells" -> Seq(ResourceInt(1)),
|
"#interrupt-cells" -> Seq(ResourceInt(1)))
|
||||||
"#address-cells" -> Seq(ResourceInt(0)))
|
|
||||||
Description(name, mapping ++ extra)
|
Description(name, mapping ++ extra)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user