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