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 }; 22f041bb3cSBjorn Andersson 23f041bb3cSBjorn Andersson pmi8994_mpps: mpps@a000 { 24f041bb3cSBjorn Andersson compatible = "qcom,pmi8994-mpp"; 25f041bb3cSBjorn Andersson reg = <0xa000>; 26f041bb3cSBjorn Andersson gpio-controller; 27f041bb3cSBjorn Andersson gpio-ranges = <&pmi8994_mpps 0 0 4>; 28f041bb3cSBjorn Andersson #gpio-cells = <2>; 29f041bb3cSBjorn Andersson interrupt-controller; 30f041bb3cSBjorn Andersson #interrupt-cells = <2>; 31f041bb3cSBjorn Andersson }; 3238757eb3SStephen Boyd }; 3338757eb3SStephen Boyd 3438757eb3SStephen Boyd pmic@3 { 3538757eb3SStephen Boyd compatible = "qcom,pmi8994", "qcom,spmi-pmic"; 3638757eb3SStephen Boyd reg = <0x3 SPMI_USID>; 3738757eb3SStephen Boyd #address-cells = <1>; 3838757eb3SStephen Boyd #size-cells = <0>; 392317b87aSRajendra Nayak 40*15f50a48SKrzysztof Kozlowski pmi8994_lpg: pwm { 41e79a1385SBjorn Andersson compatible = "qcom,pmi8994-lpg"; 42e79a1385SBjorn Andersson 43e79a1385SBjorn Andersson #address-cells = <1>; 44e79a1385SBjorn Andersson #size-cells = <0>; 45e79a1385SBjorn Andersson #pwm-cells = <2>; 46e79a1385SBjorn Andersson 47e79a1385SBjorn Andersson status = "disabled"; 48e79a1385SBjorn Andersson }; 49e79a1385SBjorn Andersson 502317b87aSRajendra Nayak pmi8994_spmi_regulators: regulators { 512317b87aSRajendra Nayak compatible = "qcom,pmi8994-regulators"; 522317b87aSRajendra Nayak #address-cells = <1>; 532317b87aSRajendra Nayak #size-cells = <1>; 542317b87aSRajendra Nayak }; 5537aa540cSKonrad Dybcio 5637aa540cSKonrad Dybcio pmi8994_wled: wled@d800 { 5737aa540cSKonrad Dybcio compatible = "qcom,pmi8994-wled"; 58d66b1d2eSKrzysztof Kozlowski reg = <0xd800>, <0xd900>; 5937aa540cSKonrad Dybcio interrupts = <3 0xd8 0x02 IRQ_TYPE_EDGE_RISING>; 6037aa540cSKonrad Dybcio interrupt-names = "short"; 6137aa540cSKonrad Dybcio qcom,cabc; 62b110dfa5SMarijn Suijten qcom,external-pfet; 6337aa540cSKonrad Dybcio status = "disabled"; 6437aa540cSKonrad Dybcio }; 6538757eb3SStephen Boyd }; 6638757eb3SStephen Boyd}; 67