From: David Heidelberg <[email protected]>

The Pixel 3 / 3 XL modem needs the modemsmem client. Add it in the device
tree so the modem can properly boot.

Based on work of Casey Tunturi.

Signed-off-by: David Heidelberg <[email protected]>
---
 arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi 
b/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi
index 9e952f9862f24..7e8f1a34a79f8 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi
@@ -45,16 +45,21 @@ chosen {
                framebuffer0: framebuffer-0 {
                        compatible = "simple-framebuffer";
                        memory-region = <&cont_splash_mem>;
 
                        format = "a8r8g8b8";
                };
        };
 
+       modemsmem {
+               compatible = "google,modemsmem";
+               qcom,smem-id = <134>;
+       };
+
        reserved-memory {
                cont_splash_mem: splash@9d400000 {
                        reg = <0 0x9d400000 0 0x02400000>;
                        no-map;
                };
 
                mpss_region: memory@8e000000 {
                        reg = <0 0x8e000000 0 0x9800000>;

-- 
2.55.0



Reply via email to