devices: include DTS meta-data
[sifive-blocks.git] / src / main / scala / devices / i2c / I2C.scala
index 363d37b6eec33553f3e1f000cc535e19d90bfc96..7b9fad8897e28521702c017bb29a69e9067d7fde 100644 (file)
@@ -535,6 +535,6 @@ trait HasI2CModuleContents extends Module with HasRegMap {
 
 // Magic TL2 Incantation to create a TL2 Slave
 class TLI2C(w: Int, c: I2CParams)(implicit p: Parameters)
-  extends TLRegisterRouter(c.address, interrupts = 1, beatBytes = w)(
+  extends TLRegisterRouter(c.address, "i2c", Seq("sifive,i2c0"), interrupts = 1, beatBytes = w)(
   new TLRegBundle(c, _)    with HasI2CBundleContents)(
   new TLRegModule(c, _, _) with HasI2CModuleContents)