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