diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-07-23 14:10:20 +0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-07-25 23:51:32 -0700 |
commit | b2d94b3ff0638441460ce1fb23258cbd3374fd8e (patch) | |
tree | 174c4f01c582ef11ffdd28bb5a8740d100194cc9 /arch/arm64 | |
parent | fc8e565f201853c22dfc75c873db9108488111bc (diff) | |
download | linux-stable-b2d94b3ff0638441460ce1fb23258cbd3374fd8e.tar.gz linux-stable-b2d94b3ff0638441460ce1fb23258cbd3374fd8e.tar.bz2 linux-stable-b2d94b3ff0638441460ce1fb23258cbd3374fd8e.zip |
arm64: dts: sprd: Add one suspend timer
On Spreadtrum platform, the current clocksource for timekeeping will be
stopped in suspend state, thus add one always-on timer to calculate the
suspend time.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/sprd/whale2.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index e9db9108f3c0..eb6be5675f79 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -146,6 +146,12 @@ clocks = <&ext_32k>; }; + timer@40050020 { + compatible = "sprd,sc9860-suspend-timer"; + reg = <0 0x40050020 0 0x20>; + clocks = <&ext_32k>; + }; + hwlock: hwspinlock@40500000 { compatible = "sprd,hwspinlock-r3p0"; reg = <0 0x40500000 0 0x1000>; |