Upstream DTs that list memory size would probably use the new style of having unit addresses behind the memory bank. Thus remove that as well, if specified. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/arm/dts/imx7d-ddrc.dtsi | 6 ++++-- arch/arm/dts/vf610-ddrmc.dtsi | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/imx7d-ddrc.dtsi b/arch/arm/dts/imx7d-ddrc.dtsi index b4cd597be900..875fff690b4d 100644 --- a/arch/arm/dts/imx7d-ddrc.dtsi +++ b/arch/arm/dts/imx7d-ddrc.dtsi @@ -1,10 +1,12 @@ /* * Include file to switch board DTS form using hardcoded memory node - * to dynamic memory size detection based on DDR controller settings + * (if specified) to dynamic memory size detection based on DDR + * controller settings */ / { /delete-node/ memory; + /delete-node/ memory@80000000; }; &aips2 { @@ -12,4 +14,4 @@ compatible = "fsl,imx7d-ddrc"; reg = <0x307a0000 0x10000>; }; -}; \ No newline at end of file +}; diff --git a/arch/arm/dts/vf610-ddrmc.dtsi b/arch/arm/dts/vf610-ddrmc.dtsi index 772131ec28a1..44d933b3e97e 100644 --- a/arch/arm/dts/vf610-ddrmc.dtsi +++ b/arch/arm/dts/vf610-ddrmc.dtsi @@ -1,10 +1,12 @@ /* * Include file to switch board DTS form using hardcoded memory node - * to dynamic memory size detection based on DDR controller settings + * (if specified) to dynamic memory size detection based on DDR + * controller settings */ / { /delete-node/ memory; + /delete-node/ memory@80000000; }; &aips1 { -- 2.30.2