Merge tag 'dt-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / qcom / pmi8998.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/interrupt-controller/irq.h>
3 #include <dt-bindings/spmi/spmi.h>
4
5 &spmi_bus {
6         pmi8998_lsid0: pmic@2 {
7                 compatible = "qcom,pmi8998", "qcom,spmi-pmic";
8                 reg = <0x2 SPMI_USID>;
9                 #address-cells = <1>;
10                 #size-cells = <0>;
11
12                 pmi8998_gpio: gpios@c000 {
13                         compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
14                         reg = <0xc000>;
15                         gpio-controller;
16                         gpio-ranges = <&pmi8998_gpio 0 0 14>;
17                         #gpio-cells = <2>;
18                         interrupt-controller;
19                         #interrupt-cells = <2>;
20                 };
21         };
22
23         pmi8998_lsid1: pmic@3 {
24                 compatible = "qcom,pmi8998", "qcom,spmi-pmic";
25                 reg = <0x3 SPMI_USID>;
26                 #address-cells = <1>;
27                 #size-cells = <0>;
28
29                 labibb {
30                         compatible = "qcom,pmi8998-lab-ibb";
31
32                         ibb: ibb {
33                                 interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>,
34                                              <0x3 0xdc 0x0 IRQ_TYPE_LEVEL_HIGH>;
35                                 interrupt-names = "sc-err", "ocp";
36                         };
37
38                         lab: lab {
39                                 interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>,
40                                              <0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>;
41                                 interrupt-names = "sc-err", "ocp";
42                         };
43                 };
44         };
45 };