| Anton Vorontsov | 89ae5b2 | 2008-07-04 20:53:28 +0400 | [diff] [blame] | 1 | LED connected to GPIO |
| 2 | |||||
| 3 | Required properties: | ||||
| 4 | - compatible : should be "gpio-led". | ||||
| 5 | - label : (optional) the label for this LED. If omitted, the label is | ||||
| 6 | taken from the node name (excluding the unit address). | ||||
| 7 | - gpios : should specify LED GPIO. | ||||
| 8 | |||||
| 9 | Example: | ||||
| 10 | |||||
| 11 | led@0 { | ||||
| 12 | compatible = "gpio-led"; | ||||
| 13 | label = "hdd"; | ||||
| 14 | gpios = <&mcu_pio 0 1>; | ||||
| 15 | }; | ||||