[PATCH] ARM: dts: stm32: add HASH on stm32mp131

Thomas BOURGOIN thomas.bourgoin at foss.st.com
Wed Aug 16 07:26:17 PDT 2023


From: Lionel Debieve <lionel.debieve at foss.st.com>

Add the HASH support on stm32mp131.

Signed-off-by: Lionel Debieve <lionel.debieve at foss.st.com>
Signed-off-by: Thomas Bourgoin <thomas.bourgoin at foss.st.com>
---
 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 at 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 at 58000000 {
 			compatible = "st,stm32h7-mdma";
 			reg = <0x58000000 0x1000>;
-- 
2.25.1




More information about the linux-arm-kernel mailing list