This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

zephyr,gpio-keys

Vendor: Zephyr-specific binding

Description

Zephyr GPIO KEYS parent node

Properties

Top level properties

These property descriptions apply to “zephyr,gpio-keys” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

debounce-interval-ms

int

Debouncing interval time in milliseconds.
If not specified defaults to 30.

Default value: 30

Child node properties

Name

Type

Details

gpios

phandle-array

This property is required.

label

string

Descriptive name of the key

See Important properties for more information.

zephyr,code

int

Key / Axis code to emit.