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 5260818543e5296c84a20b716ab009c617549a4e..d70fc774e0a40c7e6c4907caba6246f52b53f303 100644 (file)
                        clock-names = "lcd";
                        resets = <&rcc LTDC_R>;
                        status = "disabled";
+
+                       port {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
                };
 
                iwdg2: watchdog@5a002000 {
index 5e733cd16ff9e3426a7a5eabecf6b568c7fbe87f..54e73ccea4464fcc1cff0a7c759f3519c6ce65b1 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>;
+                       };
                };
        };
 };