Commit | Line | Data |
---|---|---|
14748d7c SV |
1 | Qualcomm crypto engine driver |
2 | ||
3 | Required properties: | |
4 | ||
5 | - compatible : should be "qcom,crypto-v5.1" | |
6 | - reg : specifies base physical address and size of the registers map | |
7 | - clocks : phandle to clock-controller plus clock-specifier pair | |
8 | - clock-names : "iface" clocks register interface | |
9 | "bus" clocks data transfer interface | |
10 | "core" clocks rest of the crypto block | |
11 | - dmas : DMA specifiers for tx and rx dma channels. For more see | |
12 | Documentation/devicetree/bindings/dma/dma.txt | |
13 | - dma-names : DMA request names should be "rx" and "tx" | |
14 | ||
15 | Example: | |
16 | crypto@fd45a000 { | |
17 | compatible = "qcom,crypto-v5.1"; | |
18 | reg = <0xfd45a000 0x6000>; | |
19 | clocks = <&gcc GCC_CE2_AHB_CLK>, | |
20 | <&gcc GCC_CE2_AXI_CLK>, | |
21 | <&gcc GCC_CE2_CLK>; | |
22 | clock-names = "iface", "bus", "core"; | |
23 | dmas = <&cryptobam 2>, <&cryptobam 3>; | |
24 | dma-names = "rx", "tx"; | |
25 | }; |