dts: arm: st: stm32u3: include <mem.h> from series' root DTSI
Include <mem.h> from the series' root DTSI file and remove inclusion of
the file from other levels since it becomes redundant. This avoids the
current situation where the same #include directive is duplicated among
many files, and where the file is sometimes included multiple times when
walking up the inclusion chain up until the root DTSI file.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
diff --git a/dts/arm/st/u3/stm32u3.dtsi b/dts/arm/st/u3/stm32u3.dtsi
index 5f5f97a..4439a20 100644
--- a/dts/arm/st/u3/stm32u3.dtsi
+++ b/dts/arm/st/u3/stm32u3.dtsi
@@ -14,6 +14,7 @@
#include <zephyr/dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/reset/stm32u3_reset.h>
#include <freq.h>
+#include <mem.h>
/ {
chosen {
diff --git a/dts/arm/st/u3/stm32u385Xg.dtsi b/dts/arm/st/u3/stm32u385Xg.dtsi
index e10914f..6367bd2 100644
--- a/dts/arm/st/u3/stm32u385Xg.dtsi
+++ b/dts/arm/st/u3/stm32u385Xg.dtsi
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
-#include <mem.h>
#include <st/u3/stm32u385.dtsi>
/ {