18ea4ffcaSStephen Boyd// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28ea4ffcaSStephen Boyd/* Copyright 2018 Google LLC. */ 38ea4ffcaSStephen Boyd 48ea4ffcaSStephen Boyd#include <dt-bindings/spmi/spmi.h> 58ea4ffcaSStephen Boyd#include <dt-bindings/interrupt-controller/irq.h> 68ea4ffcaSStephen Boyd 78ea4ffcaSStephen Boyd&spmi_bus { 88ea4ffcaSStephen Boyd pm8005_lsid0: pmic@4 { 98ea4ffcaSStephen Boyd compatible = "qcom,pm8005", "qcom,spmi-pmic"; 108ea4ffcaSStephen Boyd reg = <0x4 SPMI_USID>; 118ea4ffcaSStephen Boyd #address-cells = <1>; 128ea4ffcaSStephen Boyd #size-cells = <0>; 138ea4ffcaSStephen Boyd 148ea4ffcaSStephen Boyd pm8005_gpio: gpios@c000 { 158ea4ffcaSStephen Boyd compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 168ea4ffcaSStephen Boyd reg = <0xc000>; 178ea4ffcaSStephen Boyd gpio-controller; 188ea4ffcaSStephen Boyd #gpio-cells = <2>; 198ea4ffcaSStephen Boyd interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, 208ea4ffcaSStephen Boyd <0 0xc1 0 IRQ_TYPE_NONE>, 218ea4ffcaSStephen Boyd <0 0xc2 0 IRQ_TYPE_NONE>, 228ea4ffcaSStephen Boyd <0 0xc3 0 IRQ_TYPE_NONE>; 238ea4ffcaSStephen Boyd }; 248ea4ffcaSStephen Boyd 258ea4ffcaSStephen Boyd }; 268ea4ffcaSStephen Boyd 278ea4ffcaSStephen Boyd pm8005_lsid1: pmic@5 { 288ea4ffcaSStephen Boyd compatible = "qcom,pm8005", "qcom,spmi-pmic"; 298ea4ffcaSStephen Boyd reg = <0x5 SPMI_USID>; 308ea4ffcaSStephen Boyd #address-cells = <1>; 318ea4ffcaSStephen Boyd #size-cells = <0>; 328ea4ffcaSStephen Boyd }; 338ea4ffcaSStephen Boyd}; 34