18ea4ffcaSStephen Boyd// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28ea4ffcaSStephen Boyd/* Copyright 2018 Google LLC. */ 38ea4ffcaSStephen Boyd 4*43fb4431SMatthias Kaehlcke#include <dt-bindings/iio/qcom,spmi-vadc.h> 58ea4ffcaSStephen Boyd#include <dt-bindings/interrupt-controller/irq.h> 6*43fb4431SMatthias Kaehlcke#include <dt-bindings/spmi/spmi.h> 78ea4ffcaSStephen Boyd 88ea4ffcaSStephen Boyd&spmi_bus { 98ea4ffcaSStephen Boyd pm8998_lsid0: pmic@0 { 108ea4ffcaSStephen Boyd compatible = "qcom,pm8998", "qcom,spmi-pmic"; 118ea4ffcaSStephen Boyd reg = <0x0 SPMI_USID>; 128ea4ffcaSStephen Boyd #address-cells = <1>; 138ea4ffcaSStephen Boyd #size-cells = <0>; 148ea4ffcaSStephen Boyd 15*43fb4431SMatthias Kaehlcke pm8998_adc: adc@3100 { 16*43fb4431SMatthias Kaehlcke compatible = "qcom,spmi-adc-rev2"; 17*43fb4431SMatthias Kaehlcke reg = <0x3100>; 18*43fb4431SMatthias Kaehlcke interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; 19*43fb4431SMatthias Kaehlcke #address-cells = <1>; 20*43fb4431SMatthias Kaehlcke #size-cells = <0>; 21*43fb4431SMatthias Kaehlcke #io-channel-cells = <1>; 22*43fb4431SMatthias Kaehlcke }; 23*43fb4431SMatthias Kaehlcke 248ea4ffcaSStephen Boyd pm8998_gpio: gpios@c000 { 258ea4ffcaSStephen Boyd compatible = "qcom,pm8998-gpio", "qcom,spmi-gpio"; 268ea4ffcaSStephen Boyd reg = <0xc000>; 278ea4ffcaSStephen Boyd gpio-controller; 288ea4ffcaSStephen Boyd #gpio-cells = <2>; 298ea4ffcaSStephen Boyd interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, 308ea4ffcaSStephen Boyd <0 0xc1 0 IRQ_TYPE_NONE>, 318ea4ffcaSStephen Boyd <0 0xc2 0 IRQ_TYPE_NONE>, 328ea4ffcaSStephen Boyd <0 0xc3 0 IRQ_TYPE_NONE>, 338ea4ffcaSStephen Boyd <0 0xc4 0 IRQ_TYPE_NONE>, 348ea4ffcaSStephen Boyd <0 0xc5 0 IRQ_TYPE_NONE>, 358ea4ffcaSStephen Boyd <0 0xc6 0 IRQ_TYPE_NONE>, 368ea4ffcaSStephen Boyd <0 0xc7 0 IRQ_TYPE_NONE>, 378ea4ffcaSStephen Boyd <0 0xc8 0 IRQ_TYPE_NONE>, 388ea4ffcaSStephen Boyd <0 0xc9 0 IRQ_TYPE_NONE>, 398ea4ffcaSStephen Boyd <0 0xca 0 IRQ_TYPE_NONE>, 408ea4ffcaSStephen Boyd <0 0xcb 0 IRQ_TYPE_NONE>, 418ea4ffcaSStephen Boyd <0 0xcc 0 IRQ_TYPE_NONE>, 428ea4ffcaSStephen Boyd <0 0xcd 0 IRQ_TYPE_NONE>, 438ea4ffcaSStephen Boyd <0 0xce 0 IRQ_TYPE_NONE>, 448ea4ffcaSStephen Boyd <0 0xcf 0 IRQ_TYPE_NONE>, 458ea4ffcaSStephen Boyd <0 0xd0 0 IRQ_TYPE_NONE>, 468ea4ffcaSStephen Boyd <0 0xd1 0 IRQ_TYPE_NONE>, 478ea4ffcaSStephen Boyd <0 0xd2 0 IRQ_TYPE_NONE>, 488ea4ffcaSStephen Boyd <0 0xd3 0 IRQ_TYPE_NONE>, 498ea4ffcaSStephen Boyd <0 0xd4 0 IRQ_TYPE_NONE>, 508ea4ffcaSStephen Boyd <0 0xd5 0 IRQ_TYPE_NONE>, 518ea4ffcaSStephen Boyd <0 0xd6 0 IRQ_TYPE_NONE>, 528ea4ffcaSStephen Boyd <0 0xd7 0 IRQ_TYPE_NONE>, 538ea4ffcaSStephen Boyd <0 0xd8 0 IRQ_TYPE_NONE>, 548ea4ffcaSStephen Boyd <0 0xd9 0 IRQ_TYPE_NONE>; 558ea4ffcaSStephen Boyd }; 568ea4ffcaSStephen Boyd 578ea4ffcaSStephen Boyd }; 588ea4ffcaSStephen Boyd 598ea4ffcaSStephen Boyd pm8998_lsid1: pmic@1 { 608ea4ffcaSStephen Boyd compatible = "qcom,pm8998", "qcom,spmi-pmic"; 618ea4ffcaSStephen Boyd reg = <0x1 SPMI_USID>; 628ea4ffcaSStephen Boyd #address-cells = <1>; 638ea4ffcaSStephen Boyd #size-cells = <0>; 648ea4ffcaSStephen Boyd }; 658ea4ffcaSStephen Boyd}; 66