From f646bed3eafa7c11850fc6137d30b9101603b66f Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Thu, 13 Jul 2017 13:37:22 -0700 Subject: [PATCH] PLIC: Use longer DTS name for Max Priorities. I used the singular because there is really only one max priority --- src/main/scala/devices/tilelink/Plic.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/devices/tilelink/Plic.scala b/src/main/scala/devices/tilelink/Plic.scala index 382962e4..6e88a1d4 100644 --- a/src/main/scala/devices/tilelink/Plic.scala +++ b/src/main/scala/devices/tilelink/Plic.scala @@ -68,7 +68,7 @@ class TLPLIC(params: PLICParams)(implicit p: Parameters) extends LazyModule val extra = Map( "interrupt-controller" -> Nil, "riscv,ndev" -> Seq(ResourceInt(nDevices)), - "riscv,maxpri" -> Seq(ResourceInt(maxPriorities)), + "riscv,max-priority" -> Seq(ResourceInt(maxPriorities)), "#interrupt-cells" -> Seq(ResourceInt(1))) Description(name, mapping ++ extra) }