Skip to content

Commit

Permalink
arm64: dts: qcom: sm7225-fairphone-fp4: Enable ADSP, CDSP & MPSS
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lweiss-fairphone authored and andersson committed Dec 13, 2021
1 parent 8eb5287 commit bc279dc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
Expand Up @@ -53,6 +53,27 @@
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 {
Expand Down Expand Up @@ -269,6 +290,16 @@
};
};

&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";
Expand Down

0 comments on commit bc279dc

Please sign in to comment.