diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-02-28 13:47:04 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-03-07 17:26:22 +0300 |
commit | 6c6fbbd1ab9136dda91fa7f2648d09158759b605 (patch) | |
tree | ee393545d9c13f4bf0f49a776ab276a0df151c2b /arch/arm64/boot/dts/sprd | |
parent | f9b7128a30268f9484d4f75ed6349f23b57e9412 (diff) | |
download | linux-6c6fbbd1ab9136dda91fa7f2648d09158759b605.tar.xz |
arm64: dts: Add hwspinlock node for Spreadtrum SC9860
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>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm64/boot/dts/sprd')
-rw-r--r-- | arch/arm64/boot/dts/sprd/whale2.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 328009c4638c..b9cc0fb575a7 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 { |