common.txt 814 B

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