pca963x.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. LEDs connected to pca9632, pca9633 or pca9634
  2. Required properties:
  3. - compatible : should be : "nxp,pca9632", "nxp,pca9633" or "nxp,pca9634"
  4. Optional properties:
  5. - nxp,totem-pole : use totem pole (push-pull) instead of default open-drain
  6. - nxp,hw-blink : use hardware blinking instead of software blinking
  7. Each led is represented as a sub-node of the nxp,pca963x device.
  8. LED sub-node properties:
  9. - label : (optional) see Documentation/devicetree/bindings/leds/common.txt
  10. - reg : number of LED line (could be from 0 to 3 in pca9632 or pca9633
  11. or 0 to 7 in pca9634)
  12. - linux,default-trigger : (optional)
  13. see Documentation/devicetree/bindings/leds/common.txt
  14. Examples:
  15. pca9632: pca9632 {
  16. compatible = "nxp,pca9632";
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. reg = <0x62>;
  20. red@0 {
  21. label = "red";
  22. reg = <0>;
  23. linux,default-trigger = "none";
  24. };
  25. green@1 {
  26. label = "green";
  27. reg = <1>;
  28. linux,default-trigger = "none";
  29. };
  30. blue@2 {
  31. label = "blue";
  32. reg = <2>;
  33. linux,default-trigger = "none";
  34. };
  35. unused@3 {
  36. label = "unused";
  37. reg = <3>;
  38. linux,default-trigger = "none";
  39. };
  40. };