aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32mp157c-ev1.dts
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2018-04-17 15:45:00 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2018-05-02 17:18:57 +0200
commit5c3d678116269bbf5ef09914266cc60292ef5a10 (patch)
tree39e60842818d5197c9da6efbf78ed932b1bcefc2 /arch/arm/boot/dts/stm32mp157c-ev1.dts
parentARM: dts: stm32: add PWM pins used on stm32mp157c-ev1 board (diff)
downloadlinux-dev-5c3d678116269bbf5ef09914266cc60292ef5a10.tar.xz
linux-dev-5c3d678116269bbf5ef09914266cc60292ef5a10.zip
ARM: dts: stm32: add PWM and triggers on stm32mp157c-ev1 board
stm32mp157c evaluation board has TIM2_CH4, TIM8_CH4 and TIM12_CH1 available on GPIO expansion connector. Add PWM and associated triggers (for ADC/DAC) on these timers. Keep them disabled so these pins can be used as GPIOs by default. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ev1.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-ev1.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index 57e6dbc52e09..21095583330f 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -19,3 +19,39 @@
serial0 = &uart4;
};
};
+
+&timers2 {
+ status = "disabled";
+ pwm {
+ pinctrl-0 = <&pwm2_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+ };
+ timer@1 {
+ status = "okay";
+ };
+};
+
+&timers8 {
+ status = "disabled";
+ pwm {
+ pinctrl-0 = <&pwm8_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+ };
+ timer@7 {
+ status = "okay";
+ };
+};
+
+&timers12 {
+ status = "disabled";
+ pwm {
+ pinctrl-0 = <&pwm12_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+ };
+ timer@11 {
+ status = "okay";
+ };
+};