pm8998.dtsi 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. pm8998_lsid0: pmic@0 {
  7. compatible = "qcom,pm8998", "qcom,spmi-pmic";
  8. reg = <0x0 SPMI_USID>;
  9. #address-cells = <1>;
  10. #size-cells = <0>;
  11. pm8998_gpio: gpios@c000 {
  12. compatible = "qcom,pm8998-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. <0 0xc4 0 IRQ_TYPE_NONE>,
  21. <0 0xc5 0 IRQ_TYPE_NONE>,
  22. <0 0xc6 0 IRQ_TYPE_NONE>,
  23. <0 0xc7 0 IRQ_TYPE_NONE>,
  24. <0 0xc8 0 IRQ_TYPE_NONE>,
  25. <0 0xc9 0 IRQ_TYPE_NONE>,
  26. <0 0xca 0 IRQ_TYPE_NONE>,
  27. <0 0xcb 0 IRQ_TYPE_NONE>,
  28. <0 0xcc 0 IRQ_TYPE_NONE>,
  29. <0 0xcd 0 IRQ_TYPE_NONE>,
  30. <0 0xce 0 IRQ_TYPE_NONE>,
  31. <0 0xcf 0 IRQ_TYPE_NONE>,
  32. <0 0xd0 0 IRQ_TYPE_NONE>,
  33. <0 0xd1 0 IRQ_TYPE_NONE>,
  34. <0 0xd2 0 IRQ_TYPE_NONE>,
  35. <0 0xd3 0 IRQ_TYPE_NONE>,
  36. <0 0xd4 0 IRQ_TYPE_NONE>,
  37. <0 0xd5 0 IRQ_TYPE_NONE>,
  38. <0 0xd6 0 IRQ_TYPE_NONE>,
  39. <0 0xd7 0 IRQ_TYPE_NONE>,
  40. <0 0xd8 0 IRQ_TYPE_NONE>,
  41. <0 0xd9 0 IRQ_TYPE_NONE>;
  42. };
  43. };
  44. pm8998_lsid1: pmic@1 {
  45. compatible = "qcom,pm8998", "qcom,spmi-pmic";
  46. reg = <0x1 SPMI_USID>;
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. };
  50. };