:orphan:
.. raw:: html
.. dtcompatible:: zephyr,native-linux-leds
.. _dtbinding_zephyr_native_linux_leds:
zephyr,native-linux-leds
########################
.. sidebar:: Overview
:Name: ``zephyr,native-linux-leds``
:Vendor: :ref:`Zephyr Project `
:Used in: :zephyr:board-catalog:`List of boards <#compatibles=zephyr,native-linux-leds>` using
this compatible
:Driver: :zephyr_file:`drivers/led/linux_leds.c`
Description
***********
.. code-block:: none
Linux LED backed LED device
Examples
********
.. code-block:: dts
/ {
leds {
compatible = "zephyr,native-linux-leds";
led0: led_0 {
/* /sys/class/leds/tpacpi::lid_logo_dot/brightness */
path = "tpacpi::lid_logo_dot";
};
led1: led_1 {
/* /sys/class/leds/tpacpi::power/brightness */
path = "tpacpi::power";
};
};
};
Properties
**********
Top level properties
====================
No top-level properties.
Child node properties
=====================
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``path``
- ``string``
- This property is **required**.
* - ``label``
- ``string``
- .. code-block:: none
Human readable string describing the LED. It can be used by an
application to identify this LED or to retrieve its number/index
(i.e. child node number) on the parent device.
See :ref:`zephyr:dt-important-props` for more information.