diff --git a/arch/arm64/boot/dts/vendor/qcom/lito.dtsi b/arch/arm64/boot/dts/vendor/qcom/lito.dtsi index bf46cb646a80..76c2be7cee47 100644 --- a/arch/arm64/boot/dts/vendor/qcom/lito.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/lito.dtsi @@ -44,6 +44,7 @@ swr2 = &swr2; sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ sdhc2 = &sdhc_2; /* SDC2 SD Card slot */ + display0 = &framebuffer0; }; cpus { @@ -478,6 +479,9 @@ }; cont_splash_memory: cont_splash_region { + compatible = "removed-dma-pool"; + no-map; + // Used for framebuffer0 reg = <0x0 0xA0000000 0x0 0x02300000>; label = "cont_splash_region"; }; @@ -500,7 +504,24 @@ }; chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "display0"; bootargs = "rcu_nocbs=0-7"; + + framebuffer0: framebuffer@a0000000 { + compatible = "simple-framebuffer"; + // Address and size values from cont_splash_region + reg = <0x0 0xa0000000 0x0 0x02300000>; + // Normal display resolution + width = <1080>; + height = <2340>; + // Replace 1080 with width + stride = <(1080 * 4)>; + format = "a8r8g8b8"; + }; }; soc: soc { };