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>
34 lines
515 B
YAML
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
|