1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* Copyright 2018 Google LLC. */ 3 4#include <dt-bindings/spmi/spmi.h> 5#include <dt-bindings/interrupt-controller/irq.h> 6 7&spmi_bus { 8 pm8005_lsid0: pmic@4 { 9 compatible = "qcom,pm8005", "qcom,spmi-pmic"; 10 reg = <0x4 SPMI_USID>; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 14 pm8005_gpio: gpios@c000 { 15 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 16 reg = <0xc000>; 17 gpio-controller; 18 #gpio-cells = <2>; 19 interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, 20 <0 0xc1 0 IRQ_TYPE_NONE>, 21 <0 0xc2 0 IRQ_TYPE_NONE>, 22 <0 0xc3 0 IRQ_TYPE_NONE>; 23 }; 24 25 }; 26 27 pm8005_lsid1: pmic@5 { 28 compatible = "qcom,pm8005", "qcom,spmi-pmic"; 29 reg = <0x5 SPMI_USID>; 30 #address-cells = <1>; 31 #size-cells = <0>; 32 }; 33}; 34