1# Copyright 2017, 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: i.MX GPIO node
5
6compatible: "nxp,imx-gpio"
7
8include: [gpio-controller.yaml, base.yaml, "nxp,rdc-policy.yaml"]
9
10properties:
11  reg:
12    required: true
13
14  pinmux:
15    type: phandles
16    description: |
17      IMX pin selection peripheral does not follow specific
18      pattern for which GPIO port uses which pinmux. Use this property to specify
19      pinctrl nodes to use for the gpio port when CONFIG_PINCTRL=y. Note that
20      the order of the nodes matters. The first node for gpio1 will be used
21      as the pinmux for gpio0, port 0.
22
23  "#gpio-cells":
24    const: 2
25
26gpio-cells:
27  - pin
28  - flags
29