From 71c0ed72170dc7589592a26a821c766bd4ba4c05 Mon Sep 17 00:00:00 2001 From: Andy Gross Date: Thu, 19 May 2016 00:00:20 -0500 Subject: [PATCH] ARM: dts: qcom: pma8084: Add pwrkey entry This patch adds the power key device tree node. Signed-off-by: Andy Gross Reviewed-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-pma8084.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-pma8084.dtsi b/arch/arm/boot/dts/qcom-pma8084.dtsi index ea7fce389035..82d258094156 100644 --- a/arch/arm/boot/dts/qcom-pma8084.dtsi +++ b/arch/arm/boot/dts/qcom-pma8084.dtsi @@ -18,6 +18,14 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; + pwrkey@800 { + compatible = "qcom,pm8941-pwrkey"; + reg = <0x800>; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + }; + pma8084_gpios: gpios@c000 { compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio"; reg = <0xc000>; -- 2.20.1