OSDN Git Service

ARM: dts: am437x-sk: add power button binding
authorFelipe Balbi <balbi@ti.com>
Fri, 26 Dec 2014 19:28:23 +0000 (13:28 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 8 Jan 2015 00:23:52 +0000 (16:23 -0800)
Let this board report KEY_POWER so upper layers
can decide what to do when power button is pressed.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-sk-evm.dts

index e12199e..832d243 100644 (file)
                        regulator-always-on;
                };
 
+               power-button {
+                       compatible = "ti,tps65218-pwrbutton";
+                       status = "okay";
+                       interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
+               };
        };
 
        at24@50 {