summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMilo Kim <woogyom.kim@gmail.com>2016-10-28 15:37:01 +0300
committerTony Lindgren <tony@atomide.com>2016-11-10 00:32:21 +0300
commiteb3e4bbebac41946cf3001ebe11bd4c135b61f29 (patch)
tree326312fd52e2084eda5af326c248d2a9afe5e1d2 /arch
parent1934e89a769b9da761f38e1c7b5e46ffa468f4c2 (diff)
downloadlinux-eb3e4bbebac41946cf3001ebe11bd4c135b61f29.tar.xz
ARM: dts: am335x: Add the power button interrupt
This enables the power button driver gets corresponding IRQ number by using platform_get_irq(). Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/am335x-bone-common.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index cec9d91dc296..0c0a90c30afa 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -324,6 +324,11 @@
status = "okay";
};
+ pwrbutton {
+ interrupts = <TPS65217_IRQ_PB>;
+ status = "okay";
+ };
+
regulators {
dcdc1_reg: regulator@0 {
regulator-name = "vdds_dpr";