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 = "asahi-kasei,ak09911";
54 vdd-supply = <&pm8916_l17>;
55 vid-supply = <&pm8916_l6>;
56 reset-gpios = <&msmgpio 8 GPIO_ACTIVE_LOW>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&mag_reset_default>;
59 mount-matrix = "0", "1", "0",
65 compatible = "kionix,kxtj21009";
67 vdd-supply = <&pm8916_l17>;
68 vddio-supply = <&pm8916_l6>;
69 interrupt-parent = <&msmgpio>;
70 interrupts = <31 IRQ_TYPE_EDGE_RISING>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&accel_int_default>;
73 mount-matrix = "-1", "0", "0",
79 compatible = "sensortek,stk3310";
81 interrupt-parent = <&msmgpio>;
82 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&proximity_int_default>;
88 compatible = "bosch,bmg160";
90 vdd-supply = <&pm8916_l17>;
91 vddio-supply = <&pm8916_l6>;
92 interrupt-parent = <&msmgpio>;
93 interrupts = <97 IRQ_TYPE_EDGE_RISING>,
94 <98 IRQ_TYPE_EDGE_RISING>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&gyro_int_default>;
102 linux,code = <KEY_VOLUMEDOWN>;
116 pinctrl-names = "default", "sleep";
117 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
118 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
124 pinctrl-names = "default", "sleep";
125 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
126 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
128 cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
133 extcon = <&usb_id>, <&usb_id>;
140 &smd_rpm_regulators {
141 vdd_l1_l2_l3-supply = <&pm8916_s3>;
142 vdd_l4_l5_l6-supply = <&pm8916_s4>;
143 vdd_l7-supply = <&pm8916_s4>;
146 regulator-min-microvolt = <1200000>;
147 regulator-max-microvolt = <1300000>;
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <2100000>;
156 regulator-min-microvolt = <1225000>;
157 regulator-max-microvolt = <1225000>;
161 regulator-min-microvolt = <1200000>;
162 regulator-max-microvolt = <1200000>;
166 regulator-min-microvolt = <2050000>;
167 regulator-max-microvolt = <2050000>;
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <1800000>;
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
186 regulator-min-microvolt = <2850000>;
187 regulator-max-microvolt = <2900000>;
191 regulator-min-microvolt = <3300000>;
192 regulator-max-microvolt = <3300000>;
196 regulator-min-microvolt = <2700000>;
197 regulator-max-microvolt = <2800000>;
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <2950000>;
203 regulator-allow-set-load;
204 regulator-system-load = <200000>;
208 regulator-min-microvolt = <1800000>;
209 regulator-max-microvolt = <2950000>;
213 regulator-min-microvolt = <3075000>;
214 regulator-max-microvolt = <3075000>;
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <3300000>;
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <3300000>;
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <3300000>;
233 regulator-min-microvolt = <2850000>;
234 regulator-max-microvolt = <2850000>;
238 regulator-min-microvolt = <2700000>;
239 regulator-max-microvolt = <2700000>;
244 accel_int_default: accel-int-default {
248 drive-strength = <2>;
252 gpio_keys_default: gpio-keys-default {
256 drive-strength = <2>;
260 gyro_int_default: gyro-int-default {
261 pins = "gpio97", "gpio98";
264 drive-strength = <2>;
268 mag_reset_default: mag-reset-default {
272 drive-strength = <2>;
276 proximity_int_default: proximity-int-default {
280 drive-strength = <6>;
284 usb_id_default: usb-id-default {
288 drive-strength = <8>;