[PATCH 1/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
From: David Heidelberg via B4 Relay
Date: Wed Mar 11 2026 - 14:48:12 EST
From: Petr Hodina <petr.hodina@xxxxxxxxxxxxxx>
Add framebuffer for early console and u-boot support.
Signed-off-by: Petr Hodina <petr.hodina@xxxxxxxxxxxxxx>
Signed-off-by: David Heidelberg <david@xxxxxxx>
---
.../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
index 01b570d0880d6..bd6d7a3cfc0ac 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
@@ -39,6 +39,22 @@ aliases {
serial1 = &uart6;
};
+ chosen {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ framebuffer: framebuffer@9d400000 {
+ compatible = "simple-framebuffer";
+ memory-region = <&cont_splash_mem>;
+
+ format = "a8r8g8b8";
+ stride = <(1080 * 4)>;
+ height = <2246>;
+ width = <1080>;
+ };
+ };
+
gpio-keys {
compatible = "gpio-keys";
autorepeat;
--
2.53.0