Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/gpio/fsl,imx8qxp-sc-gpio.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: GPIO driver over IMX SCU firmware API |
| 8 | |
| 9 | maintainers: |
| 10 | - Shenwei Wang <shenwei.wang@nxp.com> |
| 11 | |
| 12 | description: | |
| 13 | This module provides the standard interface to control the |
| 14 | resource pins in SCU domain on i.MX8 platforms. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - fsl,imx8qxp-sc-gpio |
| 20 | |
| 21 | "#gpio-cells": |
| 22 | const: 2 |
| 23 | |
| 24 | gpio-controller: true |
| 25 | |
| 26 | required: |
| 27 | - compatible |
| 28 | - "#gpio-cells" |
| 29 | - gpio-controller |
| 30 | |
| 31 | additionalProperties: false |
| 32 | |
| 33 | examples: |
| 34 | - | |
| 35 | gpio0: gpio { |
| 36 | compatible = "fsl,imx8qxp-sc-gpio"; |
| 37 | gpio-controller; |
| 38 | #gpio-cells = <2>; |
| 39 | }; |