1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0 238757eb3SStephen Boyd#include <dt-bindings/interrupt-controller/irq.h> 338757eb3SStephen Boyd#include <dt-bindings/spmi/spmi.h> 438757eb3SStephen Boyd 538757eb3SStephen Boyd&spmi_bus { 638757eb3SStephen Boyd 738757eb3SStephen Boyd pmic@2 { 838757eb3SStephen Boyd compatible = "qcom,pmi8994", "qcom,spmi-pmic"; 938757eb3SStephen Boyd reg = <0x2 SPMI_USID>; 1038757eb3SStephen Boyd #address-cells = <1>; 1138757eb3SStephen Boyd #size-cells = <0>; 12133767d9SVivek Gautam 13133767d9SVivek Gautam pmi8994_gpios: gpios@c000 { 14133767d9SVivek Gautam compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio"; 15133767d9SVivek Gautam reg = <0xc000>; 16133767d9SVivek Gautam gpio-controller; 1721750eb9SBrian Masney gpio-ranges = <&pmi8994_gpios 0 0 10>; 18133767d9SVivek Gautam #gpio-cells = <2>; 198cff9c8aSBrian Masney interrupt-controller; 208cff9c8aSBrian Masney #interrupt-cells = <2>; 21133767d9SVivek Gautam }; 2238757eb3SStephen Boyd }; 2338757eb3SStephen Boyd 2438757eb3SStephen Boyd pmic@3 { 2538757eb3SStephen Boyd compatible = "qcom,pmi8994", "qcom,spmi-pmic"; 2638757eb3SStephen Boyd reg = <0x3 SPMI_USID>; 2738757eb3SStephen Boyd #address-cells = <1>; 2838757eb3SStephen Boyd #size-cells = <0>; 29*2317b87aSRajendra Nayak 30*2317b87aSRajendra Nayak pmi8994_spmi_regulators: regulators { 31*2317b87aSRajendra Nayak compatible = "qcom,pmi8994-regulators"; 32*2317b87aSRajendra Nayak #address-cells = <1>; 33*2317b87aSRajendra Nayak #size-cells = <1>; 34*2317b87aSRajendra Nayak }; 3538757eb3SStephen Boyd }; 3638757eb3SStephen Boyd}; 37