瀏覽代碼

ARM: dts: dra72-evm: Add power button node

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>
Nishanth Menon 11 年之前
父節點
當前提交
ab1d3c842c
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      arch/arm/boot/dts/dra72-evm.dts

+ 8 - 0
arch/arm/boot/dts/dra72-evm.dts

@@ -184,6 +184,14 @@
 				};
 			};
 		};
+
+		tps65917_power_button {
+			compatible = "ti,palmas-pwrbutton";
+			interrupt-parent = <&tps65917>;
+			interrupts = <1 IRQ_TYPE_NONE>;
+			wakeup-source;
+			ti,palmas-long-press-seconds = <6>;
+		};
 	};
 };