ARM: dts: stm32: fix ltdc warnings in stm32mp15 boards
authorRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Mon, 29 May 2023 09:13:59 +0000 (11:13 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 30 May 2023 08:05:19 +0000 (10:05 +0200)
Those concern:
  * "#size-cells" and "#address-cells" wrongly used
  * residual "reg" property appearing on endpoints where it could be
    avoided

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp151.dtsi
arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2-of10.dts
arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts
arch/arm/boot/dts/stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dts
arch/arm/boot/dts/stm32mp157c-dk2.dts
arch/arm/boot/dts/stm32mp157c-ev1.dts
arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi

index a98ae58..bf3830d 100644 (file)
                        clock-names = "lcd";
                        resets = <&rcc LTDC_R>;
                        status = "disabled";
-
-                       port {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                       };
                };
 
                iwdg2: watchdog@5a002000 {
index 47d03bd..4279b26 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&dsi_in>;
                };
        };
index d2f6899..efba542 100644 (file)
        status = "okay";
 
        port {
-               ltdc_out_dsi: endpoint@0 {
-                       reg = <0>;
+               ltdc_out_dsi: endpoint {
                        remote-endpoint = <&dsi_in_ltdc>;
                };
        };
index 0d7560b..5116a77 100644 (file)
@@ -81,8 +81,7 @@
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&panel_in>;
                };
        };
index 0067c62..4bef230 100644 (file)
@@ -87,6 +87,9 @@
        status = "okay";
 
        port {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                ltdc_ep1_out: endpoint@1 {
                        reg = <1>;
                        remote-endpoint = <&dsi_in>;
index 67c6b94..49ca94c 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&dsi_in>;
                };
        };
index 407ed39..eada9cf 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&panel_input>;
                };
        };
index 2b52515..cdd4902 100644 (file)
        status = "okay";
 
        port {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&adv7513_in>;
                };
        };
index 0f1110e..a6e2e20 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&sii9022_in>;
                };
        };