Lines Matching +full:off +full:- +full:gpios
4 - compatible : should be "gpio-leds".
6 Each LED is represented as a sub-node of the gpio-leds device. Each
9 LED sub-node properties:
10 - gpios : Should specify the LED's GPIO, see "gpios property" in
13 - label : (optional)
15 - linux,default-trigger : (optional)
17 - default-state: (optional) The initial state of the LED. Valid
18 values are "on", "off", and "keep". If the LED is already on or off
19 and the default-state property is set the to same value, then no
20 glitch should be produced where the LED momentarily turns off (or
22 state is, without producing a glitch. The default is off if this
28 compatible = "gpio-leds";
31 gpios = <&mcu_pio 0 1>; /* Active low */
32 linux,default-trigger = "ide-disk";
36 gpios = <&mcu_pio 1 0>;
38 default-state = "keep";
42 run-control {
43 compatible = "gpio-leds";
45 gpios = <&mpc8572 6 0>;
46 default-state = "off";
49 gpios = <&mpc8572 7 0>;
50 default-state = "on";