2015-04-20 14:45:35 +07:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2015-02-03 19:17:59 +07:00
|
|
|
#include <dt-bindings/spmi/spmi.h>
|
|
|
|
|
|
|
|
&spmi_bus {
|
|
|
|
|
2015-11-21 06:31:20 +07:00
|
|
|
pm8841_0: pm8841@4 {
|
|
|
|
compatible = "qcom,pm8841", "qcom,spmi-pmic";
|
2015-02-03 19:17:59 +07:00
|
|
|
reg = <0x4 SPMI_USID>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2015-04-20 14:45:35 +07:00
|
|
|
|
|
|
|
pm8841_mpps: mpps@a000 {
|
2015-11-21 08:49:46 +07:00
|
|
|
compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
|
2015-11-26 05:27:36 +07:00
|
|
|
reg = <0xa000>;
|
2015-04-20 14:45:35 +07:00
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupts = <4 0xa0 0 IRQ_TYPE_NONE>,
|
|
|
|
<4 0xa1 0 IRQ_TYPE_NONE>,
|
|
|
|
<4 0xa2 0 IRQ_TYPE_NONE>,
|
|
|
|
<4 0xa3 0 IRQ_TYPE_NONE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
temp-alarm@2400 {
|
|
|
|
compatible = "qcom,spmi-temp-alarm";
|
2015-11-26 05:27:36 +07:00
|
|
|
reg = <0x2400>;
|
2015-04-20 14:45:35 +07:00
|
|
|
interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
};
|
2015-02-03 19:17:59 +07:00
|
|
|
};
|
|
|
|
|
2015-11-21 06:31:20 +07:00
|
|
|
pm8841_1: pm8841@5 {
|
|
|
|
compatible = "qcom,pm8841", "qcom,spmi-pmic";
|
2015-02-03 19:17:59 +07:00
|
|
|
reg = <0x5 SPMI_USID>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|