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 interrupt-controller; 20 #interrupt-cells = <2>; 21 }; 22 23 }; 24 25 pm8005_lsid1: pmic@5 { 26 compatible = "qcom,pm8005", "qcom,spmi-pmic"; 27 reg = <0x5 SPMI_USID>; 28 #address-cells = <1>; 29 #size-cells = <0>; 30 }; 31}; 32