zephyr,gpio-relay

Description

GPIO-driven relay.

A relay switched by a single GPIO, implementing the relay on/off API. The
coil's active level comes from the flags in the "gpios" specifier. A board
with several relays instantiates one node per relay.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

gpios

phandle-array

The GPIO driving the relay coil. The active level is taken from the
specifier flags (GPIO_ACTIVE_HIGH / GPIO_ACTIVE_LOW).

This property is required.