xref: /freebsd/sys/contrib/device-tree/Bindings/leds/leds-powernv.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice Tree binding for LEDs on IBM Power Systems
2*c66ec88fSEmmanuel Vadot-------------------------------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot- compatible : Should be "ibm,opal-v3-led".
6*c66ec88fSEmmanuel Vadot- led-mode   : Should be "lightpath" or "guidinglight".
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotEach location code of FRU/Enclosure must be expressed in the
9*c66ec88fSEmmanuel Vadotform of a sub-node.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotRequired properties for the sub nodes:
12*c66ec88fSEmmanuel Vadot- led-types : Supported LED types (attention/identify/fault) provided
13*c66ec88fSEmmanuel Vadot              in the form of string array.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadotleds {
18*c66ec88fSEmmanuel Vadot	compatible = "ibm,opal-v3-led";
19*c66ec88fSEmmanuel Vadot	led-mode = "lightpath";
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	U78C9.001.RST0027-P1-C1 {
22*c66ec88fSEmmanuel Vadot		led-types = "identify", "fault";
23*c66ec88fSEmmanuel Vadot	};
24*c66ec88fSEmmanuel Vadot	...
25*c66ec88fSEmmanuel Vadot	...
26*c66ec88fSEmmanuel Vadot};
27