summaryrefslogtreecommitdiffstats
path: root/Documentation/powerpc/dts-bindings/gpio/led.txt
blob: ff51f4c0fa9d19bbc23c05773a229acbb18a1b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>;
};
OpenPOWER on IntegriCloud