[PATCH 3/3] ARM: dts: stm32: enable CRYP by default on stm32mp15

From: Lionel Debieve
Date: Thu Nov 05 2020 - 05:25:19 EST


Enable CRYP1 device for cryp accelerated support on
stm32mp157C-EV1/DK2 STMicroelectronics platforms.

Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@xxxxxx>
Signed-off-by: Lionel Debieve <lionel.debieve@xxxxxx>
---
arch/arm/boot/dts/stm32mp157c-dk2.dts | 4 ++++
arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++++
2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts
index 045636555ddd..2bc92ef3aeb9 100644
--- a/arch/arm/boot/dts/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts
@@ -29,6 +29,10 @@
};
};

+&cryp1 {
+ status = "okay";
+};
+
&dsi {
status = "okay";
phy-dsi-supply = <&reg18>;
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 99796ffa43bf..74b9aaa611b5 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -136,6 +136,10 @@
status = "okay";
};

+&cryp1 {
+ status = "okay";
+};
+
&gpu {
contiguous-area = <&gpu_reserved>;
};
--
2.17.1