leds-ns2.txt 674 B

1234567891011121314151617181920212223242526
  1. Binding for dual-GPIO LED found on Network Space v2 (and parents).
  2. Required properties:
  3. - compatible: "lacie,ns2-leds".
  4. Each LED is represented as a sub-node of the ns2-leds device.
  5. Required sub-node properties:
  6. - cmd-gpio: Command LED GPIO. See OF device-tree GPIO specification.
  7. - slow-gpio: Slow LED GPIO. See OF device-tree GPIO specification.
  8. Optional sub-node properties:
  9. - label: Name for this LED. If omitted, the label is taken from the node name.
  10. - linux,default-trigger: Trigger assigned to the LED.
  11. Example:
  12. ns2-leds {
  13. compatible = "lacie,ns2-leds";
  14. blue-sata {
  15. label = "ns2:blue:sata";
  16. slow-gpio = <&gpio0 29 0>;
  17. cmd-gpio = <&gpio0 30 0>;
  18. };
  19. };