1*6588cb81SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*6588cb81SKrzysztof Kozlowski%YAML 1.2 3*6588cb81SKrzysztof Kozlowski--- 4*6588cb81SKrzysztof Kozlowski$id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml# 5*6588cb81SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 6*6588cb81SKrzysztof Kozlowski 7*6588cb81SKrzysztof Kozlowskititle: Common GPIO lines 8*6588cb81SKrzysztof Kozlowski 9*6588cb81SKrzysztof Kozlowskimaintainers: 10*6588cb81SKrzysztof Kozlowski - Bartosz Golaszewski <brgl@bgdev.pl> 11*6588cb81SKrzysztof Kozlowski - Linus Walleij <linus.walleij@linaro.org> 12*6588cb81SKrzysztof Kozlowski 13*6588cb81SKrzysztof Kozlowskidescription: 14*6588cb81SKrzysztof Kozlowski Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs 15*6588cb81SKrzysztof Kozlowski using inverted signal (e.g. RESETN). 16*6588cb81SKrzysztof Kozlowski 17*6588cb81SKrzysztof Kozlowskiselect: true 18*6588cb81SKrzysztof Kozlowski 19*6588cb81SKrzysztof Kozlowskiproperties: 20*6588cb81SKrzysztof Kozlowski enable-gpios: 21*6588cb81SKrzysztof Kozlowski maxItems: 1 22*6588cb81SKrzysztof Kozlowski description: 23*6588cb81SKrzysztof Kozlowski GPIO connected to the enable control pin. 24*6588cb81SKrzysztof Kozlowski 25*6588cb81SKrzysztof Kozlowski reset-gpios: 26*6588cb81SKrzysztof Kozlowski description: 27*6588cb81SKrzysztof Kozlowski GPIO (or GPIOs for power sequence) connected to the device reset pin 28*6588cb81SKrzysztof Kozlowski (e.g. RESET or RESETN). 29*6588cb81SKrzysztof Kozlowski 30*6588cb81SKrzysztof Kozlowski powerdown-gpios: 31*6588cb81SKrzysztof Kozlowski maxItems: 1 32*6588cb81SKrzysztof Kozlowski description: 33*6588cb81SKrzysztof Kozlowski GPIO connected to the power down pin (hardware power down or power cut, 34*6588cb81SKrzysztof Kozlowski e.g. PD or PWDN). 35*6588cb81SKrzysztof Kozlowski 36*6588cb81SKrzysztof Kozlowski pwdn-gpios: 37*6588cb81SKrzysztof Kozlowski maxItems: 1 38*6588cb81SKrzysztof Kozlowski description: Use powerdown-gpios 39*6588cb81SKrzysztof Kozlowski deprecated: true 40*6588cb81SKrzysztof Kozlowski 41*6588cb81SKrzysztof Kozlowski wakeup-gpios: 42*6588cb81SKrzysztof Kozlowski maxItems: 1 43*6588cb81SKrzysztof Kozlowski description: 44*6588cb81SKrzysztof Kozlowski GPIO connected to the pin waking up the device from suspend or other 45*6588cb81SKrzysztof Kozlowski power-saving modes. 46*6588cb81SKrzysztof Kozlowski 47*6588cb81SKrzysztof KozlowskiallOf: 48*6588cb81SKrzysztof Kozlowski - if: 49*6588cb81SKrzysztof Kozlowski properties: 50*6588cb81SKrzysztof Kozlowski compatible: 51*6588cb81SKrzysztof Kozlowski contains: 52*6588cb81SKrzysztof Kozlowski enum: 53*6588cb81SKrzysztof Kozlowski - mmc-pwrseq-simple 54*6588cb81SKrzysztof Kozlowski then: 55*6588cb81SKrzysztof Kozlowski properties: 56*6588cb81SKrzysztof Kozlowski reset-gpios: 57*6588cb81SKrzysztof Kozlowski minItems: 1 58*6588cb81SKrzysztof Kozlowski maxItems: 32 59*6588cb81SKrzysztof Kozlowski else: 60*6588cb81SKrzysztof Kozlowski properties: 61*6588cb81SKrzysztof Kozlowski reset-gpios: 62*6588cb81SKrzysztof Kozlowski maxItems: 1 63*6588cb81SKrzysztof Kozlowski 64*6588cb81SKrzysztof KozlowskiadditionalProperties: true 65