Date: Wed, 26 Jan 2022 09:42:27 GMT From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: a471646a0802 - main - add overlay for enabling i2c1 on allwinner h3 Message-ID: <202201260942.20Q9gRJq034471@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=a471646a0802344215cd2434fcf39997112b7958 commit a471646a0802344215cd2434fcf39997112b7958 Author: Andriy Gapon <avg@FreeBSD.org> AuthorDate: 2021-11-03 11:37:17 +0000 Commit: Andriy Gapon <avg@FreeBSD.org> CommitDate: 2022-01-26 09:42:20 +0000 add overlay for enabling i2c1 on allwinner h3 At least on Orange Pi PC Plus it is routed to the 40-pin header, so it can used to communicate with external devices. MFC after: 2 weeks --- sys/dts/arm/overlays/sun8i-h3-i2c1.dtso | 10 ++++++++++ sys/modules/dtb/allwinner/Makefile | 1 + 2 files changed, 11 insertions(+) diff --git a/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso b/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso new file mode 100644 index 000000000000..78c45005ee07 --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso @@ -0,0 +1,10 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/i2c@1c2b000} { + status = "okay"; +}; diff --git a/sys/modules/dtb/allwinner/Makefile b/sys/modules/dtb/allwinner/Makefile index 0b15b883c398..9e730e7d41bd 100644 --- a/sys/modules/dtb/allwinner/Makefile +++ b/sys/modules/dtb/allwinner/Makefile @@ -26,6 +26,7 @@ DTS= \ DTSO= sun8i-a83t-sid.dtso \ sun8i-h3-i2c0.dtso \ + sun8i-h3-i2c1.dtso \ sun8i-h3-mmc0-disable.dtso \ sun8i-h3-mmc1-disable.dtso \ sun8i-h3-mmc2-disable.dtso
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201260942.20Q9gRJq034471>