riscv: add I2C support for the SiFive HiFive1 Rev B board

This commit is contained in:
Yannis Huber
2020-04-01 13:04:25 +02:00
committed by GitHub
parent 62e78c0a26
commit 6e86daa95e
4 changed files with 159 additions and 1 deletions
+7
View File
@@ -10,3 +10,10 @@ var (
Bus: sifive.QSPI1,
}
)
// I2C on the HiFive1 rev B.
var (
I2C0 = I2C{
Bus: sifive.I2C0,
}
)