ramips: add support for mtk eip93 crypto engine

Mediatek EIP93 Crypto engine is a crypto accelerator which
is available in the Mediatek MT7621 SoC.

Signed-off-by: Aviana Cruz <gwencroft@proton.me>
Co-authored-by: Richard van Schagen <vschagen@icloud.com>
Co-authored-by: Chukun Pan <amadeus@jmu.edu.cn>
This commit is contained in:
Aviana Cruz
2022-06-20 21:55:45 +08:00
committed by Christian Marangi
parent 47d56ae546
commit 46d673033b
4 changed files with 3314 additions and 1 deletions

View File

@@ -423,6 +423,14 @@
clock-names = "nfi_clk";
};
crypto: crypto@1e004000 {
compatible = "mediatek,mtk-eip93";
reg = <0x1e004000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 19 IRQ_TYPE_LEVEL_HIGH>;
};
ethernet: ethernet@1e100000 {
compatible = "mediatek,mt7621-eth";
reg = <0x1e100000 0x10000>;

View File

@@ -10,7 +10,7 @@ KERNELNAME:=vmlinux vmlinuz
# make Kernel/CopyImage use $LINUX_DIR/vmlinuz
IMAGES_DIR:=../../..
DEFAULT_PACKAGES += wpad-basic-mbedtls uboot-envtools
DEFAULT_PACKAGES += wpad-basic-mbedtls uboot-envtools kmod-crypto-hw-eip93
define Target/Description
Build firmware images for Ralink MT7621 based boards.

File diff suppressed because it is too large Load Diff