Lines Matching +full:sleep +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
10 gpio-keys {
11 compatible = "gpio-keys";
12 pinctrl-names = "default";
13 pinctrl-0 = <&pinctrl_gpio_keys>;
18 gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
20 wakeup-source;
23 sleep {
24 label = "Sleep Button";
25 gpios = <&gpio6 18 GPIO_ACTIVE_LOW>;
30 user_leds: user-leds {
31 compatible = "gpio-leds";
32 pinctrl-names = "default";
33 pinctrl-0 = <&pinctrl_user_leds>;
36 user-led1 {
37 gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "gpio";
39 default-state = "on";
42 user-led2 {
43 gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "gpio";
45 default-state = "on";
48 user-led3 {
49 gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
50 linux,default-trigger = "gpio";
51 default-state = "on";