1# Copyright (c) 2018, marc-cpdesign
2# SPDX-License-Identifier: Apache-2.0
3
4description: NRF5 GPIO node
5
6compatible: "nordic,nrf-gpio"
7
8include: [gpio-controller.yaml, base.yaml]
9
10properties:
11  reg:
12    required: true
13
14  gpiote-instance:
15    type: phandle
16    description: |
17      GPIOTE instance that can be used with this GPIO port.
18
19  "#gpio-cells":
20    const: 2
21
22  sense-edge-mask:
23    type: int
24    description: |
25      Mask of pins that use the GPIO sense mechanism for edge detection.
26      Pins not included in the mask use GPIOTE channels in the event mode.
27
28  port:
29    type: int
30    required: true
31    description: |
32      The GPIO port number. GPIO port P0 has:
33
34        port = <0>;
35
36      And P1 has:
37
38        port = <1>;
39
40gpio-cells:
41  - pin
42  - flags
43