Almost all drivers support 32 pins, though some support less. Eventually this should be specified in every SOC binding, but until then provide a default so GPIO drivers can be updated to use this. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
20 lines
483 B
YAML
20 lines
483 B
YAML
# Copyright (c) 2019, Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Common fields for GPIO controllers
|
|
|
|
properties:
|
|
"gpio-controller":
|
|
type: boolean
|
|
required: true
|
|
description: Convey's this node is a GPIO controller
|
|
"#gpio-cells":
|
|
type: int
|
|
required: true
|
|
description: Number of items to expect in a GPIO specifier
|
|
ngpios:
|
|
type: int
|
|
required: false
|
|
default: 32
|
|
description: Number of gpios supported
|