dts/st: stm32f4: uart4 is not available on whole series

uart4 is not available on whole stm32f4 series (not on stm32f401
for instance), remove from stm32f4.dtsi
It is actually correctly defined in f405, f413 but missing in f446,
so add it in there.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-03-15 09:09:02 +01:00 committed by Kumar Gala
commit ad816f7453
2 changed files with 9 additions and 9 deletions

View file

@ -139,15 +139,6 @@
label = "UART_2"; label = "UART_2";
}; };
uart4: serial@40004c00 {
compatible = "st,stm32-usart", "st,stm32-uart";
reg = <0x40004C00 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00080000>;
interrupts = <52 0>;
status = "disabled";
label = "UART_4";
};
usart6: serial@40011400 { usart6: serial@40011400 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-usart", "st,stm32-uart";
reg = <0x40011400 0x400>; reg = <0x40011400 0x400>;

View file

@ -8,6 +8,15 @@
/ { / {
soc { soc {
uart4: serial@40004c00 {
compatible ="st,stm32-uart";
reg = <0x40004c00 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00080000>;
interrupts = <52 0>;
status = "disabled";
label = "UART_4";
};
usbotg_fs: usb@50000000 { usbotg_fs: usb@50000000 {
num-bidir-endpoints = <6>; num-bidir-endpoints = <6>;
}; };