]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - Documentation/devicetree/bindings/gpio/leds-ns2.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[android-sdk/kernel-video.git] / Documentation / devicetree / bindings / gpio / leds-ns2.txt
1 Binding for dual-GPIO LED found on Network Space v2 (and parents).
3 Required properties:
4 - compatible: "lacie,ns2-leds".
6 Each LED is represented as a sub-node of the ns2-leds device.
8 Required sub-node properties:
9 - cmd-gpio: Command LED GPIO. See OF device-tree GPIO specification.
10 - slow-gpio: Slow LED GPIO. See OF device-tree GPIO specification.
12 Optional sub-node properties:
13 - label: Name for this LED. If omitted, the label is taken from the node name.
14 - linux,default-trigger: Trigger assigned to the LED.
16 Example:
18 ns2-leds {
19         compatible = "lacie,ns2-leds";
21         blue-sata {
22                 label = "ns2:blue:sata";
23                 slow-gpio = <&gpio0 29 0>;
24                 cmd-gpio = <&gpio0 30 0>;
25         };
26 };