1 // SPDX-License-Identifier: GPL-2.0-only
5 #include "msm8916-pm8916.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
11 model = "BQ Aquaris X5 (Longcheer L8910)";
12 compatible = "longcheer,l8910", "qcom,msm8916";
13 chassis-type = "handset";
16 mmc0 = &sdhc_1; /* eMMC */
17 mmc1 = &sdhc_2; /* SD card */
18 serial0 = &blsp_uart2;
22 stdout-path = "serial0";
25 flash-led-controller {
26 compatible = "ocs,ocp8110";
27 enable-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
28 flash-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>;
30 pinctrl-0 = <&camera_front_flash_default>;
31 pinctrl-names = "default";
34 function = LED_FUNCTION_FLASH;
35 color = <LED_COLOR_ID_WHITE>;
36 flash-max-timeout-us = <250000>;
41 compatible = "gpio-keys";
43 pinctrl-names = "default";
44 pinctrl-0 = <&gpio_keys_default>;
46 label = "GPIO Buttons";
50 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_VOLUMEUP>;
56 compatible = "gpio-leds";
59 gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>;
60 color = <LED_COLOR_ID_WHITE>;
61 default-state = "off";
62 function = LED_FUNCTION_KBD_BACKLIGHT;
64 pinctrl-names = "default";
65 pinctrl-0 = <&button_backlight_default>;
70 compatible = "linux,extcon-usb-gpio";
71 id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&usb_id_default>;
81 compatible = "asahi-kasei,ak09911";
84 vdd-supply = <&pm8916_l17>;
85 vid-supply = <&pm8916_l6>;
87 reset-gpios = <&tlmm 111 GPIO_ACTIVE_LOW>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&mag_reset_default>;
94 compatible = "bosch,bmi160";
97 vdd-supply = <&pm8916_l17>;
98 vddio-supply = <&pm8916_l6>;
100 mount-matrix = "0", "1", "0",
112 linux,code = <KEY_VOLUMEDOWN>;
115 &pm8916_rpm_regulators {
117 regulator-min-microvolt = <2850000>;
118 regulator-max-microvolt = <2850000>;
133 pinctrl-names = "default", "sleep";
134 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
135 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
137 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
142 extcon = <&usb_id>, <&usb_id>;
162 compatible = "qcom,wcn3620";
170 button_backlight_default: button-backlight-default-state {
174 drive-strength = <2>;
178 camera_front_flash_default: camera-front-flash-default-state {
179 pins = "gpio49", "gpio119";
181 drive-strength = <2>;
185 gpio_keys_default: gpio-keys-default-state {
189 drive-strength = <2>;
193 mag_reset_default: mag-reset-default-state {
197 drive-strength = <2>;
201 sdc2_cd_default: sdc2-cd-default-state {
204 drive-strength = <2>;
208 usb_id_default: usb-id-default-state {
212 drive-strength = <8>;