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";
12 mmc0 = &sdhc_1; /* eMMC */
13 serial0 = &blsp_uart2;
17 stdout-path = "serial0";
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 {
31 linux,code = <KEY_RESTART>;
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.
44 * Feel free to override them if your board is different.
47 color = <LED_COLOR_ID_RED>;
49 function = LED_FUNCTION_POWER;
53 color = <LED_COLOR_ID_GREEN>;
54 default-state = "off";
55 function = LED_FUNCTION_WLAN;
59 color = <LED_COLOR_ID_BLUE>;
60 default-state = "off";
61 function = LED_FUNCTION_WAN;
78 /* Remove &mdss_dsi0_phy from clocks to make sure that gcc probes with display disabled */
80 clocks = <&xo_board>, <&sleep_clk>, <0>, <0>, <0>, <0>, <0>;
92 reg = <0x0 0x86800000 0x0 0x5500000>;
105 extcon = <&pm8916_usbin>;
112 extcon = <&pm8916_usbin>;
128 compatible = "qcom,wcn3620";
136 /* pins are board-specific */
137 button_default: button-default-state {
139 drive-strength = <2>;
142 gpio_leds_default: gpio-leds-default-state {
144 drive-strength = <2>;