ipq6018: update q6v5 node fdt fixup for atf

This change support both legacy and current node
configuration.

Change-Id: I2a930950472119210961238d39dd00f9482cbe6e
Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
This commit is contained in:
Manikanta Mylavarapu 2022-01-04 11:34:06 +05:30
parent 93937d92f3
commit 682a4ead16

View file

@ -1383,8 +1383,12 @@ void fdt_fixup_set_qca_cold_reboot_enable(void *blob)
void fdt_fixup_wcss_rproc_for_atf(void *blob)
{
parse_fdt_fixup("/soc/qcom_q6v5_wcss@CD00000%qcom,nosecure%1", blob);
parse_fdt_fixup("/soc/qcom_q6v5_wcss@CD00000%qca,wcss-aon-reset-seq%1", blob);
if (fdt_path_offset(blob, "/soc/remoteproc@cd00000") >= 0)
parse_fdt_fixup("/soc/remoteproc@cd00000%qcom,nosecure%1", blob);
else {
parse_fdt_fixup("/soc/qcom_q6v5_wcss@CD00000%qcom,nosecure%1", blob);
parse_fdt_fixup("/soc/qcom_q6v5_wcss@CD00000%qca,wcss-aon-reset-seq%1", blob);
}
}
int get_soc_hw_version(void)