blob: 0636add6a2012cf7d16d7067b462ae4e0a2a4935 [file] [log] [blame]
# Copyright (c) 2018, marc-cpdesign
# SPDX-License-Identifier: Apache-2.0
description: NRF5 GPIO node
compatible: "nordic,nrf-gpio"
include: [gpio-controller.yaml, base.yaml]
properties:
reg:
required: true
"#gpio-cells":
const: 2
sense-edge-mask:
required: false
type: int
description: |
Mask of pins that use the GPIO sense mechanism for edge detection.
Pins not included in the mask use GPIOTE channels in the event mode.
port:
type: int
required: true
description: |
The GPIO port number. GPIO port P0 has:
port = <0>;
And P1 has:
port = <1>;
gpio-cells:
- pin
- flags