1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4c66ec88fSEmmanuel Vadot * Copyright (c) 2020, Linaro Limited 5c66ec88fSEmmanuel Vadot */ 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadot#include <dt-bindings/spmi/spmi.h> 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadot&spmi_bus { 10c66ec88fSEmmanuel Vadot pmic@a { 11c66ec88fSEmmanuel Vadot compatible = "qcom,pm8009", "qcom,spmi-pmic"; 12c66ec88fSEmmanuel Vadot reg = <0xa SPMI_USID>; 13c66ec88fSEmmanuel Vadot #address-cells = <1>; 14c66ec88fSEmmanuel Vadot #size-cells = <0>; 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot pm8009_pon: pon@800 { 17c66ec88fSEmmanuel Vadot compatible = "qcom,pm8916-pon"; 18c66ec88fSEmmanuel Vadot reg = <0x0800>; 19c66ec88fSEmmanuel Vadot }; 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot pm8009_gpios: gpio@c000 { 22*b97ee269SEmmanuel Vadot compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 23c66ec88fSEmmanuel Vadot reg = <0xc000>; 24c66ec88fSEmmanuel Vadot gpio-controller; 25*b97ee269SEmmanuel Vadot gpio-ranges = <&pm8009_gpios 0 0 4>; 26c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 27c66ec88fSEmmanuel Vadot interrupt-controller; 28c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 29c66ec88fSEmmanuel Vadot }; 30c66ec88fSEmmanuel Vadot }; 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot pmic@b { 33c66ec88fSEmmanuel Vadot compatible = "qcom,pm8009", "qcom,spmi-pmic"; 34c66ec88fSEmmanuel Vadot reg = <0xb SPMI_USID>; 35c66ec88fSEmmanuel Vadot #address-cells = <1>; 36c66ec88fSEmmanuel Vadot #size-cells = <0>; 37c66ec88fSEmmanuel Vadot }; 38c66ec88fSEmmanuel Vadot}; 39