xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/rockchip-crypto.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotRockchip Electronics And Security Accelerator
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should be "rockchip,rk3288-crypto"
5*c66ec88fSEmmanuel Vadot- reg: Base physical address of the engine and length of memory mapped
6*c66ec88fSEmmanuel Vadot       region
7*c66ec88fSEmmanuel Vadot- interrupts: Interrupt number
8*c66ec88fSEmmanuel Vadot- clocks: Reference to the clocks about crypto
9*c66ec88fSEmmanuel Vadot- clock-names: "aclk" used to clock data
10*c66ec88fSEmmanuel Vadot	       "hclk" used to clock data
11*c66ec88fSEmmanuel Vadot	       "sclk" used to clock crypto accelerator
12*c66ec88fSEmmanuel Vadot	       "apb_pclk" used to clock dma
13*c66ec88fSEmmanuel Vadot- resets: Must contain an entry for each entry in reset-names.
14*c66ec88fSEmmanuel Vadot	  See ../reset/reset.txt for details.
15*c66ec88fSEmmanuel Vadot- reset-names: Must include the name "crypto-rst".
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExamples:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot	crypto: cypto-controller@ff8a0000 {
20*c66ec88fSEmmanuel Vadot		compatible = "rockchip,rk3288-crypto";
21*c66ec88fSEmmanuel Vadot		reg = <0xff8a0000 0x4000>;
22*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
23*c66ec88fSEmmanuel Vadot		clocks = <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>,
24*c66ec88fSEmmanuel Vadot			 <&cru SCLK_CRYPTO>, <&cru ACLK_DMAC1>;
25*c66ec88fSEmmanuel Vadot		clock-names = "aclk", "hclk", "sclk", "apb_pclk";
26*c66ec88fSEmmanuel Vadot		resets = <&cru SRST_CRYPTO>;
27*c66ec88fSEmmanuel Vadot		reset-names = "crypto-rst";
28*c66ec88fSEmmanuel Vadot	};
29