board: arm: ipq6018: Add atf crypto fixup support

This changes fixup to '0' in "qcom,controlled-remotely"
property and '2' in "qti,config-pipe-trust-reg" property
in the crypto bam node if ATF is enabled. This will enable
the kernel to do complete bam pipe initialization.

Change-Id: Idd9523f523c3099ff9ab79a894bec11f6d7a6552
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
This commit is contained in:
Poovendhan Selvaraj 2023-10-17 14:55:54 +05:30
parent 1efbe86905
commit 8ac1dd64de

View file

@ -1286,6 +1286,12 @@ void fdt_fixup_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/dma@704000") >= 0) {
parse_fdt_fixup("/soc/dma@704000%qcom,controlled-remotely%0",
blob);
parse_fdt_fixup("/soc/dma@704000%qti,config-pipe-trust-reg%2",
blob);
}
}
int get_soc_hw_version(void)