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>
10 model = "Alcatel OneTouch Idol 3 (4.7)";
11 compatible = "alcatel,idol347", "qcom,msm8916";
14 serial0 = &blsp1_uart2;
18 stdout-path = "serial0";
22 compatible = "gpio-keys";
24 pinctrl-names = "default";
25 pinctrl-0 = <&gpio_keys_default>;
27 label = "GPIO Buttons";
31 gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_VOLUMEUP>;
37 compatible = "linux,extcon-usb-gpio";
38 id-gpio = <&msmgpio 69 GPIO_ACTIVE_HIGH>;
39 pinctrl-names = "default";
40 pinctrl-0 = <&usb_id_default>;
52 compatible = "mstar,msg2638";
54 interrupt-parent = <&msmgpio>;
55 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
56 reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&ts_int_reset_default>;
59 vdd-supply = <&pm8916_l17>;
60 vddio-supply = <&pm8916_l5>;
61 touchscreen-size-x = <2048>;
62 touchscreen-size-y = <2048>;
70 compatible = "asahi-kasei,ak09911";
72 vdd-supply = <&pm8916_l17>;
73 vid-supply = <&pm8916_l6>;
74 reset-gpios = <&msmgpio 8 GPIO_ACTIVE_LOW>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&mag_reset_default>;
77 mount-matrix = "0", "1", "0",
83 compatible = "kionix,kxtj21009";
85 vdd-supply = <&pm8916_l17>;
86 vddio-supply = <&pm8916_l6>;
87 interrupt-parent = <&msmgpio>;
88 interrupts = <31 IRQ_TYPE_EDGE_RISING>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&accel_int_default>;
91 mount-matrix = "-1", "0", "0",
97 compatible = "sensortek,stk3310";
99 interrupt-parent = <&msmgpio>;
100 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&proximity_int_default>;
106 compatible = "bosch,bmg160";
108 vdd-supply = <&pm8916_l17>;
109 vddio-supply = <&pm8916_l6>;
110 interrupt-parent = <&msmgpio>;
111 interrupts = <97 IRQ_TYPE_EDGE_RISING>,
112 <98 IRQ_TYPE_EDGE_RISING>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&gyro_int_default>;
120 linux,code = <KEY_VOLUMEDOWN>;
134 pinctrl-names = "default", "sleep";
135 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
136 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
142 pinctrl-names = "default", "sleep";
143 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
144 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
146 cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
151 extcon = <&usb_id>, <&usb_id>;
158 &smd_rpm_regulators {
159 vdd_l1_l2_l3-supply = <&pm8916_s3>;
160 vdd_l4_l5_l6-supply = <&pm8916_s4>;
161 vdd_l7-supply = <&pm8916_s4>;
164 regulator-min-microvolt = <1200000>;
165 regulator-max-microvolt = <1300000>;
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <2100000>;
174 regulator-min-microvolt = <1225000>;
175 regulator-max-microvolt = <1225000>;
179 regulator-min-microvolt = <1200000>;
180 regulator-max-microvolt = <1200000>;
184 regulator-min-microvolt = <2050000>;
185 regulator-max-microvolt = <2050000>;
189 regulator-min-microvolt = <1800000>;
190 regulator-max-microvolt = <1800000>;
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <1800000>;
204 regulator-min-microvolt = <2850000>;
205 regulator-max-microvolt = <2900000>;
209 regulator-min-microvolt = <3300000>;
210 regulator-max-microvolt = <3300000>;
214 regulator-min-microvolt = <2700000>;
215 regulator-max-microvolt = <2800000>;
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <2950000>;
221 regulator-allow-set-load;
222 regulator-system-load = <200000>;
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <2950000>;
231 regulator-min-microvolt = <3075000>;
232 regulator-max-microvolt = <3075000>;
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <3300000>;
241 regulator-min-microvolt = <1800000>;
242 regulator-max-microvolt = <3300000>;
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <3300000>;
251 regulator-min-microvolt = <2850000>;
252 regulator-max-microvolt = <2850000>;
256 regulator-min-microvolt = <2700000>;
257 regulator-max-microvolt = <2700000>;
262 accel_int_default: accel-int-default {
266 drive-strength = <2>;
270 gpio_keys_default: gpio-keys-default {
274 drive-strength = <2>;
278 gyro_int_default: gyro-int-default {
279 pins = "gpio97", "gpio98";
282 drive-strength = <2>;
286 mag_reset_default: mag-reset-default {
290 drive-strength = <2>;
294 proximity_int_default: proximity-int-default {
298 drive-strength = <6>;
302 ts_int_reset_default: ts-int-reset-default {
303 pins = "gpio13", "gpio100";
306 drive-strength = <2>;
310 usb_id_default: usb-id-default {
314 drive-strength = <8>;