xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/leds/common.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunCommon leds properties.
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunOptional properties for child nodes:
4*4882a593Smuzhiyun- label : The label for this LED.  If omitted, the label is
5*4882a593Smuzhiyun  taken from the node name (excluding the unit address).
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun- linux,default-trigger :  This parameter, if present, is a
8*4882a593Smuzhiyun    string defining the trigger assigned to the LED.  Current triggers are:
9*4882a593Smuzhiyun     "backlight" - LED will act as a back-light, controlled by the framebuffer
10*4882a593Smuzhiyun		   system
11*4882a593Smuzhiyun     "default-on" - LED will turn on (but for leds-gpio see "default-state"
12*4882a593Smuzhiyun		    property in Documentation/devicetree/bindings/gpio/led.txt)
13*4882a593Smuzhiyun     "heartbeat" - LED "double" flashes at a load average based rate
14*4882a593Smuzhiyun     "ide-disk" - LED indicates disk activity
15*4882a593Smuzhiyun     "timer" - LED flashes at a fixed, configurable rate
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunExamples:
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunsystem-status {
20*4882a593Smuzhiyun	label = "Status";
21*4882a593Smuzhiyun	linux,default-trigger = "heartbeat";
22*4882a593Smuzhiyun	...
23*4882a593Smuzhiyun};
24