xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/rockchip-crypto.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1Rockchip Electronics And Security Accelerator
2
3Required 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
17Examples:
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	};
29