arm64: dts: Add timer node for Spreadtrum SC9860
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 28 Feb 2018 10:47:07 +0000 (18:47 +0800)
committerArnd Bergmann <arnd@arndb.de>
Wed, 7 Mar 2018 14:26:58 +0000 (15:26 +0100)
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>
arch/arm64/boot/dts/sprd/whale2.dtsi

index 23cedbd..3dc6389 100644 (file)
                                #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>;