brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · d6a71c9 Raw
77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 core8 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-a119 20  reg:21    maxItems: 122 23  interrupts:24    maxItems: 125 26  wakeup-source: true27 28  regulators:29    type: object30    additionalProperties: false31    patternProperties:32      "^(ldo(1[0-6]|[1-9])|buck[1-5])$":33        type: object34        $ref: /schemas/regulator/regulator.yaml#35        description: LDO or buck regulator.36        unevaluatedProperties: false37 38required:39  - compatible40  - reg41  - interrupts42 43additionalProperties: false44 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...77