Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2022 09:40:25 GMT
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c238600e3789 - stable/12 - add overlay for enabling i2c1 on allwinner h3
Message-ID:  <202202090940.2199ePJM099561@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by avg:

URL: https://cgit.FreeBSD.org/src/commit/?id=c238600e37897576f9200c3d3990874e91714f2b

commit c238600e37897576f9200c3d3990874e91714f2b
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2021-11-03 11:37:17 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2022-02-09 09:40:05 +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.
    
    (cherry picked from commit a471646a0802344215cd2434fcf39997112b7958)
---
 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 0a47ca31f3af..51793bbc7854 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-spi0.dtso
 
 LINKS= \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202090940.2199ePJM099561>