[BACK]Return to led.txt CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / Documentation / powerpc / dts-bindings / gpio

File: [Development] / linux-2.6-xfs / Documentation / powerpc / dts-bindings / gpio / led.txt (download)

Revision 1.1, Fri Oct 3 17:46:45 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.27-rc8
Merge of 2.6.x-xfs-melb:linux:32254b by kenmcd.

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>;
};