pmi8994.dtsi 914 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <dt-bindings/interrupt-controller/irq.h>
  3. #include <dt-bindings/spmi/spmi.h>
  4. &spmi_bus {
  5. pmic@2 {
  6. compatible = "qcom,pmi8994", "qcom,spmi-pmic";
  7. reg = <0x2 SPMI_USID>;
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. pmi8994_gpios: gpios@c000 {
  11. compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
  12. reg = <0xc000>;
  13. gpio-controller;
  14. #gpio-cells = <2>;
  15. interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
  16. <2 0xc1 0 IRQ_TYPE_NONE>,
  17. <2 0xc2 0 IRQ_TYPE_NONE>,
  18. <2 0xc3 0 IRQ_TYPE_NONE>,
  19. <2 0xc4 0 IRQ_TYPE_NONE>,
  20. <2 0xc5 0 IRQ_TYPE_NONE>,
  21. <2 0xc6 0 IRQ_TYPE_NONE>,
  22. <2 0xc7 0 IRQ_TYPE_NONE>,
  23. <2 0xc8 0 IRQ_TYPE_NONE>,
  24. <2 0xc9 0 IRQ_TYPE_NONE>;
  25. };
  26. };
  27. pmic@3 {
  28. compatible = "qcom,pmi8994", "qcom,spmi-pmic";
  29. reg = <0x3 SPMI_USID>;
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. };
  33. };