From: David Heidelberg <[email protected]>

Instead of manually specifying reg, reuse the memory region.

Reviewed-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
---
 arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts 
b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
index 740eb22550724..88d970268e282 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
@@ -23,7 +23,7 @@ / {
        qcom,board-id = <11 0>;
 
        aliases {
-               display0 = &framebuffer0;
+               display0 = &framebuffer;
                serial0 = &uart9;
                serial1 = &uart6;
        };
@@ -36,9 +36,9 @@ chosen {
                stdout-path = "serial0";
 
                /* Use framebuffer setup by the bootloader. */
-               framebuffer0: framebuffer@9d400000 {
+               framebuffer: framebuffer {
                        compatible = "simple-framebuffer";
-                       reg = <0x0 0x9d400000 0x0 (1080 * 2160 * 4)>;
+                       memory-region = <&framebuffer_mem>;
                        width = <1080>;
                        height = <2160>;
                        stride = <(1080 * 4)>;
@@ -62,7 +62,7 @@ key-vol-up {
        };
 
        reserved-memory {
-               framebuffer@9d400000 {
+               framebuffer_mem: framebuffer@9d400000 {
                        reg = <0x0 0x9d400000 0x0 (1080 * 2160 * 4)>;
                        no-map;
                };

-- 
2.53.0



Reply via email to