pca963x.txt 1.2 KB

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