Skip to content

Commit 831e7dc

Browse files
Loic Poulainandersson
authored andcommitted
arm64: dts: qcom: qcm2290: Add crypto engine
Add Qualcomm Crypto Engine (QCE) and BAM related nodes for this SoC. Signed-off-by: Loic Poulain <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent fff7f1c commit 831e7dc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

arch/arm64/boot/dts/qcom/qcm2290.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,30 @@
757757
#interconnect-cells = <2>;
758758
};
759759

760+
cryptobam: dma-controller@1b04000 {
761+
compatible = "qcom,bam-v1.7.0";
762+
reg = <0x0 0x01b04000 0x0 0x24000>;
763+
interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
764+
clocks = <&rpmcc RPM_SMD_CE1_CLK>;
765+
clock-names = "bam_clk";
766+
#dma-cells = <1>;
767+
qcom,ee = <0>;
768+
qcom,controlled-remotely;
769+
iommus = <&apps_smmu 0x0084 0x11>,
770+
<&apps_smmu 0x0086 0x11>;
771+
};
772+
773+
crypto: crypto@1b3a000 {
774+
compatible = "qcom,qcm2290-qce", "qcom,ipq4019-qce", "qcom,qce";
775+
reg = <0x0 0x01b3a000 0x0 0x6000>;
776+
clocks = <&rpmcc RPM_SMD_CE1_CLK>;
777+
clock-names = "core";
778+
dmas = <&cryptobam 6>, <&cryptobam 7>;
779+
dma-names = "rx", "tx";
780+
iommus = <&apps_smmu 0x0084 0x11>,
781+
<&apps_smmu 0x0086 0x11>;
782+
};
783+
760784
qfprom@1b44000 {
761785
compatible = "qcom,qcm2290-qfprom", "qcom,qfprom";
762786
reg = <0x0 0x01b44000 0x0 0x3000>;

0 commit comments

Comments
 (0)