OSDN Git Service

arm64: dts: qcom: sm7225-fairphone-fp4: Enable ADSP, CDSP & MPSS
authorLuca Weiss <luca.weiss@fairphone.com>
Mon, 13 Dec 2021 08:22:08 +0000 (09:22 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 13 Dec 2021 23:05:40 +0000 (17:05 -0600)
Enable the remoteprocs found on the SoC and add a qcom,rmtfs-mem node.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211213082208.21492-9-luca.weiss@fairphone.com
arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts

index a693764..d4af9e0 100644 (file)
                        gpios = <&pm6350_gpios 2 GPIO_ACTIVE_LOW>;
                };
        };
+
+       reserved-memory {
+               /*
+                * The rmtfs memory region in downstream is 'dynamically allocated'
+                * but given the same address every time. Hard code it as this address is
+                * where the modem firmware expects it to be.
+                */
+               memory@efe01000 {
+                       compatible = "qcom,rmtfs-mem";
+                       reg = <0 0xefe01000 0 0x600000>;
+                       no-map;
+
+                       qcom,client-id = <1>;
+                       qcom,vmid = <15>;
+               };
+       };
+};
+
+&adsp {
+       status = "okay";
+       firmware-name = "qcom/sm7225/fairphone4/adsp.mdt";
 };
 
 &apps_rsc {
        };
 };
 
+&cdsp {
+       status = "okay";
+       firmware-name = "qcom/sm7225/fairphone4/cdsp.mdt";
+};
+
+&mpss {
+       status = "okay";
+       firmware-name = "qcom/sm7225/fairphone4/modem.mdt";
+};
+
 &pm6350_gpios {
        gpio_keys_pin: gpio-keys-pin {
                pins = "gpio2";