 +	invert_qb = <1>; /* Should we invert the channel B input? I invert these because my encoder outputs drive transistors that pull down the pins */
 +	invert_qi = <0>; /* Should we invert the index input? */
 +	invert_qs = <0>; /* Should we invert the strobe input? */
++};
++
++&epwmss0 {
++	status = "okay";
++};
++
++&epwmss1 {
++	status = "okay";
++};
++
++&epwmss2 {
++	status = "okay";
++};
++
++&ehrpwm0 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++};
++
++&ehrpwm1 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++};
++
++&ehrpwm2 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++};
++
++&ecap0 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++};
++
++&ecap1 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++};
++
++&ecap2 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++};
++
++&spi0 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++
++	channel@0 {
++		#address-cells = <1>;
++		#size-cells = <0>;
++
++		compatible = "spidev";
++
++		reg = <0>;
++		spi-max-frequency = <16000000>;
++		spi-cpha;
++	};
++
++	channel@1 {
++		#address-cells = <1>;
++		#size-cells = <0>;
++
++		compatible = "spidev";
++
++		reg = <1>;
++		spi-max-frequency = <16000000>;
++	};
++};
++
++&spi1 {
++	status = "okay";
++	pinctrl-names = "default";
++	pinctrl-0 = <>;
++
++	channel@0 {
++		#address-cells = <1>;
++		#size-cells = <0>;
++
++		compatible = "spidev";
++
++		reg = <0>;
++		spi-max-frequency = <16000000>;
++		spi-cpha;
++	};
++
++	channel@1 {
++		#address-cells = <1>;
++		#size-cells = <0>;
++
++		compatible = "spidev";
++
++		reg = <1>;
++		spi-max-frequency = <16000000>;
++	};
 +};
 +
 +/**********************************************************************/

+	};
+};
-- 
2.17.0


From fff31b59b0f760268bffa5474f9f0e2c9a5fd1b5 Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Fri, 27 Jul 2018 15:50:33 -0500
Subject: [PATCH] uboot: cape-universal enablement

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
 .../arm/boot/dts/am335x-bone-common-univ.dtsi | 2919 +++++++++++++++++
 arch/arm/boot/dts/am335x-bone-uboot-univ.dts  |   27 +
 .../boot/dts/am335x-boneblack-uboot-univ.dts  |   38 +
 ...am335x-bonegreen-wireless-common-univ.dtsi | 2793 ++++++++++++++++
 .../am335x-bonegreen-wireless-uboot-univ.dts  |   53 +
 5 files changed, 5830 insertions(+)
 create mode 100644 arch/arm/boot/dts/am335x-bone-common-univ.dtsi
 create mode 100644 arch/arm/boot/dts/am335x-bone-uboot-univ.dts
 create mode 100644 arch/arm/boot/dts/am335x-boneblack-uboot-univ.dts
