Skip to content

Commit

Permalink
arm64: dts: Add poweroff button device node for APM X-Gene platform
Browse files Browse the repository at this point in the history
This patch adds poweroff button device node to support poweroff feature
on APM X-Gene Mustang platform.

Signed-off-by: Y Vo <yvo@apm.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
  • Loading branch information
Y Vo authored and Kevin Hilman committed Jul 8, 2015
1 parent d770e55 commit 3d8cc14
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm64/boot/dts/apm/apm-mustang.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
device_type = "memory";
reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
};

gpio-keys {
compatible = "gpio-keys";
button@1 {
label = "POWER";
linux,code = <116>;
linux,input-type = <0x1>;
interrupts = <0x0 0x2d 0x1>;
};
};
};

&pcie0clk {
Expand Down

0 comments on commit 3d8cc14

Please sign in to comment.