Lines Matching +full:gpio +full:- +full:leds
1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
9 chassis-type = "embedded";
17 stdout-path = "serial0";
20 gpio-keys {
21 compatible = "gpio-keys";
23 pinctrl-0 = <&button_default>;
24 pinctrl-names = "default";
26 label = "GPIO Buttons";
28 /* GPIO is board-specific */
29 button_restart: button-restart {
35 leds {
36 compatible = "gpio-leds";
38 pinctrl-0 = <&gpio_leds_default>;
39 pinctrl-names = "default";
42 * GPIOs are board-specific.
43 * Functions and default-states defined here are fallbacks.
46 led_r: led-r {
48 default-state = "on";
52 led_g: led-g {
54 default-state = "off";
58 led_b: led-b {
60 default-state = "off";
75 pinctrl-0 = <&blsp_uart2_console_default>;
76 pinctrl-1 = <&blsp_uart2_console_sleep>;
77 pinctrl-names = "default", "sleep";
109 usb-role-switch;
139 /* pins are board-specific */
140 button_default: button-default-state {
141 function = "gpio";
142 drive-strength = <2>;
145 gpio_leds_default: gpio-leds-default-state {
146 function = "gpio";
147 drive-strength = <2>;
148 bias-disable;