172f47aecSJisheng Zhang# SPDX-License-Identifier: GPL-2.0
272f47aecSJisheng Zhang%YAML 1.2
372f47aecSJisheng Zhang---
472f47aecSJisheng Zhang$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml#
572f47aecSJisheng Zhang$schema: http://devicetree.org/meta-schemas/core.yaml#
672f47aecSJisheng Zhang
784e85359SKrzysztof Kozlowskititle: Marvell SD8787 power sequence provider
872f47aecSJisheng Zhang
972f47aecSJisheng Zhangmaintainers:
1072f47aecSJisheng Zhang  - Ulf Hansson <ulf.hansson@linaro.org>
1172f47aecSJisheng Zhang
1272f47aecSJisheng Zhangproperties:
1372f47aecSJisheng Zhang  compatible:
142c2eaf88SClaudiu Beznea    enum:
152c2eaf88SClaudiu Beznea      - mmc-pwrseq-sd8787
162c2eaf88SClaudiu Beznea      - mmc-pwrseq-wilc1000
1772f47aecSJisheng Zhang
1872f47aecSJisheng Zhang  powerdown-gpios:
1972f47aecSJisheng Zhang    minItems: 1
2072f47aecSJisheng Zhang    description:
2172f47aecSJisheng Zhang      contains a power down GPIO specifier with the default active state
2272f47aecSJisheng Zhang
2372f47aecSJisheng Zhang  reset-gpios:
2472f47aecSJisheng Zhang    minItems: 1
2572f47aecSJisheng Zhang    description:
2672f47aecSJisheng Zhang      contains a reset GPIO specifier with the default active state
2772f47aecSJisheng Zhang
2872f47aecSJisheng Zhangrequired:
2972f47aecSJisheng Zhang  - compatible
3072f47aecSJisheng Zhang  - powerdown-gpios
3172f47aecSJisheng Zhang  - reset-gpios
3272f47aecSJisheng Zhang
335be478f9SRob HerringadditionalProperties: false
345be478f9SRob Herring
3572f47aecSJisheng Zhangexamples:
3672f47aecSJisheng Zhang  - |
3772f47aecSJisheng Zhang    #include <dt-bindings/gpio/gpio.h>
38*bb065c6fSKrzysztof Kozlowski    pwrseq {
3972f47aecSJisheng Zhang      compatible = "mmc-pwrseq-sd8787";
4072f47aecSJisheng Zhang      powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
4172f47aecSJisheng Zhang      reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>;
4272f47aecSJisheng Zhang    };
4372f47aecSJisheng Zhang...
44