| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Marvell SD8787 power sequence provider |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ulf Hansson <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- mmc-pwrseq-sd8787 |
| 16 |
- mmc-pwrseq-wilc1000 |
| 17 |
|
| 18 |
powerdown-gpios: |
| 19 |
minItems: 1 |
| 20 |
description: |
| 21 |
contains a power down GPIO specifier with the default active state |
| 22 |
|
| 23 |
reset-gpios: |
| 24 |
minItems: 1 |
| 25 |
description: |
| 26 |
contains a reset GPIO specifier with the default active state |
| 27 |
|
| 28 |
required: |
| 29 |
- compatible |
| 30 |
- powerdown-gpios |
| 31 |
- reset-gpios |
| 32 |
|
| 33 |
additionalProperties: false |
| 34 |
|
| 35 |
examples: |
| 36 |
- | |
| 37 |
#include <dt-bindings/gpio/gpio.h> |
| 38 |
pwrseq { |
| 39 |
compatible = "mmc-pwrseq-sd8787"; |
| 40 |
powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>; |
| 41 |
reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>; |
| 42 |
}; |
| 43 |
... |