xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/mmc-pwrseq-sd8787.yaml (revision acb1f1269c6f4ff89a0d28ba742f6687e9ef779d)
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 binding
8
9maintainers:
10  - Ulf Hansson <ulf.hansson@linaro.org>
11
12properties:
13  compatible:
14    const: mmc-pwrseq-sd8787
15
16  powerdown-gpios:
17    minItems: 1
18    description:
19      contains a power down GPIO specifier with the default active state
20
21  reset-gpios:
22    minItems: 1
23    description:
24      contains a reset GPIO specifier with the default active state
25
26required:
27  - compatible
28  - powerdown-gpios
29  - reset-gpios
30
31additionalProperties: false
32
33examples:
34  - |
35    #include <dt-bindings/gpio/gpio.h>
36    wifi_pwrseq: wifi_pwrseq {
37      compatible = "mmc-pwrseq-sd8787";
38      powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
39      reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>;
40    };
41...
42