2017-08-16 03:05:10 +08:00
|
|
|
# Copyright (c) 2017, NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-19 06:03:49 +08:00
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: i.MX GPIO node
|
2017-08-16 03:05:10 +08:00
|
|
|
|
2019-08-20 02:32:25 +08:00
|
|
|
compatible: "nxp,imx-gpio"
|
|
|
|
|
2019-08-22 07:10:12 +08:00
|
|
|
include: [gpio-controller.yaml, base.yaml]
|
2019-06-08 00:12:49 +08:00
|
|
|
|
2017-08-16 03:05:10 +08:00
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
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
|
2019-08-10 03:54:26 +08:00
|
|
|
|
2019-09-27 02:34:13 +08:00
|
|
|
gpio-cells:
|
2017-08-16 03:05:10 +08:00
|
|
|
- pin
|
|
|
|
- flags
|