diff --git a/boards/arm/mppt_1210_hus/mppt_1210_hus.dts b/boards/arm/mppt_1210_hus/mppt_1210_hus.dts index 7567a30..c06aca4 100644 --- a/boards/arm/mppt_1210_hus/mppt_1210_hus.dts +++ b/boards/arm/mppt_1210_hus/mppt_1210_hus.dts @@ -172,12 +172,20 @@ status = "okay"; }; +&usart1_rx_pa10 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &usart2 { pinctrl-0 = <&usart2_tx_pa2 &usart2_rx_pa3>; current-speed = <115200>; status = "okay"; }; +&usart2_rx_pa3 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &i2c1 { pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>; clock-frequency = ; diff --git a/boards/arm/mppt_2420_hc/mppt_2420_hc.dts b/boards/arm/mppt_2420_hc/mppt_2420_hc.dts index 6a023ac..dfcc3cc 100644 --- a/boards/arm/mppt_2420_hc/mppt_2420_hc.dts +++ b/boards/arm/mppt_2420_hc/mppt_2420_hc.dts @@ -151,12 +151,20 @@ status = "okay"; }; +&usart1_rx_pa10 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &usart2 { pinctrl-0 = <&usart2_tx_pa2 &usart2_rx_pa3>; current-speed = <115200>; status = "okay"; }; +&usart2_rx_pa3 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &i2c1 { pinctrl-0 = <&i2c1_scl_pa15 &i2c1_sda_pb7>; clock-frequency = ; diff --git a/boards/arm/mppt_2420_hpx/mppt_2420_hpx.dts b/boards/arm/mppt_2420_hpx/mppt_2420_hpx.dts index 3f3c04f..433c74c 100644 --- a/boards/arm/mppt_2420_hpx/mppt_2420_hpx.dts +++ b/boards/arm/mppt_2420_hpx/mppt_2420_hpx.dts @@ -172,12 +172,20 @@ status = "okay"; }; +&usart1_rx_pa10 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &usart3 { pinctrl-0 = <&usart3_tx_pc10 &usart3_rx_pc11>; current-speed = <115200>; status = "okay"; }; +&usart3_rx_pc11 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &i2c1 { pinctrl-0 = <&i2c1_scl_pa15 &i2c1_sda_pb7>; status = "okay"; diff --git a/boards/arm/mppt_2420_lc/mppt_2420_lc.dts b/boards/arm/mppt_2420_lc/mppt_2420_lc.dts index 91a0cb7..d2222ca 100644 --- a/boards/arm/mppt_2420_lc/mppt_2420_lc.dts +++ b/boards/arm/mppt_2420_lc/mppt_2420_lc.dts @@ -169,12 +169,20 @@ status = "okay"; }; +&usart1_rx_pa10 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &usart2 { pinctrl-0 = <&usart2_tx_pa2 &usart2_rx_pa3>; current-speed = <115200>; status = "okay"; }; +&usart2_rx_pa3 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &i2c1 { status = "okay"; pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>; diff --git a/boards/arm/mppt_2420_rc/mppt_2420_rc.dts b/boards/arm/mppt_2420_rc/mppt_2420_rc.dts index d84d1db..b6e6954 100644 --- a/boards/arm/mppt_2420_rc/mppt_2420_rc.dts +++ b/boards/arm/mppt_2420_rc/mppt_2420_rc.dts @@ -143,12 +143,20 @@ status = "okay"; }; +&usart1_rx_pa10 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &usart2 { pinctrl-0 = <&usart2_tx_pa2 &usart2_rx_pa3>; current-speed = <115200>; status = "okay"; }; +&usart2_rx_pa3 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &spi1 { pinctrl-0 = <&spi1_sck_pb3 &spi1_miso_pb4 &spi1_mosi_pb5>; cs-gpios = <&gpiob 6 GPIO_ACTIVE_LOW>; diff --git a/boards/arm/nucleo_g474re/nucleo_g474re.dts b/boards/arm/nucleo_g474re/nucleo_g474re.dts index a368048..374b25b 100644 --- a/boards/arm/nucleo_g474re/nucleo_g474re.dts +++ b/boards/arm/nucleo_g474re/nucleo_g474re.dts @@ -189,12 +189,20 @@ status = "okay"; }; +&usart1_rx_pc5 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &lpuart1 { pinctrl-0 = <&lpuart1_tx_pa2 &lpuart1_rx_pa3>; current-speed = <115200>; status = "okay"; }; +&lpuart1_rx_pa3 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &i2c1 { pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>; status = "okay"; diff --git a/boards/arm/pwm_2420_lus/pwm_2420_lus.dts b/boards/arm/pwm_2420_lus/pwm_2420_lus.dts index 25063e8..a1d5eb7 100644 --- a/boards/arm/pwm_2420_lus/pwm_2420_lus.dts +++ b/boards/arm/pwm_2420_lus/pwm_2420_lus.dts @@ -192,12 +192,21 @@ status = "okay"; }; +&usart1_rx_pa10 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + + &usart2 { pinctrl-0 = <&usart2_tx_pa2 &usart2_rx_pa3>; current-speed = <115200>; status = "okay"; }; +&usart2_rx_pa3 { + bias-pull-up; // avoid junk characters if pin is left floating +}; + &i2c1 { pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>; status = "okay";