devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] arm64: dts: Add hwspinlock node for Spreadtrum SC9860
@ 2018-02-06  9:28 Baolin Wang
  2018-02-06  9:28 ` [PATCH 2/7] arm64: dts: Add ADI device " Baolin Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Baolin Wang @ 2018-02-06  9:28 UTC (permalink / raw)
  To: robh+dt, mark.rutland, catalin.marinas, will.deacon, arnd
  Cc: chunyan.zhang, orson.zhai, mathieu.poirier, devicetree,
	linux-arm-kernel, linux-kernel, broonie, baolin.wang

The Spreadtrum SC9860 platform only has one hardware spinlock device,
which is located on AON system of Spreadtrum SC9860 platform.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
---
 arch/arm64/boot/dts/sprd/whale2.dtsi |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 328009c..b9cc0fb 100644
--- a/arch/arm64/boot/dts/sprd/whale2.dtsi
+++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
@@ -6,6 +6,8 @@
  * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  */
 
+#include <dt-bindings/clock/sprd,sc9860-clk.h>
+
 / {
 	interrupt-parent = <&gic>;
 	#address-cells = <2>;
@@ -104,6 +106,21 @@
 				status = "disabled";
 			};
 		};
+
+		aon {
+			compatible = "simple-bus";
+			#address-cells = <2>;
+			#size-cells = <2>;
+			ranges;
+
+			hwlock: hwspinlock@40500000 {
+				compatible = "sprd,hwspinlock-r3p0";
+				reg = <0 0x40500000 0 0x1000>;
+				#hwlock-cells = <1>;
+				clock-names = "enable";
+				clocks = <&aon_gate CLK_SPLK_EB>;
+			};
+		};
 	};
 
 	ext_32k: ext_32k {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-06  9:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-06  9:28 [PATCH 1/7] arm64: dts: Add hwspinlock node for Spreadtrum SC9860 Baolin Wang
2018-02-06  9:28 ` [PATCH 2/7] arm64: dts: Add ADI device " Baolin Wang
2018-02-06  9:28 ` [PATCH 3/7] arm64: dts: Add pin controller " Baolin Wang
2018-02-06  9:28 ` [PATCH 4/7] arm64: dts: Add timer " Baolin Wang
     [not found] ` <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2018-02-06  9:28   ` [PATCH 5/7] arm64: dts: Add watchdog device " Baolin Wang
2018-02-06  9:28   ` [PATCH 6/7] arm64: dts: Add DMA " Baolin Wang
2018-02-06  9:28 ` [PATCH 7/7] arm64: dts: Add SC2731 PMIC dts file " Baolin Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).