1# Copyright (c) 2025 Seagate Technology LLC
2# SPDX-License-Identifier: Apache-2.0
3
4# Common fields for LED nodes
5
6properties:
7  label:
8    type: string
9    description: |
10      Human readable string describing the LED. It can be used by an
11      application to identify this LED or to retrieve its number/index
12      (i.e. child node number) on the parent device.
13  color-mapping:
14    type: array
15    description: |
16      Channel to color mapping of a multicolor LED. If a LED supports
17      several colors, then the color-mapping property can be used to
18      describe how the hardware channels and the colors are mapped.
19
20      For example the channel to color mapping of RGB LEDs would be
21
22         color-mapping =
23              <LED_COLOR_ID_RED>,
24              <LED_COLOR_ID_GREEN>,
25              <LED_COLOR_ID_BLUE>;
26