Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 18:31: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: r309064 - head/sys/boot/fdt/dts/arm
Message-ID:  <201611231831.uANIVY3R077515@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Wed Nov 23 18:31:34 2016
New Revision: 309064
URL: https://svnweb.freebsd.org/changeset/base/309064

Log:
  Enable UEXT related nodes for Olimex A20 SOM
  
  UEXT are Universal EXTension connector from Olimex. They embed i2c, spi
  and uart pins along power in one connector and are found on most,
  if not all, Olimex boards.
  The Olimex A20 SOM EVB have two UEXT connector so enable the nodes found on
  those two connectors.
  
  Patch has been applied upstream, in the meantime add the nodes to our custom
  DTS.

Modified:
  head/sys/boot/fdt/dts/arm/olimex-a20-som-evb.dts

Modified: head/sys/boot/fdt/dts/arm/olimex-a20-som-evb.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/olimex-a20-som-evb.dts	Wed Nov 23 18:07:44 2016	(r309063)
+++ head/sys/boot/fdt/dts/arm/olimex-a20-som-evb.dts	Wed Nov 23 18:31:34 2016	(r309064)
@@ -45,3 +45,39 @@
 &cpu0 {
 	cpu-supply = <&reg_dcdc2>;
 };
+
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+};
+
+&i2c2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c2_pins_a>;
+	status = "okay";
+};
+
+&spi1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&spi1_pins_a>,
+		    <&spi1_cs0_pins_a>;
+};
+
+&spi2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&spi2_pins_a>,
+		    <&spi2_cs0_pins_a>;
+};
+
+&uart6 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart6_pins_a>;
+	status = "okay";
+};
+
+&uart7 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart7_pins_a>;
+	status = "okay";
+};



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