Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/crypto/mediatek-crypto.txt
48375 views
1
MediaTek cryptographic accelerators
2
3
Required 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
13
Example:
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
27