From: Andy Gross Date: Thu, 19 May 2016 05:00:20 +0000 (-0500) Subject: ARM: dts: qcom: pma8084: Add pwrkey entry X-Git-Tag: v4.8-rc1~66^2~19^2~20 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=71c0ed72170dc7589592a26a821c766bd4ba4c05;p=linux.git 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 --- 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 @@ rtc@6000 { 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>;