35 lines
504 B
YAML
35 lines
504 B
YAML
# 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
|
|
|
|
label:
|
|
required: true
|
|
|
|
"#gpio-cells":
|
|
const: 2
|
|
|
|
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
|