blob: edac14af101e5b1ce9e18182e9de7f13305e90cb [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/maxim,max77714.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MAX77714 PMIC with GPIO, RTC and watchdog from Maxim Integrated.
8
9maintainers:
10 - Luca Ceresoli <luca.ceresoli@bootlin.com>
11
12description: |
13 MAX77714 is a Power Management IC with 4 buck regulators, 9
14 low-dropout regulators, 8 GPIOs, RTC and watchdog.
15
16properties:
17 compatible:
18 const: maxim,max77714
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 maxItems: 1
25
26 interrupt-controller: true
27
28 "#interrupt-cells":
29 const: 2
30 description:
31 The first cell is the IRQ number, the second cell is the trigger type.
32
33 regulators:
34 type: object
35 additionalProperties: false
36
37 patternProperties:
38 '^(buck[0-3]|ldo[0-8])$':
39 type: object
40 unevaluatedProperties: false
41 $ref: /schemas/regulator/regulator.yaml#
42
43required:
44 - compatible
45 - reg
46 - interrupts
47 - interrupt-controller
48 - "#interrupt-cells"
49
50additionalProperties: false
51
52examples:
53 - |
54 #include <dt-bindings/interrupt-controller/irq.h>
55 i2c {
56 #address-cells = <1>;
57 #size-cells = <0>;
58
59 pmic@1c {
60 compatible = "maxim,max77714";
61 reg = <0x1c>;
62 interrupt-parent = <&gpio2>;
63 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
64
65 interrupt-controller;
66 #interrupt-cells = <2>;
67 };
68 };