提交 e631e904 编写于 作者: D Dang Huynh 提交者: Bjorn Andersson

arm64: dts: qcom: sdm660-xiaomi-lavender: Enable Simple Framebuffer

This lets the user sees the framebuffer console.
Reviewed-by: NKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: NDang Huynh <danct12@riseup.net>
Reviewed-by: NCaleb Connolly <caleb@connolly.tech>
Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211120214227.779742-8-danct12@riseup.net
上级 cf85e9ae
...@@ -20,7 +20,20 @@ ...@@ -20,7 +20,20 @@
}; };
chosen { chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
framebuffer0: framebuffer@9d400000 {
compatible = "simple-framebuffer";
reg = <0 0x9d400000 0 (1080 * 2340 * 4)>;
width = <1080>;
height = <2340>;
stride = <(1080 * 4)>;
format = "a8r8g8b8";
};
}; };
vph_pwr: vph-pwr-regulator { vph_pwr: vph-pwr-regulator {
...@@ -46,6 +59,11 @@ ...@@ -46,6 +59,11 @@
ftrace-size = <0x0>; ftrace-size = <0x0>;
pmsg-size = <0x20000>; pmsg-size = <0x20000>;
}; };
framebuffer_mem: memory@9d400000 {
reg = <0x0 0x9d400000 0x0 0x23ff000>;
no-map;
};
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册