Date: Mon, 1 Nov 2021 05:21:28 GMT From: Philip Paeps <philip@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 91feb4f42075 - main - riscv: add iicbus and iicoc to GENERIC Message-ID: <202111010521.1A15LS5q079615@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111010521.1A15LS5q079615>