brcm,bcm59056.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mfd/brcm,bcm59056.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom BCM590xx Power Management Units
  7. maintainers:
  8. - Artur Weber <aweber.kernel@gmail.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - brcm,bcm59054
  13. - brcm,bcm59056
  14. reg:
  15. maxItems: 1
  16. interrupts:
  17. maxItems: 1
  18. regulators:
  19. type: object
  20. required:
  21. - compatible
  22. - reg
  23. - interrupts
  24. additionalProperties: false
  25. allOf:
  26. - if:
  27. properties:
  28. compatible:
  29. contains:
  30. const: brcm,bcm59054
  31. then:
  32. properties:
  33. regulators:
  34. $ref: /schemas/regulator/brcm,bcm59054.yaml#
  35. - if:
  36. properties:
  37. compatible:
  38. contains:
  39. const: brcm,bcm59056
  40. then:
  41. properties:
  42. regulators:
  43. $ref: /schemas/regulator/brcm,bcm59056.yaml#
  44. examples:
  45. - |
  46. #include <dt-bindings/interrupt-controller/arm-gic.h>
  47. #include <dt-bindings/interrupt-controller/irq.h>
  48. i2c {
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. pmic@8 {
  52. compatible = "brcm,bcm59056";
  53. reg = <0x08>;
  54. interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
  55. regulators {
  56. rfldo {
  57. regulator-min-microvolt = <1200000>;
  58. regulator-max-microvolt = <3300000>;
  59. };
  60. };
  61. };
  62. };