Commit bc279dc0 authored by Luca Weiss's avatar Luca Weiss Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm7225-fairphone-fp4: Enable ADSP, CDSP & MPSS



Enable the remoteprocs found on the SoC and add a qcom,rmtfs-mem node.

Signed-off-by: default avatarLuca Weiss <luca.weiss@fairphone.com>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211213082208.21492-9-luca.weiss@fairphone.com
parent 8eb5287e
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -53,6 +53,27 @@ volume-up {
			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 {
@@ -269,6 +290,16 @@ vreg_bob: bob {
	};
};

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