xref: /linux/Documentation/devicetree/bindings/leds/leds-powernv.txt (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1Device Tree binding for LEDs on IBM Power Systems
2-------------------------------------------------
3
4Required properties:
5- compatible : Should be "ibm,opal-v3-led".
6- led-mode   : Should be "lightpath" or "guidinglight".
7
8Each location code of FRU/Enclosure must be expressed in the
9form of a sub-node.
10
11Required properties for the sub nodes:
12- led-types : Supported LED types (attention/identify/fault) provided
13              in the form of string array.
14
15Example:
16
17leds {
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};
27