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

Thomas BOURGOIN posted 1 patch 2 years, 4 months ago
arch/arm/boot/dts/st/stm32mp131.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
[PATCH] ARM: dts: stm32: add HASH on stm32mp131
Posted by Thomas BOURGOIN 2 years, 4 months ago
From: Lionel Debieve <lionel.debieve@foss.st.com>

Add the HASH support on stm32mp131.

Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@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@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>;
-- 
2.25.1
Re: [PATCH] ARM: dts: stm32: add HASH on stm32mp131
Posted by Alexandre TORGUE 2 years, 2 months ago
Hi

On 8/16/23 16:26, Thomas BOURGOIN wrote:
> From: Lionel Debieve <lionel.debieve@foss.st.com>
> 
> Add the HASH support on stm32mp131.
> 
> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
> Signed-off-by: Thomas Bourgoin <thomas.bourgoin@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@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