summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am335x-chiliboard.dts
diff options
context:
space:
mode:
authorMarcin Niestroj <m.niestroj@grinn-global.com>2017-02-02 15:11:54 +0300
committerTony Lindgren <tony@atomide.com>2017-02-02 20:46:24 +0300
commit41f0e0670e527209cf6323c5a18961ee981b1a45 (patch)
treea7ac914dd36e295f09491731545d175d26868c5f /arch/arm/boot/dts/am335x-chiliboard.dts
parentbb07a829ec38d2628a7443563fbff5483a3157f2 (diff)
downloadlinux-41f0e0670e527209cf6323c5a18961ee981b1a45.tar.xz
ARM: dts: am335x-chiliboard: Support power button
On chiliBoard power button is connected to TPS65217. It signals power button presses by asserting interrupt output and allows to read the state by i2c bus. Handle TPS65217 interrupts and enable notifications of power button presses. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-chiliboard.dts')
-rw-r--r--arch/arm/boot/dts/am335x-chiliboard.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-chiliboard.dts b/arch/arm/boot/dts/am335x-chiliboard.dts
index 2a624b3c9258..4e13cc03d656 100644
--- a/arch/arm/boot/dts/am335x-chiliboard.dts
+++ b/arch/arm/boot/dts/am335x-chiliboard.dts
@@ -185,3 +185,13 @@
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
status = "okay";
};
+
+&tps {
+ interrupt-parent = <&intc>;
+ interrupts = <7>; /* NNMI */
+
+ pwrbutton {
+ interrupts = <2>;
+ status = "okay";
+ };
+};