1# Copyright 2019-2022, 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: LPC GPIO port device.
5
6compatible: "nxp,lpc-gpio-port"
7
8include: [gpio-controller.yaml, base.yaml]
9
10properties:
11  reg:
12    required: true
13
14  "#gpio-cells":
15    const: 2
16
17  int-source:
18    type: string
19    default: "none"
20    enum:
21      - "pint"
22      - "int-a"
23      - "int-b"
24      - "none"
25    description: |
26      Interrupt source for the gpio port. For ports that can use the PINT
27      as an interrupt source for their pins (typically ports 0 and 1),
28      this can be set to PINT. Otherwise, the property should be set to "int-a"
29      or "int-b" if interrupt support is desired, and the appropriate IRQ number
30      should set for the device.
31
32gpio-cells:
33  - pin
34  - flags
35