ARM: dts: am335x: Add the power button interrupt
authorMilo Kim <woogyom.kim@gmail.com>
Fri, 28 Oct 2016 12:37:01 +0000 (21:37 +0900)
committerTony Lindgren <tony@atomide.com>
Wed, 9 Nov 2016 21:32:21 +0000 (14:32 -0700)
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>
arch/arm/boot/dts/am335x-bone-common.dtsi

index cec9d91..0c0a90c 100644 (file)
                status = "okay";
        };
 
+       pwrbutton {
+               interrupts = <TPS65217_IRQ_PB>;
+               status = "okay";
+       };
+
        regulators {
                dcdc1_reg: regulator@0 {
                        regulator-name = "vdds_dpr";