:orphan:
.. raw:: html
.. dtcompatible:: nordic,npm1300-led
.. _dtbinding_nordic_npm1300_led:
nordic,npm1300-led
##################
Vendor: :ref:`Nordic Semiconductor `
.. note::
An implementation of a driver matching this compatible is available in
:zephyr_file:`drivers/led/led_npm1300.c`.
Description
***********
.. code-block:: none
Nordic nPM1300 LED controller
The nPM1300 has three LED outputs.
Each LED can automatically display error or charging status,
or be controlled by software.
Properties
**********
.. tabs::
.. group-tab:: Node specific properties
Properties not inherited from the base binding file.
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``nordic,led0-mode``
- ``string``
- .. code-block:: none
LED 0 mode
This property is **required**.
Legal values: ``'error'``, ``'charging'``, ``'host'``
* - ``nordic,led1-mode``
- ``string``
- .. code-block:: none
LED 1 mode
This property is **required**.
Legal values: ``'error'``, ``'charging'``, ``'host'``
* - ``nordic,led2-mode``
- ``string``
- .. code-block:: none
LED 2 mode
This property is **required**.
Legal values: ``'error'``, ``'charging'``, ``'host'``
.. group-tab:: Deprecated node specific properties
Deprecated properties not inherited from the base binding file.
(None)
.. group-tab:: Base properties
Properties inherited from the base binding file, which defines
common properties that may be set on many nodes. Not all of these
may apply to the "nordic,npm1300-led" compatible.
(None)