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= \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to