pmi8994.dtsi (8c57a5e7b2820f349c95b8c8393fec1e0f4070d2) pmi8994.dtsi (133767d94a1d1c3a25cfaf8fa4d5eb6d71911b1b)
1#include <dt-bindings/interrupt-controller/irq.h>
2#include <dt-bindings/spmi/spmi.h>
3
4&spmi_bus {
5
6 pmic@2 {
7 compatible = "qcom,pmi8994", "qcom,spmi-pmic";
8 reg = <0x2 SPMI_USID>;
9 #address-cells = <1>;
10 #size-cells = <0>;
1#include <dt-bindings/interrupt-controller/irq.h>
2#include <dt-bindings/spmi/spmi.h>
3
4&spmi_bus {
5
6 pmic@2 {
7 compatible = "qcom,pmi8994", "qcom,spmi-pmic";
8 reg = <0x2 SPMI_USID>;
9 #address-cells = <1>;
10 #size-cells = <0>;
11
12 pmi8994_gpios: gpios@c000 {
13 compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
14 reg = <0xc000>;
15 gpio-controller;
16 #gpio-cells = <2>;
17 interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
18 <2 0xc1 0 IRQ_TYPE_NONE>,
19 <2 0xc2 0 IRQ_TYPE_NONE>,
20 <2 0xc3 0 IRQ_TYPE_NONE>,
21 <2 0xc4 0 IRQ_TYPE_NONE>,
22 <2 0xc5 0 IRQ_TYPE_NONE>,
23 <2 0xc6 0 IRQ_TYPE_NONE>,
24 <2 0xc7 0 IRQ_TYPE_NONE>,
25 <2 0xc8 0 IRQ_TYPE_NONE>,
26 <2 0xc9 0 IRQ_TYPE_NONE>;
27 };
11 };
12
13 pmic@3 {
14 compatible = "qcom,pmi8994", "qcom,spmi-pmic";
15 reg = <0x3 SPMI_USID>;
16 #address-cells = <1>;
17 #size-cells = <0>;
18 };
19};
28 };
29
30 pmic@3 {
31 compatible = "qcom,pmi8994", "qcom,spmi-pmic";
32 reg = <0x3 SPMI_USID>;
33 #address-cells = <1>;
34 #size-cells = <0>;
35 };
36};