diff options
author | Philip Paeps <philip@FreeBSD.org> | 2021-11-01 05:16:27 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2021-11-01 05:19:55 +0000 |
commit | 91feb4f42075e2d7c8d6d50cd5faa651ab3a0e7d (patch) | |
tree | 0187a047ab4f8e86b74a6fe25899307aed53a36e | |
parent | 99443830fa7c121af42a6af5971357f9ab52deff (diff) | |
download | src-91feb4f42075e2d7c8d6d50cd5faa651ab3a0e7d.tar.gz src-91feb4f42075e2d7c8d6d50cd5faa651ab3a0e7d.zip |
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
-rw-r--r-- | sys/riscv/conf/GENERIC | 4 |
1 files changed, 4 insertions, 0 deletions
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 |