pm8005.dtsi 771 B

12345678910111213141516171819202122232425262728293031323334
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /* Copyright 2018 Google LLC. */
  3. #include <dt-bindings/spmi/spmi.h>
  4. #include <dt-bindings/interrupt-controller/irq.h>
  5. &spmi_bus {
  6. pm8005_lsid0: pmic@4 {
  7. compatible = "qcom,pm8005", "qcom,spmi-pmic";
  8. reg = <0x4 SPMI_USID>;
  9. #address-cells = <1>;
  10. #size-cells = <0>;
  11. pm8005_gpio: gpios@c000 {
  12. compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
  13. reg = <0xc000>;
  14. gpio-controller;
  15. #gpio-cells = <2>;
  16. interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
  17. <0 0xc1 0 IRQ_TYPE_NONE>,
  18. <0 0xc2 0 IRQ_TYPE_NONE>,
  19. <0 0xc3 0 IRQ_TYPE_NONE>;
  20. };
  21. };
  22. pm8005_lsid1: pmic@5 {
  23. compatible = "qcom,pm8005", "qcom,spmi-pmic";
  24. reg = <0x5 SPMI_USID>;
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. };
  28. };