2017-07-25 17:04:12 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/stm32-pinctrlf1.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
2018-04-24 21:32:10 +08:00
|
|
|
pinctrl: pin-controller@40010800 {
|
2018-09-18 23:25:38 +08:00
|
|
|
usart1_pins_a: usart1_a {
|
2017-07-25 17:04:12 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PA10 STM32_PIN_USART_RX>;
|
|
|
|
tx = <STM32_PIN_PA9 STM32_PIN_USART_TX>;
|
|
|
|
};
|
|
|
|
};
|
2018-09-18 23:25:38 +08:00
|
|
|
usart2_pins_a: usart2_a {
|
2017-07-25 17:04:12 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PA3 STM32_PIN_USART_RX>;
|
|
|
|
tx = <STM32_PIN_PA2 STM32_PIN_USART_TX>;
|
|
|
|
};
|
|
|
|
};
|
2018-09-18 23:25:38 +08:00
|
|
|
usart2_pins_b: usart2_b {
|
2017-07-25 17:04:12 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PD6 STM32_PIN_USART_RX>;
|
|
|
|
tx = <STM32_PIN_PD5 STM32_PIN_USART_TX>;
|
|
|
|
};
|
|
|
|
};
|
2018-09-18 23:25:38 +08:00
|
|
|
usart3_pins_a: usart3_a {
|
2017-07-25 17:04:12 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PB11 STM32_PIN_USART_RX>;
|
|
|
|
tx = <STM32_PIN_PB10 STM32_PIN_USART_TX>;
|
|
|
|
};
|
|
|
|
};
|
2018-09-18 23:25:38 +08:00
|
|
|
uart4_pins_a: uart4_a {
|
2018-03-15 22:52:57 +08:00
|
|
|
rx_tx {
|
|
|
|
rx = <STM32_PIN_PC11 STM32_PIN_USART_RX>;
|
|
|
|
tx = <STM32_PIN_PC10 STM32_PIN_USART_TX>;
|
|
|
|
};
|
|
|
|
};
|
2017-07-25 17:04:12 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|