git: 0237541d1520 - stable/13 - add overlay for enabling i2c1 on allwinner h3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Feb 2022 09:36:15 UTC
The branch stable/13 has been updated by avg:
URL: https://cgit.FreeBSD.org/src/commit/?id=0237541d1520e8c29127bca184589e60d7d5fad1
commit 0237541d1520e8c29127bca184589e60d7d5fad1
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:35:59 +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 ecb006092892..f6b5aa54c04f 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 \