diff mbox series

[4/7] arm64: dts: Add timer node for Spreadtrum SC9860

Message ID 46052ca3b42066deeb0f90d13592bb0cc53902c1.1517908478.git.baolin.wang@linaro.org
State Accepted
Commit 0cb3dad02dc471f2e1cb73f5c964b40885ff29ed
Headers show
Series [1/7] arm64: dts: Add hwspinlock node for Spreadtrum SC9860 | expand

Commit Message

(Exiting) Baolin Wang Feb. 6, 2018, 9:28 a.m. UTC
We will use one always-on timer to be the broadcast device, thus add
the timer device node for Spreadtrum SC9860 platform.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>

---
 arch/arm64/boot/dts/sprd/whale2.dtsi |    7 +++++++
 1 file changed, 7 insertions(+)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 23cedbd..3dc6389 100644
--- a/arch/arm64/boot/dts/sprd/whale2.dtsi
+++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
@@ -122,6 +122,13 @@ 
 				#size-cells = <0>;
 			};
 
+			timer@40050000 {
+				compatible = "sprd,sc9860-timer";
+				reg = <0 0x40050000 0 0x20>;
+				interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&ext_32k>;
+			};
+
 			hwlock: hwspinlock@40500000 {
 				compatible = "sprd,hwspinlock-r3p0";
 				reg = <0 0x40500000 0 0x1000>;