stm32f407 SoC is an extension of stm32f405 SoC with additional support of ethernet and DCMI. Hence, in dts description, this should be represented by stm32f407.dtsi including stm32f405.dtsi. The opposite was proposed today in stm32 .dtsi files. This commit fixes the inclusion model and renames stm32f407-pinctrl.dtsi into stm32f405-pinctrl.dtsi Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
38 lines
1,021 B
Text
38 lines
1,021 B
Text
/*
|
|
* Copyright (c) 2017 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <dt-bindings/pinctrl/stm32-pinctrl.h>
|
|
|
|
/ {
|
|
soc {
|
|
pinctrl: pin-controller {
|
|
usart3_pins_a: usart3@0 {
|
|
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)>;
|
|
};
|
|
};
|
|
usart3_pins_b: usart3@1 {
|
|
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)>;
|
|
};
|
|
};
|
|
usart6_pins_a: usart6@0 {
|
|
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)>;
|
|
};
|
|
};
|
|
usart6_pins_b: usart6@1 {
|
|
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)>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|