Commit 85bc3096 authored by Vinod Koul's avatar Vinod Koul Committed by Andy Gross

arm64: dts: qcom: pms405: Add pon and pwrkey nodes

PMS405 also features PON block, so add PON and PWRKEY nodes
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent aec2a765
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// Copyright (c) 2018, Linaro Limited // Copyright (c) 2018, Linaro Limited
#include <dt-bindings/spmi/spmi.h> #include <dt-bindings/spmi/spmi.h>
#include <dt-bindings/input/linux-event-codes.h>
&spmi_bus { &spmi_bus {
pms405_0: pms405@0 { pms405_0: pms405@0 {
...@@ -29,6 +30,21 @@ pms405_gpios: gpio@c000 { ...@@ -29,6 +30,21 @@ pms405_gpios: gpio@c000 {
<0 0xcb 0 IRQ_TYPE_NONE>; <0 0xcb 0 IRQ_TYPE_NONE>;
}; };
pon@800 {
compatible = "qcom,pms405-pon";
reg = <0x0800>;
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
pwrkey {
compatible = "qcom,pm8941-pwrkey";
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_POWER>;
};
};
rtc@6000 { rtc@6000 {
compatible = "qcom,pm8941-rtc"; compatible = "qcom,pm8941-rtc";
reg = <0x6000>; reg = <0x6000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment