aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.4/0502-dts-mt7623-eip97-inside-secure-support.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2020-06-04 14:20:34 +0200
committerJohn Crispin <john@phrozen.org>2020-06-07 17:52:21 +0200
commit127ad76311079a842578e788a8af364f3910c676 (patch)
treef5ffa090012853d16dcc0cf399795eb351e10d63 /target/linux/mediatek/patches-5.4/0502-dts-mt7623-eip97-inside-secure-support.patch
parent3559b46b626af792d8b9c41f4f2fdae5dd6c3720 (diff)
downloadupstream-127ad76311079a842578e788a8af364f3910c676.tar.gz
upstream-127ad76311079a842578e788a8af364f3910c676.tar.bz2
upstream-127ad76311079a842578e788a8af364f3910c676.zip
mediatek: switch over to extended upstream eip97 driver
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/patches-5.4/0502-dts-mt7623-eip97-inside-secure-support.patch')
-rw-r--r--target/linux/mediatek/patches-5.4/0502-dts-mt7623-eip97-inside-secure-support.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.4/0502-dts-mt7623-eip97-inside-secure-support.patch b/target/linux/mediatek/patches-5.4/0502-dts-mt7623-eip97-inside-secure-support.patch
new file mode 100644
index 0000000000..06077fb984
--- /dev/null
+++ b/target/linux/mediatek/patches-5.4/0502-dts-mt7623-eip97-inside-secure-support.patch
@@ -0,0 +1,23 @@
+--- a/arch/arm/boot/dts/mt7623.dtsi
++++ b/arch/arm/boot/dts/mt7623.dtsi
+@@ -1047,17 +1047,14 @@
+ };
+
+ crypto: crypto@1b240000 {
+- compatible = "mediatek,eip97-crypto";
++ compatible = "inside-secure,safexcel-eip97";
+ reg = <0 0x1b240000 0 0x20000>;
+ interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
+- <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>,
+- <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>;
++ <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
++ interrupt-names = "ring0", "ring1", "ring2", "ring3";
+ clocks = <&ethsys CLK_ETHSYS_CRYPTO>;
+- clock-names = "cryp";
+- power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
+- status = "disabled";
+ };
+
+ bdpsys: syscon@1c000000 {