| 1 |
# 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 |
|
| 7 |
title: MAX77714 PMIC with GPIO, RTC and watchdog from Maxim Integrated. |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Luca Ceresoli <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
MAX77714 is a Power Management IC with 4 buck regulators, 9 |
| 14 |
low-dropout regulators, 8 GPIOs, RTC and watchdog. |
| 15 |
|
| 16 |
properties: |
| 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 |
|
| 43 |
required: |
| 44 |
- compatible |
| 45 |
- reg |
| 46 |
- interrupts |
| 47 |
- interrupt-controller |
| 48 |
- "#interrupt-cells" |
| 49 |
|
| 50 |
additionalProperties: false |
| 51 |
|
| 52 |
examples: |
| 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 |
}; |