devices: include DTS meta-data
[sifive-blocks.git] / src / main / scala / devices / gpio / GPIO.scala
index b0cbde60ef208c3e99fe1e1c5708285b896c5be8..9dd8d87ba58ef8d6da8da59263fa5fd771641a14 100644 (file)
@@ -286,6 +286,6 @@ object GPIOInputPinCtrl {
 
 // Magic TL2 Incantation to create a TL2 Slave
 class TLGPIO(w: Int, c: GPIOParams)(implicit p: Parameters)
-  extends TLRegisterRouter(c.address, interrupts = c.width, beatBytes = w)(
+  extends TLRegisterRouter(c.address, "gpio", Seq("sifive,gpio0"), interrupts = c.width, beatBytes = w)(
   new TLRegBundle(c, _)    with HasGPIOBundleContents)(
   new TLRegModule(c, _, _) with HasGPIOModuleContents)