ARM: dts: dra72-evm: Add power button node
authorNishanth Menon <nm@ti.com>
Tue, 21 Oct 2014 14:30:47 +0000 (09:30 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Nov 2014 22:27:35 +0000 (14:27 -0800)
With Commit adff5962fdd2 ("Input: introduce palmas-pwrbutton"), we can
now support tps power button as a event source - This is SW7 (PB/WAKE)
on the J6-evm.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra72-evm.dts

index 5d26fa1144e3821cb23afd1c1e04d3a5e6b543ed..e5a4227aa7ebcbbe5d469ae38fb1c4986ae9d61a 100644 (file)
                                };
                        };
                };
+
+               tps65917_power_button {
+                       compatible = "ti,palmas-pwrbutton";
+                       interrupt-parent = <&tps65917>;
+                       interrupts = <1 IRQ_TYPE_NONE>;
+                       wakeup-source;
+                       ti,palmas-long-press-seconds = <6>;
+               };
        };
 };