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