xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/qcom,inline-crypto-engine.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1fac71e4eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2fac71e4eSEmmanuel Vadot%YAML 1.2
3fac71e4eSEmmanuel Vadot---
4fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/crypto/qcom,inline-crypto-engine.yaml#
5fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6fac71e4eSEmmanuel Vadot
7fac71e4eSEmmanuel Vadottitle: Qualcomm Technologies, Inc. (QTI) Inline Crypto Engine
8fac71e4eSEmmanuel Vadot
9fac71e4eSEmmanuel Vadotmaintainers:
10fac71e4eSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11fac71e4eSEmmanuel Vadot
12fac71e4eSEmmanuel Vadotproperties:
13fac71e4eSEmmanuel Vadot  compatible:
14fac71e4eSEmmanuel Vadot    items:
15fac71e4eSEmmanuel Vadot      - enum:
1684943d6fSEmmanuel Vadot          - qcom,sa8775p-inline-crypto-engine
1701950c46SEmmanuel Vadot          - qcom,sc7180-inline-crypto-engine
18*7d0873ebSEmmanuel Vadot          - qcom,sc7280-inline-crypto-engine
19aa1a8ff2SEmmanuel Vadot          - qcom,sm8450-inline-crypto-engine
20fac71e4eSEmmanuel Vadot          - qcom,sm8550-inline-crypto-engine
218d13bc63SEmmanuel Vadot          - qcom,sm8650-inline-crypto-engine
22fac71e4eSEmmanuel Vadot      - const: qcom,inline-crypto-engine
23fac71e4eSEmmanuel Vadot
24fac71e4eSEmmanuel Vadot  reg:
25fac71e4eSEmmanuel Vadot    maxItems: 1
26fac71e4eSEmmanuel Vadot
27fac71e4eSEmmanuel Vadot  clocks:
28fac71e4eSEmmanuel Vadot    maxItems: 1
29fac71e4eSEmmanuel Vadot
30fac71e4eSEmmanuel Vadotrequired:
31fac71e4eSEmmanuel Vadot  - compatible
32fac71e4eSEmmanuel Vadot  - reg
33fac71e4eSEmmanuel Vadot  - clocks
34fac71e4eSEmmanuel Vadot
35fac71e4eSEmmanuel VadotadditionalProperties: false
36fac71e4eSEmmanuel Vadot
37fac71e4eSEmmanuel Vadotexamples:
38fac71e4eSEmmanuel Vadot  - |
39fac71e4eSEmmanuel Vadot    #include <dt-bindings/clock/qcom,sm8550-gcc.h>
40fac71e4eSEmmanuel Vadot
41fac71e4eSEmmanuel Vadot    crypto@1d88000 {
42fac71e4eSEmmanuel Vadot      compatible = "qcom,sm8550-inline-crypto-engine",
43fac71e4eSEmmanuel Vadot                   "qcom,inline-crypto-engine";
44fac71e4eSEmmanuel Vadot      reg = <0x01d88000 0x8000>;
45fac71e4eSEmmanuel Vadot      clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
46fac71e4eSEmmanuel Vadot    };
47fac71e4eSEmmanuel Vadot...
48