Commit 2d6f58a1 authored by Shenwei Wang's avatar Shenwei Wang Committed by Bartosz Golaszewski
Browse files

dt-bindings: gpio: Add imx scu gpio driver bindings



Add binding document for the imx scu gpio driver.

Signed-off-by: default avatarShenwei Wang <shenwei.wang@nxp.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent f7992069
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/gpio/fsl,imx8qxp-sc-gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: GPIO driver over IMX SCU firmware API

maintainers:
  - Shenwei Wang <shenwei.wang@nxp.com>

description: |
  This module provides the standard interface to control the
  resource pins in SCU domain on i.MX8 platforms.

properties:
  compatible:
    enum:
      - fsl,imx8qxp-sc-gpio

  "#gpio-cells":
    const: 2

  gpio-controller: true

required:
  - compatible
  - "#gpio-cells"
  - gpio-controller

additionalProperties: false

examples:
  - |
    gpio0: gpio {
        compatible = "fsl,imx8qxp-sc-gpio";
        gpio-controller;
        #gpio-cells = <2>;
    };