zephyr/dts/bindings/gpio/intel,apl-gpio.yaml
Daniel Leung 07cb01b079 x86: apollo_lake: changes GPIO definition in DTS
This breaks down the GPIO controller definition in DTS into
multiple entries. This allows these controllers to be
referenced by other DTS, and test board overlay files.
And also we can remove the entries in the dts fixup file.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-02-05 12:00:36 +01:00

34 lines
515 B
YAML

# Copyright (c) 2018-2019 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
description: Intel Apollo Lake GPIO node
compatible: "intel,apl-gpio"
include: [gpio-controller.yaml, base.yaml]
properties:
reg:
required: true
label:
required: true
interrupts:
required: true
ngpios:
required: true
pin-offset:
type: int
required: true
description: Pin offset of this GPIO entry
"#gpio-cells":
const: 2
gpio-cells:
- pin
- flags