svn commit: r320835 - head/sys/boot/fdt/dts/arm

Emmanuel Vadot manu at FreeBSD.org
Sun Jul 9 13:56:36 UTC 2017


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 at 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 at 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 at 0 {
 		allwinner,pins = "PA16";
 		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		allwinner,drive = <10>;
 	};
 };
 


More information about the svn-src-head mailing list