git: 91feb4f42075 - main - riscv: add iicbus and iicoc to GENERIC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 05:21:28 UTC
The branch main has been updated by philip:
URL: https://cgit.FreeBSD.org/src/commit/?id=91feb4f42075e2d7c8d6d50cd5faa651ab3a0e7d
commit 91feb4f42075e2d7c8d6d50cd5faa651ab3a0e7d
Author: Philip Paeps <philip@FreeBSD.org>
AuthorDate: 2021-11-01 05:16:27 +0000
Commit: Philip Paeps <philip@FreeBSD.org>
CommitDate: 2021-11-01 05:19:55 +0000
riscv: add iicbus and iicoc to GENERIC
The iicoc driver supports the OpenCores I2C IP. This is included in at
least the SiFive "Unleashed" and "Unmatched" cores and probably others.
Suggested by: jrtc27
---
sys/riscv/conf/GENERIC | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index a02a30d4834f..4ce1cb6a3cda 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -203,6 +203,10 @@ device bpf # Berkeley packet filter
options FDT
makeoptions MODULES_EXTRA+="dtb/sifive"
+# I2C support
+device iicbus # Bus support, required for iicoc below.
+device iicoc # OpenCores I2C controller support
+
# SiFive device drivers
device fu740_pci_dw
device sifive_gpio