ARM: dts: stm32: preset stm32mp15x video #address- and #size-cells
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Thu, 26 Mar 2020 22:02:06 +0000 (23:02 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Mon, 20 Apr 2020 10:15:23 +0000 (12:15 +0200)
The cell count for address and size is defined by the binding and not
something a board would change. Avoid each board adding this
boilerplate by having the cell size specification in the SoC DTSI.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp151.dtsi
arch/arm/boot/dts/stm32mp157.dtsi

index 5260818..d70fc77 100644 (file)
                        clock-names = "lcd";
                        resets = <&rcc LTDC_R>;
                        status = "disabled";
+
+                       port {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
                };
 
                iwdg2: watchdog@5a002000 {
index 5e733cd..54e73cc 100644 (file)
                        clock-names = "pclk", "ref", "px_clk";
                        resets = <&rcc DSI_R>;
                        reset-names = "apb";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
                };
        };
 };