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-cells = <2>; 17 interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, 18 <0 0xc1 0 IRQ_TYPE_NONE>, 19 <0 0xc2 0 IRQ_TYPE_NONE>, 20 <0 0xc3 0 IRQ_TYPE_NONE>, 21 <0 0xc4 0 IRQ_TYPE_NONE>, 22 <0 0xc5 0 IRQ_TYPE_NONE>, 23 <0 0xc6 0 IRQ_TYPE_NONE>, 24 <0 0xc7 0 IRQ_TYPE_NONE>, 25 <0 0xc8 0 IRQ_TYPE_NONE>, 26 <0 0xc9 0 IRQ_TYPE_NONE>, 27 <0 0xca 0 IRQ_TYPE_NONE>, 28 <0 0xcb 0 IRQ_TYPE_NONE>, 29 <0 0xcc 0 IRQ_TYPE_NONE>, 30 <0 0xcd 0 IRQ_TYPE_NONE>; 31 }; 32 }; 33 34 pmi8998_lsid1: pmic@3 { 35 compatible = "qcom,pmi8998", "qcom,spmi-pmic"; 36 reg = <0x3 SPMI_USID>; 37 #address-cells = <1>; 38 #size-cells = <0>; 39 }; 40}; 41