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