Path: blob/main/sys/contrib/device-tree/Bindings/crypto/qcom-qce.yaml
48375 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/crypto/qcom-qce.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Qualcomm crypto engine driver78maintainers:9- Bhupesh Sharma <bhupesh.sharma@linaro.org>1011description:12This document defines the binding for the QCE crypto13controller found on Qualcomm parts.1415properties:16compatible:17oneOf:18- const: qcom,crypto-v5.119deprecated: true20description: Kept only for ABI backward compatibility2122- const: qcom,crypto-v5.423deprecated: true24description: Kept only for ABI backward compatibility2526- items:27- enum:28- qcom,ipq4019-qce29- qcom,sm8150-qce30- const: qcom,qce3132- items:33- enum:34- qcom,ipq6018-qce35- qcom,ipq8074-qce36- qcom,ipq9574-qce37- qcom,msm8996-qce38- qcom,qcm2290-qce39- qcom,sdm845-qce40- qcom,sm6115-qce41- const: qcom,ipq4019-qce42- const: qcom,qce4344- items:45- enum:46- qcom,sc7280-qce47- qcom,sm6350-qce48- qcom,sm8250-qce49- qcom,sm8350-qce50- qcom,sm8450-qce51- qcom,sm8550-qce52- qcom,sm8650-qce53- const: qcom,sm8150-qce54- const: qcom,qce5556reg:57maxItems: 15859clocks:60minItems: 161maxItems: 36263clock-names:64minItems: 165maxItems: 36667iommus:68minItems: 169maxItems: 870description:71phandle to apps_smmu node with sid mask.7273interconnects:74maxItems: 175description:76Interconnect path between qce crypto and main memory.7778interconnect-names:79const: memory8081dmas:82items:83- description: DMA specifiers for rx dma channel.84- description: DMA specifiers for tx dma channel.8586dma-names:87items:88- const: rx89- const: tx9091allOf:92- if:93properties:94compatible:95contains:96enum:97- qcom,crypto-v5.198- qcom,crypto-v5.499- qcom,ipq6018-qce100- qcom,ipq8074-qce101- qcom,ipq9574-qce102- qcom,msm8996-qce103- qcom,sdm845-qce104then:105properties:106clocks:107maxItems: 3108clock-names:109items:110- const: iface111- const: bus112- const: core113required:114- clocks115- clock-names116117- if:118properties:119compatible:120contains:121enum:122- qcom,qcm2290-qce123- qcom,sm6115-qce124then:125properties:126clocks:127maxItems: 1128clock-names:129items:130- const: core131required:132- clocks133- clock-names134135- if:136properties:137compatible:138contains:139enum:140- qcom,sm8150-qce141then:142properties:143clocks: false144clock-names: false145146required:147- compatible148- reg149- dmas150- dma-names151152additionalProperties: false153154examples:155- |156#include <dt-bindings/clock/qcom,gcc-apq8084.h>157crypto-engine@fd45a000 {158compatible = "qcom,ipq6018-qce", "qcom,ipq4019-qce", "qcom,qce";159reg = <0xfd45a000 0x6000>;160clocks = <&gcc GCC_CE2_AHB_CLK>,161<&gcc GCC_CE2_AXI_CLK>,162<&gcc GCC_CE2_CLK>;163clock-names = "iface", "bus", "core";164dmas = <&cryptobam 2>, <&cryptobam 3>;165dma-names = "rx", "tx";166iommus = <&apps_smmu 0x584 0x0011>,167<&apps_smmu 0x586 0x0011>,168<&apps_smmu 0x594 0x0011>,169<&apps_smmu 0x596 0x0011>;170};171172173