diff mbox series

ARM: dts: stm32: add HASH on stm32mp131

Message ID 20230816142617.2625802-1-thomas.bourgoin@foss.st.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: stm32: add HASH on stm32mp131 | expand

Commit Message

Thomas Bourgoin Aug. 16, 2023, 2:26 p.m. UTC
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(+)

Comments

Alexandre TORGUE Sept. 22, 2023, 9:04 a.m. UTC | #1
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
diff mbox series

Patch

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>;