xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/mediatek-crypto.txt (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1MediaTek cryptographic accelerators
2
3Required properties:
4- compatible: Should be "mediatek,eip97-crypto"
5- reg: Address and length of the register set for the device
6- interrupts: Should contain the five crypto engines interrupts in numeric
7	order. These are global system and four descriptor rings.
8- clocks: the clock used by the core
9- clock-names: Must contain "cryp".
10- power-domains: Must contain a reference to the PM domain.
11
12
13Example:
14	crypto: crypto@1b240000 {
15		compatible = "mediatek,eip97-crypto";
16		reg = <0 0x1b240000 0 0x20000>;
17		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>,
18			     <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>,
19			     <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
20			     <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>,
21			     <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>;
22		clocks = <&ethsys CLK_ETHSYS_CRYPTO>;
23		clock-names = "cryp";
24		power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
25	};
26