blob: 2fd59c440903d8d4d58af61ce420dc5085b3e424 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Ivan T. Ivanovdab81342015-04-20 10:45:35 +03002#include <dt-bindings/interrupt-controller/irq.h>
Ivan T. Ivanovc9127892015-02-03 14:17:59 +02003#include <dt-bindings/spmi/spmi.h>
4
5&spmi_bus {
6
Stephen Boyd134c5442015-11-20 15:31:20 -08007 pm8841_0: pm8841@4 {
8 compatible = "qcom,pm8841", "qcom,spmi-pmic";
Ivan T. Ivanovc9127892015-02-03 14:17:59 +02009 reg = <0x4 SPMI_USID>;
10 #address-cells = <1>;
11 #size-cells = <0>;
Ivan T. Ivanovdab81342015-04-20 10:45:35 +030012
13 pm8841_mpps: mpps@a000 {
Stephen Boyd2ca9c2a42015-11-20 17:49:46 -080014 compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
Stephen Boyd65d4e832015-11-25 14:27:36 -080015 reg = <0xa000>;
Ivan T. Ivanovdab81342015-04-20 10:45:35 +030016 gpio-controller;
17 #gpio-cells = <2>;
18 interrupts = <4 0xa0 0 IRQ_TYPE_NONE>,
19 <4 0xa1 0 IRQ_TYPE_NONE>,
20 <4 0xa2 0 IRQ_TYPE_NONE>,
21 <4 0xa3 0 IRQ_TYPE_NONE>;
22 };
23
24 temp-alarm@2400 {
25 compatible = "qcom,spmi-temp-alarm";
Stephen Boyd65d4e832015-11-25 14:27:36 -080026 reg = <0x2400>;
Ivan T. Ivanovdab81342015-04-20 10:45:35 +030027 interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>;
28 };
Ivan T. Ivanovc9127892015-02-03 14:17:59 +020029 };
30
Stephen Boyd134c5442015-11-20 15:31:20 -080031 pm8841_1: pm8841@5 {
32 compatible = "qcom,pm8841", "qcom,spmi-pmic";
Ivan T. Ivanovc9127892015-02-03 14:17:59 +020033 reg = <0x5 SPMI_USID>;
34 #address-cells = <1>;
35 #size-cells = <0>;
36 };
37};