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 a98ae58e2c1c8ad1d4e67b20e29ab5522fed3e2e..bf3830dca74289d7a34148e1bc2c3cd468dd6842 100644 (file)
                        clock-names = "lcd";
                        resets = <&rcc LTDC_R>;
                        status = "disabled";
-
-                       port {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                       };
                };
 
                iwdg2: watchdog@5a002000 {
index 47d03bd9ef0b7c4fe7712d07dd4aa9a2ad04c15f..4279b26547dfdcfa3569a13eb91cf7533b251675 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&dsi_in>;
                };
        };
index d2f68997a471bf7c558b9f09f1e385d98e7b6d7e..efba542898207b2fc15e33c82ea181e4c90f2f53 100644 (file)
        status = "okay";
 
        port {
-               ltdc_out_dsi: endpoint@0 {
-                       reg = <0>;
+               ltdc_out_dsi: endpoint {
                        remote-endpoint = <&dsi_in_ltdc>;
                };
        };
index 0d7560ba2950f868e7de8f934ca8e490de5788ed..5116a77852013ec387151daeb8df91b31a7e57c8 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 0067c6248cd18a6558e3b8ecb70509a1b66a7e11..4bef2300ed7ca78dd36435f65702d2dcf91f83e5 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 67c6b9440878eb024510a4a70068a4524e1c633f..49ca94c19b02b7ccfb751e0fd89fee7de8ec6292 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&dsi_in>;
                };
        };
index 407ed3952f75daf14f8c88e78fe981fca929d563..eada9cf257be9c9946a3a4417f2b0744e0636ca1 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&panel_input>;
                };
        };
index 2b52515457e4ba61ef110837608c6ed417b7a099..cdd4902b59a97f69e14aefe4dc425fe000bc8a3a 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 0f1110e42c9391fef2bb8ae6917889890218f907..a6e2e20f12fa0fb228821f8284c8c0fd61460d50 100644 (file)
        status = "okay";
 
        port {
-               ltdc_ep0_out: endpoint@0 {
-                       reg = <0>;
+               ltdc_ep0_out: endpoint {
                        remote-endpoint = <&sii9022_in>;
                };
        };