[PATCH v2 4/5] arm64: dts: qcom: sdm845-samsung-starqltechn: Convert fb to use memory-region

David Heidelberg via B4 Relay
2026-03-17T22:12:35Z

From: David Heidelberg <david@ixit.cz>

Instead of manually specifying reg, reuse the memory region.

Signed-off-by: David Heidelberg <david@ixit.cz>
---
arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
index 77f5872de6f19..e704497853407 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
@@ -43,9 +43,10 @@ chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
- framebuffer: framebuffer@9d400000 {
+
+ framebuffer: framebuffer-0 {
compatible = "simple-framebuffer";
- reg = <0 0x9d400000 0 (2960 * 1440 * 4)>;//2400000
+ memory-region = <&framebuffer_mem>;
width = <1440>;
height = <2960>;
stride = <(1440 * 4)>;
@@ -109,7 +110,7 @@ vreg_s4a_1p8: pm8998-smps4 {
};

reserved-memory {
- memory@9d400000 {
+ framebuffer_mem: memory@9d400000 {
reg = <0x0 0x9d400000 0x0 0x02400000>;
no-map;
};

--
2.53.0