summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/sprd/whale2.dtsi
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-02-28 13:47:07 +0300
committerArnd Bergmann <arnd@arndb.de>2018-03-07 17:26:58 +0300
commit0cb3dad02dc471f2e1cb73f5c964b40885ff29ed (patch)
tree4ba712de6e11ab376948ed89b6b763ffa0ac7524 /arch/arm64/boot/dts/sprd/whale2.dtsi
parentd85bcd9c6274905f5c0266d3096926a5456cc59d (diff)
downloadlinux-0cb3dad02dc471f2e1cb73f5c964b40885ff29ed.tar.xz
arm64: dts: Add timer node for Spreadtrum SC9860
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> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm64/boot/dts/sprd/whale2.dtsi')
-rw-r--r--arch/arm64/boot/dts/sprd/whale2.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 23cedbdd2571..3dc63895afd0 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>;