aboutsummaryrefslogtreecommitdiff
path: root/doc/device-tree/ibm,opal/led.txt
blob: 2ce6946f8275d61c0eb906e5d5b552855527e78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Service Indicators (LEDS)
-------------------------

The 'led' node under 'ibm,opal' lists service indicators available in the
system and their capabilities.

led {
	compatible = "ibm,opal-v3-led";
	phandle = <0x1000006b>;
	linux,phandle = <0x1000006b>;
	led-mode = "lightpath";

	U78C9.001.RST0027-P1-C1 {
		led-types = "identify", "fault";
		led-loc = "descendent";
		phandle = <0x1000006f>;
		linux,phandle = <0x1000006f>;
	};
	...
	...
};

'compatible' property describes LEDs compatibility.

'led-mode' property describes service indicator mode (lightpath/guidinglight).

Each node under 'led' node describes location code of FRU/Enclosure.

The properties under each node:

  led-types : Supported indicators (attention/identify/fault).

  led-loc   : enclosure/descendent(FRU) location code.

These LEDs can be accessed through OPAL_LEDS_{GET/SET}_INDICATOR interfaces.
Refer to doc/opal-api/opal-led-get-set-114-115.txt for interface details.