1*2eb4d8dcSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2*2eb4d8dcSEmmanuel Vadot/* 3*2eb4d8dcSEmmanuel Vadot * Copyright (c) 2021, Linaro Limited 4*2eb4d8dcSEmmanuel Vadot */ 5*2eb4d8dcSEmmanuel Vadot 6*2eb4d8dcSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 7*2eb4d8dcSEmmanuel Vadot#include <dt-bindings/spmi/spmi.h> 8*2eb4d8dcSEmmanuel Vadot 9*2eb4d8dcSEmmanuel Vadot&spmi_bus { 10*2eb4d8dcSEmmanuel Vadot pm8350b: pmic@3 { 11*2eb4d8dcSEmmanuel Vadot compatible = "qcom,pm8350b", "qcom,spmi-pmic"; 12*2eb4d8dcSEmmanuel Vadot reg = <0x3 SPMI_USID>; 13*2eb4d8dcSEmmanuel Vadot #address-cells = <1>; 14*2eb4d8dcSEmmanuel Vadot #size-cells = <0>; 15*2eb4d8dcSEmmanuel Vadot 16*2eb4d8dcSEmmanuel Vadot pm8350b_gpios: gpio@8800 { 17*2eb4d8dcSEmmanuel Vadot compatible = "qcom,pm8350b-gpio"; 18*2eb4d8dcSEmmanuel Vadot reg = <0x8800>; 19*2eb4d8dcSEmmanuel Vadot gpio-controller; 20*2eb4d8dcSEmmanuel Vadot #gpio-cells = <2>; 21*2eb4d8dcSEmmanuel Vadot interrupt-controller; 22*2eb4d8dcSEmmanuel Vadot #interrupt-cells = <2>; 23*2eb4d8dcSEmmanuel Vadot }; 24*2eb4d8dcSEmmanuel Vadot }; 25*2eb4d8dcSEmmanuel Vadot}; 26