Skip to content

Commit 76d62ee

Browse files
kbidanierwango
authored andcommitted
stm32: dts: st: f1: fix pinmux to use TIM3_REMAP2
This commit updates the pinmux to use TIM3_REMAP2, enabling proper PWM output on PB5. Signed-off-by: Khaoula Bidani <[email protected]>
1 parent 2459cda commit 76d62ee

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dts/README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,8 @@ Patch List:
5050
- Impacted files:
5151
dts/st/u3/stm32u375*-pinctrl.dtsi
5252
dts/st/u3/stm32u385*-pinctrl.dtsi
53+
54+
*Rename "TIM3_REMAP1" on the pin "PB5" to "TIM3_REMAP2"
55+
of the following GPIO-STM32F103xx.xml files.
56+
- Impacted files:
57+
dts/st/f1/stm32f103r(8-b)tx-pinctrl.dtsi

dts/st/f1/stm32f103r(8-b)tx-pinctrl.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,8 @@
898898
pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, TIM3_REMAP1)>;
899899
};
900900

901-
/omit-if-no-ref/ tim3_ch2_remap1_pwm_out_pb5: tim3_ch2_remap1_pwm_out_pb5 {
902-
pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP1)>;
901+
/omit-if-no-ref/ tim3_ch2_remap2_pwm_out_pb5: tim3_ch2_remap2_pwm_out_pb5 {
902+
pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP2)>;
903903
};
904904

905905
/omit-if-no-ref/ tim3_ch1_remap2_pwm_out_pc6: tim3_ch1_remap2_pwm_out_pc6 {

0 commit comments

Comments
 (0)