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