Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2017 13:56:34 +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: r320835 - head/sys/boot/fdt/dts/arm
Message-ID:  <201707091356.v69DuYcJ019611@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Sun Jul  9 13:56:34 2017
New Revision: 320835
URL: https://svnweb.freebsd.org/changeset/base/320835

Log:
  dts: arm: Fix our local patches for H3
  
  sun4i-a10.h is not included anymore, define directly the drive strengh
  of the pins.

Modified:
  head/sys/boot/fdt/dts/arm/h3.dtsi
  head/sys/boot/fdt/dts/arm/orangepi-plus-2e.dts

Modified: head/sys/boot/fdt/dts/arm/h3.dtsi
==============================================================================
--- head/sys/boot/fdt/dts/arm/h3.dtsi	Sun Jul  9 13:53:32 2017	(r320834)
+++ head/sys/boot/fdt/dts/arm/h3.dtsi	Sun Jul  9 13:56:34 2017	(r320835)
@@ -96,14 +96,12 @@
 				 "PD7", "PD8", "PD9", "PD10", "PD12", "PD13",
 				 "PD15", "PD16", "PD17";
 		allwinner,function = "emac";
-		allwinner,drive = <SUN4I_PINCTRL_40_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		allwinner,drive = <40>;
 	};
 
 	emac_phy_reset_pin: emac_phy_reset_pin@0 {
 		allwinner,pins = "PD6";
 		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		allwinner,drive = <10>;
 	};
 };

Modified: head/sys/boot/fdt/dts/arm/orangepi-plus-2e.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/orangepi-plus-2e.dts	Sun Jul  9 13:53:32 2017	(r320834)
+++ head/sys/boot/fdt/dts/arm/orangepi-plus-2e.dts	Sun Jul  9 13:56:34 2017	(r320835)
@@ -50,15 +50,13 @@
 	emac_phy_reset_pin: emac_phy_reset_pin@0 {
 		allwinner,pins = "PD6";
 		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		allwinner,drive = <10>;
 	};
 
 	codec_pa_pin: codec_pa_pin@0 {
 		allwinner,pins = "PA16";
 		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		allwinner,drive = <10>;
 	};
 };
 



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