xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/mmc-pwrseq-sd8787.yaml (revision 02e9120893770924227138ba49df1edb3896112a)
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
7title: Marvell SD8787 power sequence provider
8
9maintainers:
10  - Ulf Hansson <ulf.hansson@linaro.org>
11
12properties:
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
28required:
29  - compatible
30  - powerdown-gpios
31  - reset-gpios
32
33additionalProperties: false
34
35examples:
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...
44