Skip to contentSkip to conversation

arm64: dts: mediatek: add crypto offload support on MT7981

PATCH Applied Aleksander Jan Bajkowski 2 participants 2 messages Apr 28 – May 11

Subsystems (2)

v3 of 5 Applied Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm64: dts: mediatek: add crypto offload support on MT7981

The MT7981 as well as the MT7986 have a built-in EIP-97 rev 2.3p0 crypto accelerator. This commit adds the missing entry in the dts.

---
 arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +15 -0
index 1bbe219380f9..e63ba3ae395e 100644
@@ -150,6 +150,21 @@ sgmiisys1: syscon@10070000 {
 			#clock-cells = <1>;
 		};
 
+		crypto@10320000 {
+			compatible = "mediatek,mt7981-crypto",
+				"inside-secure,safexcel-eip97ies";
+			reg = <0 0x10320000 0 0x40000>;
+			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ring0", "ring1", "ring2", "ring3";
+			clocks = <&topckgen CLK_TOP_EIP97B>;
+			clock-names = "core";
+			assigned-clocks = <&topckgen CLK_TOP_EIP97B_SEL>;
+			assigned-clock-parents = <&topckgen CLK_TOP_CB_NET1_D5>;
+		};
+
 		uart0: serial@11002000 {
 			compatible = "mediatek,mt7981-uart", "mediatek,mt6577-uart";
 			reg = <0 0x11002000 0 0x100>;
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 4 lines · Aleksander Jan Bajkowski

The MT7981 as well as the MT7986 have a built-in EIP-97 rev 2.3p0 crypto accelerator. This commit adds the missing entry in the dts.

Applied to v7.1-next/dts64, thanks!

[1/1] arm64: dts: mediatek: add crypto offload support on MT7981

      commit: bd25a2e3b0768b1526a8120790453a5880f11ede

Cheers,
Angelo