Hi
On 8/16/23 16:26, Thomas BOURGOIN wrote:
From: Lionel Debieve <lionel.debieve@xxxxxxxxxxx>
Add the HASH support on stm32mp131.
Signed-off-by: Lionel Debieve <lionel.debieve@xxxxxxxxxxx>
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@xxxxxxxxxxx>
---
arch/arm/boot/dts/st/stm32mp131.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/stm32mp131.dtsi
index 672f3b7735a2..4e4f64cfb75b 100644
--- a/arch/arm/boot/dts/st/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp131.dtsi
@@ -1210,6 +1210,17 @@ timer {
};
};
+ hash: hash@54003000 {
+ compatible = "st,stm32mp13-hash";
+ reg = <0x54003000 0x400>;
+ interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&rcc HASH1>;
+ resets = <&rcc HASH1_R>;
+ dmas = <&mdma 30 0x2 0x1000a02 0x0 0x0>;
+ dma-names = "in";
+ status = "disabled";
+ };
+
mdma: dma-controller@58000000 {
compatible = "st,stm32h7-mdma";
reg = <0x58000000 0x1000>;
Applied on stm32-next.
Thanks.
Alex