From: David Heidelberg <[email protected]>

Instead of manually specifying reg, reuse the memory region.

Signed-off-by: David Heidelberg <[email protected]>
---
 arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts 
b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts
index 797f37596bf19..9b90143d2c332 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts
@@ -34,19 +34,19 @@ aliases {
 
        chosen {
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
 
                stdout-path = "serial0:115200n8";
 
-               framebuffer0: framebuffer@a000000 {
+               framebuffer {
                        compatible = "simple-framebuffer";
-                       reg = <0x0 0xe1000000 0x0 (2400 * 1080 * 4)>;
+                       memory-region = <&cont_splash_mem>;
                        width = <1080>;
                        height = <2400>;
                        stride = <(1080 * 4)>;
                        format = "a8r8g8b8";
                        clocks = <&gcc GCC_DISP_HF_AXI_CLK>;
                };
        };
 

-- 
2.53.0



Reply via email to