blob: 92d4daceb23fe88ac0562ea0400ff4fd110c4d50 [file] [log] [blame]
Common leds properties.
Optional properties for child nodes:
- label : The label for this LED. If omitted, the label is
taken from the node name (excluding the unit address).
- linux,default-trigger : This parameter, if present, is a
string defining the trigger assigned to the LED. Current triggers are:
"backlight" - LED will act as a back-light, controlled by the framebuffer
system
"default-on" - LED will turn on (but for leds-gpio see "default-state"
property in Documentation/devicetree/bindings/gpio/led.txt)
"heartbeat" - LED "double" flashes at a load average based rate
"ide-disk" - LED indicates disk activity
"timer" - LED flashes at a fixed, configurable rate
- max-microamp : maximum intensity in microamperes of the LED
- flash-max-microamp : maximum intensity in microamperes of the
flash LED; it is mandatory if the LED should
support the flash mode
- flash-timeout-microsec : timeout in microseconds after which the flash
LED is turned off
Examples:
system-status {
label = "Status";
linux,default-trigger = "heartbeat";
...
};
camera-flash {
label = "Flash";
max-microamp = <50000>;
flash-max-microamp = <320000>;
flash-timeout-microsec = <500000>;
}