[PATCH] ARM: dts: da850-lcdk: enable pwm nodes

Frode Isaksen fisaksen at baylibre.com
Mon Jan 16 09:03:09 PST 2017


Enable the ecap1 and ecap2 pwm nodes for the
lcdk board.
Note that the other pwm nodes are not enabled,
since the pins are shared with ethernet and spi.

Signed-off-by: Frode Isaksen <fisaksen at baylibre.com>
---
 arch/arm/boot/dts/da850-lcdk.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts
index 60e027e..6f4c367 100644
--- a/arch/arm/boot/dts/da850-lcdk.dts
+++ b/arch/arm/boot/dts/da850-lcdk.dts
@@ -322,3 +322,15 @@
 		};
 	};
 };
+
+&ecap1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&ecap1_pins>;
+	status = "okay";
+};
+
+&ecap2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&ecap2_pins>;
+	status = "okay";
+};
-- 
2.7.4




More information about the linux-arm-kernel mailing list