Skip to contentSkip to conversation

ARM: dts: stm32: Add HASH support on stm32mp157c

PATCH In review Lionel Debieve 2 participants 2 messages May 14, 2018 – Jun 25, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32: Add HASH support on stm32mp157c

This patch add HASH instance of the stm32mp157c SoC

---
 arch/arm/boot/dts/stm32mp157c.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/stm32mp157c.dtsi +12 -0
index b66f673b5038..cb39fb6d9960 100644
@@ -702,6 +702,18 @@
 			status = "disabled";
 		};
 
+		hash1: hash at 54002000 {
+			compatible = "st,stm32f756-hash";
+			reg = <0x54002000 0x400>;
+			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&rcc HASH1>;
+			resets = <&rcc HASH1_R>;
+			dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0 0x0>;
+			dma-names = "in";
+			dma-maxburst = <2>;
+			status = "disabled";
+		};
+
 		rng1: rng at 54003000 {
 			compatible = "st,stm32-rng";
 			reg = <0x54003000 0x400>;
Signature · 1 line
2.15.1
#1 lore raw

Hi Lionel,

Quoted 21 lines · Lionel Debieve

This patch add HASH instance of the stm32mp157c SoC

---
  arch/arm/boot/dts/stm32mp157c.dtsi | 12 ++++++++++++
  1 file changed, 12 insertions(+)
arch/arm/boot/dts/stm32mp157c.dtsi +5 -0
index b66f673b5038..cb39fb6d9960 100644
@@ -702,6 +702,18 @@
  			status = "disabled";
  		};
 
+		hash1: hash at 54002000 {
+			compatible = "st,stm32f756-hash";
+			reg = <0x54002000 0x400>;
+			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&rcc HASH1>;

arch/arm/boot/dts/stm32mp157c.dtsi line 719

Quoted 10 lines
arch/arm/boot/dts/stm32mp157c.dtsi +7 -0
+			resets = <&rcc HASH1_R>;
+			dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0 0x0>;
+			dma-names = "in";
+			dma-maxburst = <2>;
+			status = "disabled";
+		};
+
  		rng1: rng at 54003000 {
  			compatible = "st,stm32-rng";
  			reg = <0x54003000 0x400>;

Applied on stm32-next.

Thanks.
Alex