39 lines
780 B
YAML
39 lines
780 B
YAML
# Copyright 2020, Friedt Professional Engineering Services, Inc
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: GPIO Emulator
|
|
|
|
compatible: "zephyr,gpio-emul"
|
|
|
|
include: [gpio-controller.yaml, base.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
label:
|
|
required: true
|
|
|
|
rising-edge:
|
|
description: Enables support for rising edge interrupt detection
|
|
type: boolean
|
|
|
|
falling-edge:
|
|
description: Enables support for falling edge interrupt detection
|
|
type: boolean
|
|
|
|
high-level:
|
|
description: Enables support for high level interrupt detection
|
|
type: boolean
|
|
|
|
low-level:
|
|
description: Enables support for low level interrupt detection
|
|
type: boolean
|
|
|
|
"#gpio-cells":
|
|
const: 2
|
|
|
|
gpio-cells:
|
|
- pin
|
|
- flags
|