xref: /openbmc/linux/Documentation/devicetree/bindings/leds/leds-powernv.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*84ad6e5cSVasant HegdeDevice Tree binding for LEDs on IBM Power Systems
2*84ad6e5cSVasant Hegde-------------------------------------------------
3*84ad6e5cSVasant Hegde
4*84ad6e5cSVasant HegdeRequired properties:
5*84ad6e5cSVasant Hegde- compatible : Should be "ibm,opal-v3-led".
6*84ad6e5cSVasant Hegde- led-mode   : Should be "lightpath" or "guidinglight".
7*84ad6e5cSVasant Hegde
8*84ad6e5cSVasant HegdeEach location code of FRU/Enclosure must be expressed in the
9*84ad6e5cSVasant Hegdeform of a sub-node.
10*84ad6e5cSVasant Hegde
11*84ad6e5cSVasant HegdeRequired properties for the sub nodes:
12*84ad6e5cSVasant Hegde- led-types : Supported LED types (attention/identify/fault) provided
13*84ad6e5cSVasant Hegde              in the form of string array.
14*84ad6e5cSVasant Hegde
15*84ad6e5cSVasant HegdeExample:
16*84ad6e5cSVasant Hegde
17*84ad6e5cSVasant Hegdeleds {
18*84ad6e5cSVasant Hegde	compatible = "ibm,opal-v3-led";
19*84ad6e5cSVasant Hegde	led-mode = "lightpath";
20*84ad6e5cSVasant Hegde
21*84ad6e5cSVasant Hegde	U78C9.001.RST0027-P1-C1 {
22*84ad6e5cSVasant Hegde		led-types = "identify", "fault";
23*84ad6e5cSVasant Hegde	};
24*84ad6e5cSVasant Hegde	...
25*84ad6e5cSVasant Hegde	...
26*84ad6e5cSVasant Hegde};
27