ARM: dts: msm: Add temp alarm nodes for pm/pm2falcon

The temp_alarm module monitors the PMIC die-temp. Add the
device tree nodes to enable the module.

CRs-Fixed: 1100015
Change-Id: I17c5d04d8492f237d75eaf433a34b3451428d537
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
This commit is contained in:
Anirudh Ghayal 2016-12-12 09:10:17 +05:30
parent a80e267a8c
commit c988a9870d
2 changed files with 16 additions and 0 deletions

View file

@ -34,6 +34,13 @@
<PON_POWER_OFF_SHUTDOWN>;
};
qcom,temp-alarm@2400 {
compatible = "qcom,qpnp-temp-alarm";
reg = <0x2400 0x100>;
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
label = "pm2falcon_tz";
};
pm2falcon_gpios: gpios {
compatible = "qcom,qpnp-pin";
gpio-controller;

View file

@ -51,6 +51,15 @@
};
};
qcom,temp-alarm@2400 {
compatible = "qcom,qpnp-temp-alarm";
reg = <0x2400 0x100>;
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
label = "pmfalcon_tz";
qcom,channel-num = <6>;
qcom,temp_alarm-vadc = <&pmfalcon_vadc>;
};
pmfalcon_gpios: gpios {
compatible = "qcom,qpnp-pin";
gpio-controller;