Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562729

[PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-eval

From Fabrice Gasnier <fabrice.gasnier@st.com>
Newsgroups linux.kernel
Subject [PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-eval
Date 2017-01-19 14:40 +0100
Message-ID <t1l6z-27b-55@gated-at.bofh.it> (permalink)
References <t1l6y-27b-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Define and enable pwm1 and pwm3, timers1 & 3 trigger outputs on
stm32f469-eval board.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
---
 arch/arm/boot/dts/stm32429i-eval.dts | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 2181220..892100f 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -171,3 +171,31 @@
 	pinctrl-names = "default";
 	status = "okay";
 };
+
+&timers1 {
+	status = "okay";
+
+	pwm {
+		pinctrl-0 = <&pwm1_pins>;
+		pinctrl-names = "default";
+		status = "okay";
+	};
+
+	timer@0 {
+		status = "okay";
+	};
+};
+
+&timers3 {
+	status = "okay";
+
+	pwm {
+		pinctrl-0 = <&pwm3_pins>;
+		pinctrl-names = "default";
+		status = "okay";
+	};
+
+	timer@2 {
+		status = "okay";
+	};
+};
-- 
1.9.1

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-eval Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-01-19 14:40 +0100
  Re: [PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for  stm32f469-eval kbuild test robot <lkp@intel.com> - 2017-01-20 01:20 +0100
  Re: [PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for  stm32f469-eval Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-20 11:30 +0100
    Re: [PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for  stm32f469-eval Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-01-20 11:40 +0100

csiph-web