Commit 94d6ba28 authored by Tai Nguyen's avatar Tai Nguyen Committed by Duc Dang

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: default avatarTai Nguyen <ttnguyen@apm.com>
Tested-by: default avatardann frazier <dann.frazier@canoncial.com>
Acked-by: default avatarMoritz Fischer <moritz.fischer@ettus.com>
parent 5c3a87e3
......@@ -33,6 +33,18 @@ button@1 {
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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment