2017-07-25 17:02:42 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/stm32-pinctrl.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
2018-04-24 21:32:10 +08:00
|
|
|
pinctrl: pin-controller@40020000 {
|
2018-09-18 23:25:38 +08:00
|
|
|
usart3_pins_a: usart3_a {
|
2017-07-25 17:02:42 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PB11 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
tx = <STM32_PIN_PB10 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
};
|
|
|
|
};
|
2018-09-18 23:25:38 +08:00
|
|
|
usart3_pins_b: usart3_b {
|
2017-07-25 17:02:42 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PD9 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
tx = <STM32_PIN_PD8 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
};
|
|
|
|
};
|
2018-09-18 23:25:38 +08:00
|
|
|
usart6_pins_a: usart6_a {
|
2017-07-25 17:02:42 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PG14 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
tx = <STM32_PIN_PG9 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
};
|
|
|
|
};
|
2018-09-18 23:25:38 +08:00
|
|
|
usart6_pins_b: usart6_b {
|
2017-08-01 17:40:29 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PC7 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
tx = <STM32_PIN_PC6 (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)>;
|
|
|
|
};
|
|
|
|
};
|
2017-07-25 17:02:42 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|