Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / crypto / rockchip-crypto.txt
1 Rockchip Electronics And Security Accelerator
2
3 Required properties:
4 - compatible: Should be "rockchip,rk3288-crypto"
5 - reg: Base physical address of the engine and length of memory mapped
6        region
7 - interrupts: Interrupt number
8 - clocks: Reference to the clocks about crypto
9 - clock-names: "aclk" used to clock data
10                "hclk" used to clock data
11                "sclk" used to clock crypto accelerator
12                "apb_pclk" used to clock dma
13 - resets: Must contain an entry for each entry in reset-names.
14           See ../reset/reset.txt for details.
15 - reset-names: Must include the name "crypto-rst".
16
17 Examples:
18
19         crypto: cypto-controller@ff8a0000 {
20                 compatible = "rockchip,rk3288-crypto";
21                 reg = <0xff8a0000 0x4000>;
22                 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
23                 clocks = <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>,
24                          <&cru SCLK_CRYPTO>, <&cru ACLK_DMAC1>;
25                 clock-names = "aclk", "hclk", "sclk", "apb_pclk";
26                 resets = <&cru SRST_CRYPTO>;
27                 reset-names = "crypto-rst";
28         };