From 352969bfa34c4ebdfd0d3808070afbbb6b5c13ad Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 24 May 2022 17:33:46 +0200 Subject: [PATCH] boards: stm32f1: Use new pin nodes names which include remap information Pin nodes names for stm32f1 devices now hold the remap information. Convert existing users. Signed-off-by: Erwan Gouriou --- boards/arm/nucleo_f103rb/nucleo_f103rb.dts | 2 +- boards/arm/olimex_stm32_h103/olimex_stm32_h103.dts | 2 +- boards/arm/olimexino_stm32/olimexino_stm32.dts | 2 +- boards/arm/stm3210c_eval/stm3210c_eval.dts | 2 +- boards/arm/stm32f103_mini/stm32f103_mini.dts | 2 +- boards/arm/waveshare_open103z/waveshare_open103z.dts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/arm/nucleo_f103rb/nucleo_f103rb.dts b/boards/arm/nucleo_f103rb/nucleo_f103rb.dts index cfa4c2f83b..08967f4852 100644 --- a/boards/arm/nucleo_f103rb/nucleo_f103rb.dts +++ b/boards/arm/nucleo_f103rb/nucleo_f103rb.dts @@ -83,7 +83,7 @@ }; &i2c1 { - pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>; + pinctrl-0 = <&i2c1_scl_remap1_pb8 &i2c1_sda_remap1_pb9>; pinctrl-names = "default"; status = "okay"; clock-frequency = ; diff --git a/boards/arm/olimex_stm32_h103/olimex_stm32_h103.dts b/boards/arm/olimex_stm32_h103/olimex_stm32_h103.dts index 866b3b55c6..815dce09d7 100644 --- a/boards/arm/olimex_stm32_h103/olimex_stm32_h103.dts +++ b/boards/arm/olimex_stm32_h103/olimex_stm32_h103.dts @@ -74,7 +74,7 @@ }; &usart3 { - pinctrl-0 = <&usart3_tx_pc10 &usart3_rx_pc11>; + pinctrl-0 = <&usart3_tx_remap1_pc10 &usart3_rx_remap1_pc11>; pinctrl-names = "default"; current-speed = <115200>; }; diff --git a/boards/arm/olimexino_stm32/olimexino_stm32.dts b/boards/arm/olimexino_stm32/olimexino_stm32.dts index fd581f37f6..13f54f275d 100644 --- a/boards/arm/olimexino_stm32/olimexino_stm32.dts +++ b/boards/arm/olimexino_stm32/olimexino_stm32.dts @@ -161,7 +161,7 @@ zephyr_udc0: &usb { }; &can1 { - pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>; + pinctrl-0 = <&can_rx_remap1_pb8 &can_tx_remap1_pb9>; pinctrl-names = "default"; bus-speed = <125000>; phys = <&transceiver0>; diff --git a/boards/arm/stm3210c_eval/stm3210c_eval.dts b/boards/arm/stm3210c_eval/stm3210c_eval.dts index 15942f60a4..41240d582d 100644 --- a/boards/arm/stm3210c_eval/stm3210c_eval.dts +++ b/boards/arm/stm3210c_eval/stm3210c_eval.dts @@ -63,7 +63,7 @@ }; &usart2 { - pinctrl-0 = <&usart2_tx_pd5 &usart2_rx_pd6>; + pinctrl-0 = <&usart2_tx_remap1_pd5 &usart2_rx_remap1_pd6>; pinctrl-names = "default"; current-speed = <115200>; status = "okay"; diff --git a/boards/arm/stm32f103_mini/stm32f103_mini.dts b/boards/arm/stm32f103_mini/stm32f103_mini.dts index 779f62af8e..acab6b220e 100644 --- a/boards/arm/stm32f103_mini/stm32f103_mini.dts +++ b/boards/arm/stm32f103_mini/stm32f103_mini.dts @@ -71,7 +71,7 @@ }; &i2c1 { - pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>; + pinctrl-0 = <&i2c1_scl_remap1_pb8 &i2c1_sda_remap1_pb9>; pinctrl-names = "default"; status = "okay"; clock-frequency = ; diff --git a/boards/arm/waveshare_open103z/waveshare_open103z.dts b/boards/arm/waveshare_open103z/waveshare_open103z.dts index 535835027e..8717bfafa0 100644 --- a/boards/arm/waveshare_open103z/waveshare_open103z.dts +++ b/boards/arm/waveshare_open103z/waveshare_open103z.dts @@ -139,7 +139,7 @@ }; &can1 { - pinctrl-0 = <&can_rx_pb8 &can_tx_pb9>; + pinctrl-0 = <&can_rx_remap1_pb8 &can_tx_remap1_pb9>; pinctrl-names = "default"; /* * make sure CAN and USB are not enabled at the same time