ARM: dts: qcom: pma8084: Add pwrkey entry
authorAndy Gross <andy.gross@linaro.org>
Thu, 19 May 2016 05:00:20 +0000 (00:00 -0500)
committerAndy Gross <andy.gross@linaro.org>
Sun, 12 Jun 2016 03:57:14 +0000 (22:57 -0500)
This patch adds the power key device tree node.

Signed-off-by: Andy Gross <andy.gross@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/qcom-pma8084.dtsi

index ea7fce3890355e4a7c5e8ad24d6430f7974ff0a7..82d258094156919d048f814492008c4cd990092a 100644 (file)
                        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>;