zephyr/dts/bindings/gpio/nxp,imx-gpio.yaml

33 lines
732 B
YAML
Raw Normal View History

# Copyright (c) 2017, NXP
# SPDX-License-Identifier: Apache-2.0
description: i.MX GPIO node
compatible: "nxp,imx-gpio"
include: [gpio-controller.yaml, base.yaml]
properties:
reg:
required: true
rdc:
type: int
description: Set the RDC permission for this peripheral
pinmux:
type: phandles
description: |
IMX pin selection peripheral does not follow specific
pattern for which GPIO port uses which pinmux. Use this property to specify
pinctrl nodes to use for the gpio port when CONFIG_PINCTRL=y. Note that
the order of the nodes matters. The first node for gpio1 will be used
as the pinmux for gpio0, port 0.
"#gpio-cells":
const: 2
gpio-cells:
- pin
- flags