2020-08-14 23:28:20

by Tobias Schramm

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: add display controller node to stm32h743

The stm32h743 has a display controller. This commit adds it to the
device tree.

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

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 7c612db9efcf..7febe19e780d 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -334,6 +334,16 @@ usbotg_fs: usb@40080000 {
status = "disabled";
};

+ ltdc: display-controller@50001000 {
+ compatible = "st,stm32-ltdc";
+ reg = <0x50001000 0x200>;
+ interrupts = <88>, <89>;
+ resets = <&rcc STM32H7_APB3_RESET(LTDC)>;
+ clocks = <&rcc LTDC_CK>;
+ clock-names = "lcd";
+ status = "disabled";
+ };
+
mdma1: dma-controller@52000000 {
compatible = "st,stm32h7-mdma";
reg = <0x52000000 0x1000>;
--
2.28.0


2020-08-28 09:57:26

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: add display controller node to stm32h743

Hi Tobias

On 8/15/20 12:50 AM, Tobias Schramm wrote:
> The stm32h743 has a display controller. This commit adds it to the
> device tree.
>
> Signed-off-by: Tobias Schramm <[email protected]>
> ---
> arch/arm/boot/dts/stm32h743.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 7c612db9efcf..7febe19e780d 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -334,6 +334,16 @@ usbotg_fs: usb@40080000 {
> status = "disabled";
> };
>
> + ltdc: display-controller@50001000 {
> + compatible = "st,stm32-ltdc";
> + reg = <0x50001000 0x200>;
> + interrupts = <88>, <89>;
> + resets = <&rcc STM32H7_APB3_RESET(LTDC)>;
> + clocks = <&rcc LTDC_CK>;
> + clock-names = "lcd";
> + status = "disabled";
> + };
> +
> mdma1: dma-controller@52000000 {
> compatible = "st,stm32h7-mdma";
> reg = <0x52000000 0x1000>;
>

Applied on stm32-next. I modified slightly the commit message.

Thanks.
Alex