18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: BSD-3-Clause 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci * Copyright (c) 2020, Linaro Limited 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <dt-bindings/spmi/spmi.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci&spmi_bus { 108c2ecf20Sopenharmony_ci pmic@a { 118c2ecf20Sopenharmony_ci compatible = "qcom,pm8009", "qcom,spmi-pmic"; 128c2ecf20Sopenharmony_ci reg = <0xa SPMI_USID>; 138c2ecf20Sopenharmony_ci #address-cells = <1>; 148c2ecf20Sopenharmony_ci #size-cells = <0>; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci pm8009_pon: pon@800 { 178c2ecf20Sopenharmony_ci compatible = "qcom,pm8916-pon"; 188c2ecf20Sopenharmony_ci reg = <0x0800>; 198c2ecf20Sopenharmony_ci }; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci pm8009_gpios: gpio@c000 { 228c2ecf20Sopenharmony_ci compatible = "qcom,pm8005-gpio"; 238c2ecf20Sopenharmony_ci reg = <0xc000>; 248c2ecf20Sopenharmony_ci gpio-controller; 258c2ecf20Sopenharmony_ci #gpio-cells = <2>; 268c2ecf20Sopenharmony_ci interrupt-controller; 278c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 288c2ecf20Sopenharmony_ci }; 298c2ecf20Sopenharmony_ci }; 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci pmic@b { 328c2ecf20Sopenharmony_ci compatible = "qcom,pm8009", "qcom,spmi-pmic"; 338c2ecf20Sopenharmony_ci reg = <0xb SPMI_USID>; 348c2ecf20Sopenharmony_ci #address-cells = <1>; 358c2ecf20Sopenharmony_ci #size-cells = <0>; 368c2ecf20Sopenharmony_ci }; 378c2ecf20Sopenharmony_ci}; 38