summaryrefslogtreecommitdiffstats
path: root/Documentation/powerpc/dts-bindings/gpio/led.txt
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-31 18:43:41 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-31 18:43:41 +0200
commit85e9ca333d03fbd56b9e123c8456f0d98e20faad (patch)
tree7bb15ada5f536950efa23ad60ea9eea60380ca1c /Documentation/powerpc/dts-bindings/gpio/led.txt
parentdocumentation: move hpet.txt to timers/ subdirectory (diff)
parentLinux 2.6.27-rc1 (diff)
downloadlinux-85e9ca333d03fbd56b9e123c8456f0d98e20faad.tar.xz
linux-85e9ca333d03fbd56b9e123c8456f0d98e20faad.zip
Merge branch 'linus' into timers/hpet
Diffstat (limited to 'Documentation/powerpc/dts-bindings/gpio/led.txt')
-rw-r--r--Documentation/powerpc/dts-bindings/gpio/led.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/powerpc/dts-bindings/gpio/led.txt b/Documentation/powerpc/dts-bindings/gpio/led.txt
new file mode 100644
index 000000000000..ff51f4c0fa9d
--- /dev/null
+++ b/Documentation/powerpc/dts-bindings/gpio/led.txt
@@ -0,0 +1,15 @@
+LED connected to GPIO
+
+Required properties:
+- compatible : should be "gpio-led".
+- label : (optional) the label for this LED. If omitted, the label is
+ taken from the node name (excluding the unit address).
+- gpios : should specify LED GPIO.
+
+Example:
+
+led@0 {
+ compatible = "gpio-led";
+ label = "hdd";
+ gpios = <&mcu_pio 0 1>;
+};