Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | Device Tree binding for LEDs on IBM Power Systems |
| 2 | ------------------------------------------------- |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible : Should be "ibm,opal-v3-led". |
| 6 | - led-mode : Should be "lightpath" or "guidinglight". |
| 7 | |
| 8 | Each location code of FRU/Enclosure must be expressed in the |
| 9 | form of a sub-node. |
| 10 | |
| 11 | Required properties for the sub nodes: |
| 12 | - led-types : Supported LED types (attention/identify/fault) provided |
| 13 | in the form of string array. |
| 14 | |
| 15 | Example: |
| 16 | |
| 17 | leds { |
| 18 | compatible = "ibm,opal-v3-led"; |
| 19 | led-mode = "lightpath"; |
| 20 | |
| 21 | U78C9.001.RST0027-P1-C1 { |
| 22 | led-types = "identify", "fault"; |
| 23 | }; |
| 24 | ... |
| 25 | ... |
| 26 | }; |