blob: d6a71c912b76f7d24787d346d4b4cd51919b1cf6 [file] [log] [blame]
Tom Rini6b642ac2024-10-01 12:20:28 -06001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/marvell,88pm886-a1.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell 88PM886 PMIC core
8
9maintainers:
10 - Karel Balej <balejk@matfyz.cz>
11
12description:
13 Marvell 88PM886 is a PMIC providing several functions such as onkey,
14 regulators or battery and charger.
15
16properties:
17 compatible:
18 const: marvell,88pm886-a1
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 maxItems: 1
25
26 wakeup-source: true
27
28 regulators:
29 type: object
30 additionalProperties: false
31 patternProperties:
32 "^(ldo(1[0-6]|[1-9])|buck[1-5])$":
33 type: object
34 $ref: /schemas/regulator/regulator.yaml#
35 description: LDO or buck regulator.
36 unevaluatedProperties: false
37
38required:
39 - compatible
40 - reg
41 - interrupts
42
43additionalProperties: false
44
45examples:
46 - |
47 #include <dt-bindings/interrupt-controller/irq.h>
48 i2c {
49 #address-cells = <1>;
50 #size-cells = <0>;
51 pmic@30 {
52 compatible = "marvell,88pm886-a1";
53 reg = <0x30>;
54 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
55 interrupt-parent = <&gic>;
56 wakeup-source;
57
58 regulators {
59 ldo2: ldo2 {
60 regulator-min-microvolt = <3100000>;
61 regulator-max-microvolt = <3300000>;
62 };
63
64 ldo15: ldo15 {
65 regulator-min-microvolt = <3300000>;
66 regulator-max-microvolt = <3300000>;
67 };
68
69 buck2: buck2 {
70 regulator-min-microvolt = <1800000>;
71 regulator-max-microvolt = <1800000>;
72 };
73 };
74 };
75 };
76...