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";
12 chassis-type = "handset";
15 serial0 = &blsp1_uart2;
19 stdout-path = "serial0";
23 compatible = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&gpio_keys_default>;
28 label = "GPIO Buttons";
32 gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_VOLUMEUP>;
38 compatible = "linux,extcon-usb-gpio";
39 id-gpio = <&msmgpio 69 GPIO_ACTIVE_HIGH>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&usb_id_default>;
53 compatible = "mstar,msg2638";
55 interrupt-parent = <&msmgpio>;
56 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
57 reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&ts_int_reset_default>;
60 vdd-supply = <&pm8916_l17>;
61 vddio-supply = <&pm8916_l5>;
62 touchscreen-size-x = <2048>;
63 touchscreen-size-y = <2048>;
71 compatible = "asahi-kasei,ak09911";
73 vdd-supply = <&pm8916_l17>;
74 vid-supply = <&pm8916_l6>;
75 reset-gpios = <&msmgpio 8 GPIO_ACTIVE_LOW>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&mag_reset_default>;
78 mount-matrix = "0", "1", "0",
84 compatible = "kionix,kxtj21009";
86 vdd-supply = <&pm8916_l17>;
87 vddio-supply = <&pm8916_l6>;
88 interrupt-parent = <&msmgpio>;
89 interrupts = <31 IRQ_TYPE_EDGE_RISING>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&accel_int_default>;
92 mount-matrix = "-1", "0", "0",
98 compatible = "sensortek,stk3310";
100 interrupt-parent = <&msmgpio>;
101 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&proximity_int_default>;
107 compatible = "bosch,bmg160";
109 vdd-supply = <&pm8916_l17>;
110 vddio-supply = <&pm8916_l6>;
111 interrupt-parent = <&msmgpio>;
112 interrupts = <97 IRQ_TYPE_EDGE_RISING>,
113 <98 IRQ_TYPE_EDGE_RISING>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&gyro_int_default>;
121 linux,code = <KEY_VOLUMEDOWN>;
135 pinctrl-names = "default", "sleep";
136 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
137 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
143 pinctrl-names = "default", "sleep";
144 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
145 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
147 cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
152 extcon = <&usb_id>, <&usb_id>;
159 &smd_rpm_regulators {
160 vdd_l1_l2_l3-supply = <&pm8916_s3>;
161 vdd_l4_l5_l6-supply = <&pm8916_s4>;
162 vdd_l7-supply = <&pm8916_s4>;
165 regulator-min-microvolt = <1200000>;
166 regulator-max-microvolt = <1300000>;
170 regulator-min-microvolt = <1800000>;
171 regulator-max-microvolt = <2100000>;
175 regulator-min-microvolt = <1225000>;
176 regulator-max-microvolt = <1225000>;
180 regulator-min-microvolt = <1200000>;
181 regulator-max-microvolt = <1200000>;
185 regulator-min-microvolt = <2050000>;
186 regulator-max-microvolt = <2050000>;
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <1800000>;
205 regulator-min-microvolt = <2850000>;
206 regulator-max-microvolt = <2900000>;
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
215 regulator-min-microvolt = <2700000>;
216 regulator-max-microvolt = <2800000>;
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <2950000>;
222 regulator-allow-set-load;
223 regulator-system-load = <200000>;
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <2950000>;
232 regulator-min-microvolt = <3075000>;
233 regulator-max-microvolt = <3075000>;
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <3300000>;
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <3300000>;
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <3300000>;
252 regulator-min-microvolt = <2850000>;
253 regulator-max-microvolt = <2850000>;
257 regulator-min-microvolt = <2700000>;
258 regulator-max-microvolt = <2700000>;
263 accel_int_default: accel-int-default {
267 drive-strength = <2>;
271 gpio_keys_default: gpio-keys-default {
275 drive-strength = <2>;
279 gyro_int_default: gyro-int-default {
280 pins = "gpio97", "gpio98";
283 drive-strength = <2>;
287 mag_reset_default: mag-reset-default {
291 drive-strength = <2>;
295 proximity_int_default: proximity-int-default {
299 drive-strength = <6>;
303 ts_int_reset_default: ts-int-reset-default {
304 pins = "gpio13", "gpio100";
307 drive-strength = <2>;
311 usb_id_default: usb-id-default {
315 drive-strength = <8>;