diff options
author | Tai Nguyen | 2015-08-12 12:32:32 -0700 |
---|---|---|
committer | Duc Dang | 2015-09-16 12:04:24 -0700 |
commit | 94d6ba285f561cd4382b2410fcbf8820056de34e (patch) | |
tree | 9dbdc3d3a89818b657d7afd02c4f947e9510c189 /arch/arm64/boot/dts/apm | |
parent | 5c3a87e363c09242541620a777d5b73e89b6c245 (diff) |
power: reset: Add syscon poweroff device node for APM X-Gene platform
This patch adds syscon poweroff device node to support poweroff feature
on APM X-Gene Mustang platform
Signed-off-by: Tai Nguyen <ttnguyen@apm.com>
Tested-by: dann frazier <dann.frazier@canoncial.com>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'arch/arm64/boot/dts/apm')
-rw-r--r-- | arch/arm64/boot/dts/apm/apm-mustang.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/apm/apm-mustang.dts b/arch/arm64/boot/dts/apm/apm-mustang.dts index 4c55833d8a41..01cdeda93c3a 100644 --- a/arch/arm64/boot/dts/apm/apm-mustang.dts +++ b/arch/arm64/boot/dts/apm/apm-mustang.dts @@ -33,6 +33,18 @@ interrupts = <0x0 0x2d 0x1>; }; }; + + poweroff_mbox: poweroff_mbox@10548000 { + compatible = "syscon"; + reg = <0x0 0x10548000 0x0 0x30>; + }; + + poweroff: poweroff@10548010 { + compatible = "syscon-poweroff"; + regmap = <&poweroff_mbox>; + offset = <0x10>; + mask = <0x1>; + }; }; &pcie0clk { |