Thread (23 messages) 23 messages, 5 authors, 2019-08-26

Re: [PATCH 4/6] ARM: dts: stm32: Add hwspinlock node for stm32mp157 SoC

From: Rob Herring <robh@kernel.org>
Date: 2019-03-28 15:26:17
Also in: linux-devicetree, linux-doc, linux-remoteproc, lkml

On Wed, Mar 13, 2019 at 04:50:35PM +0100, Fabien Dessenne wrote:
quoted hunk ↗ jump to hunk
Declare hwspinlock device for stm32mp157 SoC

Signed-off-by: Fabien Dessenne <redacted>
---
 arch/arm/boot/dts/stm32mp157c.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index 105e21f..18baaea 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -886,6 +886,15 @@
 			status = "disabled";
 		};
 
+		hsem: hwspinlock@4c000000 {
+			compatible = "st,stm32-hwspinlock";
+			#hwlock-cells = <2>;
+			reg = <0x4c000000 0x400>;
+			clocks = <&rcc HSEM>;
+			clock-names = "hsem";
+			status = "okay";
okay is the default, so you can remove it.
+		};
+
 		ipcc: mailbox@4c001000 {
 			compatible = "st,stm32mp1-ipcc";
 			#mbox-cells = <1>;
-- 
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help