tca6507.txt 677 B

123456789101112131415161718192021222324252627282930313233
  1. LEDs conected to tca6507
  2. Required properties:
  3. - compatible : should be : "ti,tca6507".
  4. Each led is represented as a sub-node of the ti,tca6507 device.
  5. LED sub-node properties:
  6. - label : (optional) see Documentation/devicetree/bindings/leds/common.txt
  7. - reg : number of LED line (could be from 0 to 6)
  8. - linux,default-trigger : (optional)
  9. see Documentation/devicetree/bindings/leds/common.txt
  10. Examples:
  11. tca6507@45 {
  12. compatible = "ti,tca6507";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. reg = <0x45>;
  16. led0: red-aux@0 {
  17. label = "red:aux";
  18. reg = <0x0>;
  19. };
  20. led1: green-aux@1 {
  21. label = "green:aux";
  22. reg = <0x5>;
  23. linux,default-trigger = "default-on";
  24. };
  25. };