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