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  "#gpio-cells":
15    const: 2
16
17  sense-edge-mask:
18    type: int
19    description: |
20      Mask of pins that use the GPIO sense mechanism for edge detection.
21      Pins not included in the mask use GPIOTE channels in the event mode.
22
23  port:
24    type: int
25    required: true
26    description: |
27      The GPIO port number. GPIO port P0 has:
28
29        port = <0>;
30
31      And P1 has:
32
33        port = <1>;
34
35gpio-cells:
36  - pin
37  - flags
38