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