From 34e6fafff27eb172f8df9393e1b1bc167010d035 Mon Sep 17 00:00:00 2001
From: Raymond Hackley <raymondhackley@protonmail.com>
Date: Tue, 25 Jun 2024 17:16:58 +0000
Subject: [PATCH] dts: msm8953: sdm450-samsung: fix node
 /soc/qcom,memshare/qcom,client_4

---
 lk2nd/device/dts/msm8953/sdm450-samsung-r04.dts | 14 ++++++++++----
 lk2nd/device/dts/msm8953/sdm450-samsung-r05.dts | 14 ++++++++++----
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/lk2nd/device/dts/msm8953/sdm450-samsung-r04.dts b/lk2nd/device/dts/msm8953/sdm450-samsung-r04.dts
index 8656c6db4..07cf57dcd 100644
--- a/lk2nd/device/dts/msm8953/sdm450-samsung-r04.dts
+++ b/lk2nd/device/dts/msm8953/sdm450-samsung-r04.dts
@@ -8,11 +8,17 @@
 / {
 	qcom,msm-id = <QCOM_ID_SDM450 0>;
 	qcom,board-id = <QCOM_BOARD_ID_MTP 4>;
-	
+
 	/* bootloader refuses the dtb if it cannot delete some nodes. */
-	qcom,memshare {
-		qcom,client_4 {
-			qcom,peripheral-size = <0x6000000>;
+	soc {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges = <0x0 0x0 0x0 0xffffffff>;
+
+		qcom,memshare {
+			qcom,client_4 {
+				qcom,peripheral-size = <0x6000000>;
+			};
 		};
 	};
 
diff --git a/lk2nd/device/dts/msm8953/sdm450-samsung-r05.dts b/lk2nd/device/dts/msm8953/sdm450-samsung-r05.dts
index 2f85dde11..0afebf193 100644
--- a/lk2nd/device/dts/msm8953/sdm450-samsung-r05.dts
+++ b/lk2nd/device/dts/msm8953/sdm450-samsung-r05.dts
@@ -8,11 +8,17 @@
 / {
 	qcom,msm-id = <QCOM_ID_SDA450 0>;
 	qcom,board-id = <QCOM_BOARD_ID_MTP 5>;
-	
+
 	/* bootloader refuses the dtb if it cannot delete some nodes. */
-	qcom,memshare {
-		qcom,client_4 {
-			qcom,peripheral-size = <0x6000000>;
+	soc {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges = <0x0 0x0 0x0 0xffffffff>;
+
+		qcom,memshare {
+			qcom,client_4 {
+				qcom,peripheral-size = <0x6000000>;
+			};
 		};
 	};