leds-tlc591xx.txt 786 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. LEDs connected to tlc59116 or tlc59108
  2. Required properties
  3. - compatible: should be "ti,tlc59116" or "ti,tlc59108"
  4. - #address-cells: must be 1
  5. - #size-cells: must be 0
  6. - reg: typically 0x68
  7. Each led is represented as a sub-node of the ti,tlc59116.
  8. See Documentation/devicetree/bindings/leds/common.txt
  9. LED sub-node properties:
  10. - reg: number of LED line, 0 to 15 or 0 to 7
  11. - label: (optional) name of LED
  12. - linux,default-trigger : (optional)
  13. Examples:
  14. tlc59116@68 {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. compatible = "ti,tlc59116";
  18. reg = <0x68>;
  19. wan@0 {
  20. label = "wrt1900ac:amber:wan";
  21. reg = <0x0>;
  22. };
  23. 2g@2 {
  24. label = "wrt1900ac:white:2g";
  25. reg = <0x2>;
  26. };
  27. alive@9 {
  28. label = "wrt1900ac:green:alive";
  29. reg = <0x9>;
  30. linux,default_trigger = "heartbeat";
  31. };
  32. };