From: David Heidelberg <[email protected]>

Instead of manually specifying reg, reuse the memory region.

This fixed mismatch of the node naming (0xe1000000 X framebuffer@a000000)

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

diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts 
b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
index 04cb9230d29fd..4ca0e93ed63ee 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
@@ -35,19 +35,19 @@ aliases {
                serial1 = &uart7;
        };
 
        chosen {
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
 
-               framebuffer0: framebuffer@a000000 {
+               framebuffer {
                        compatible = "simple-framebuffer";
-                       reg = <0x0 0xe1000000 0x0 (2700 * 1224 * 4)>;
+                       memory-region = <&cont_splash_mem>;
                        width = <1224>;
                        height = <2700>;
                        stride = <(1224 * 4)>;
                        format = "a8r8g8b8";
                        clocks = <&gcc GCC_DISP_HF_AXI_CLK>;
                        vci-supply = <&vreg_oled_vci>;
                        dvdd-supply = <&vreg_oled_dvdd>;
                };

-- 
2.53.0



Reply via email to