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";
+};
_______________________________________________
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