Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2019 17:42:46 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350180 - in head/sys: dts/arm/overlays modules/dtb/allwinner
Message-ID:  <201907201742.x6KHgkQG098402@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Sat Jul 20 17:42:46 2019
New Revision: 350180
URL: https://svnweb.freebsd.org/changeset/base/350180

Log:
  dtso: allwinner: Add an overlay for H3 i2c0
  
  Most of the H3 boards don't enable i2c as it is unused.
  Add an overlay so it's easier for user to use i2c device.

Added:
  head/sys/dts/arm/overlays/sun8i-h3-i2c0.dtso   (contents, props changed)
Modified:
  head/sys/modules/dtb/allwinner/Makefile

Added: head/sys/dts/arm/overlays/sun8i-h3-i2c0.dtso
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/dts/arm/overlays/sun8i-h3-i2c0.dtso	Sat Jul 20 17:42:46 2019	(r350180)
@@ -0,0 +1,12 @@
+/dts-v1/;
+/plugin/;
+
+/ {
+	compatible = "allwinner,sun8i-h3";
+};
+
+&{/soc/i2c@1c2ac00} {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins>;
+};

Modified: head/sys/modules/dtb/allwinner/Makefile
==============================================================================
--- head/sys/modules/dtb/allwinner/Makefile	Sat Jul 20 16:03:54 2019	(r350179)
+++ head/sys/modules/dtb/allwinner/Makefile	Sat Jul 20 17:42:46 2019	(r350180)
@@ -24,6 +24,7 @@ DTS=	\
 	sun8i-h3-orangepi-plus2e.dts
 
 DTSO=	sun8i-a83t-sid.dtso \
+	sun8i-h3-i2c0.dtso \
 	sun8i-h3-sid.dtso
 
 LINKS= \



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