2020-08-14 20:58:05

by Tobias Schramm

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: use stm32h7 usart compatible string for stm32h743

Previously the FIFO on the stm32h743 usart was not utilized, because
the stm32f7 compatible configures it without FIFO support.

Signed-off-by: Tobias Schramm <[email protected]>
---
arch/arm/boot/dts/stm32h743.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 69e2f1e78ed6..9dd58974bf8d 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -126,7 +126,7 @@ spi3: spi@40003c00 {
};

usart2: serial@40004400 {
- compatible = "st,stm32f7-uart";
+ compatible = "st,stm32h7-uart";
reg = <0x40004400 0x400>;
interrupts = <38>;
status = "disabled";
@@ -194,7 +194,7 @@ dac2: dac@2 {
};

usart1: serial@40011000 {
- compatible = "st,stm32f7-uart";
+ compatible = "st,stm32h7-uart";
reg = <0x40011000 0x400>;
interrupts = <37>;
status = "disabled";
--
2.28.0


2020-08-28 09:58:00

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: use stm32h7 usart compatible string for stm32h743

Hi Tobias

On 8/14/20 8:11 PM, Tobias Schramm wrote:
> Previously the FIFO on the stm32h743 usart was not utilized, because
> the stm32f7 compatible configures it without FIFO support.
>
> Signed-off-by: Tobias Schramm <[email protected]>
> ---
> arch/arm/boot/dts/stm32h743.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 69e2f1e78ed6..9dd58974bf8d 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -126,7 +126,7 @@ spi3: spi@40003c00 {
> };
>
> usart2: serial@40004400 {
> - compatible = "st,stm32f7-uart";
> + compatible = "st,stm32h7-uart";
> reg = <0x40004400 0x400>;
> interrupts = <38>;
> status = "disabled";
> @@ -194,7 +194,7 @@ dac2: dac@2 {
> };
>
> usart1: serial@40011000 {
> - compatible = "st,stm32f7-uart";
> + compatible = "st,stm32h7-uart";
> reg = <0x40011000 0x400>;
> interrupts = <37>;
> status = "disabled";
>

Applied on stm32-next.

Thanks.
Alex