1# Copyright (c) 2017, 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]
9
10properties:
11  reg:
12    required: true
13
14  rdc:
15    type: int
16    description: Set the RDC permission for this peripheral
17
18  pinmux:
19    type: phandles
20    description: |
21      IMX pin selection peripheral does not follow specific
22      pattern for which GPIO port uses which pinmux. Use this property to specify
23      pinctrl nodes to use for the gpio port when CONFIG_PINCTRL=y. Note that
24      the order of the nodes matters. The first node for gpio1 will be used
25      as the pinmux for gpio0, port 0.
26
27  "#gpio-cells":
28    const: 2
29
30gpio-cells:
31  - pin
32  - flags
33