]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32f769-disco: rework ltdc node
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 11 Nov 2023 10:44:36 +0000 (11:44 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 15 Dec 2023 13:57:02 +0000 (14:57 +0100)
With commit f479f5dbb7ac ("ARM: dts: stm32: add ltdc support on
stm32f746 MCU"), which adds the 'ltdc' node in stm32f746.dtsi, we can
simplify stm32f769-disco-uboot.dtsi and align stm32f769-disco.dtsi with
the kernel version.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32f769-disco-u-boot.dtsi
arch/arm/dts/stm32f769-disco.dts

index 2c823cce98b4a8820fe238669593d9c0a4739404..add55c96e21f193ff293dc7df68c18bfe1ff4e73 100644 (file)
                                };
                        };
                };
+       };
+};
 
-               ltdc: display-controller@40016800 {
-                       compatible = "st,stm32-ltdc";
-                       reg = <0x40016800 0x200>;
-                       resets = <&rcc STM32F7_APB2_RESET(LTDC)>;
-                       clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>;
-
-                       status = "okay";
-                       bootph-all;
+&ltdc {
+       clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>;
+       bootph-all;
 
-                       ports {
-                               port@0 {
-                                       dp_out: endpoint {
-                                               remote-endpoint = <&dsi_in>;
-                                       };
-                               };
+       ports {
+               port@0 {
+                       dp_out: endpoint {
+                               remote-endpoint = <&dsi_in>;
                        };
                };
        };
index 6f93fc7bcfcd415f6a648eae2ee3050d02ccfffc..d63cd2ba7eb4c7cac490fc4e1c87f9c52b1ef768 100644 (file)
        status = "okay";
 };
 
+&ltdc {
+       status = "okay";
+};
+
 &rtc {
        status = "okay";
 };