2 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #include "msm8996.dtsi"
15 #include "pm8994.dtsi"
16 #include "pmi8994.dtsi"
17 #include "apq8096-db820c-pins.dtsi"
18 #include "apq8096-db820c-pmic-pins.dtsi"
19 #include <dt-bindings/input/input.h>
20 #include <dt-bindings/gpio/gpio.h>
24 serial0 = &blsp2_uart1;
25 serial1 = &blsp2_uart2;
34 stdout-path = "serial0:115200n8";
41 pinctrl-names = "default", "sleep";
42 pinctrl-0 = <&blsp2_uart1_2pins_default>;
43 pinctrl-1 = <&blsp2_uart1_2pins_sleep>;
49 pinctrl-names = "default", "sleep";
50 pinctrl-0 = <&blsp2_uart2_4pins_default>;
51 pinctrl-1 = <&blsp2_uart2_4pins_sleep>;
55 /* On Low speed expansion */
61 /* On Low speed expansion */
67 /* On Low speed expansion */
73 /* On High speed expansion */
79 /* On High speed expansion */
85 /* External SD card */
86 pinctrl-names = "default", "sleep";
87 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
88 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
89 cd-gpios = <&msmgpio 38 0x1>;
119 compatible = "linux,extcon-usb-gpio";
120 id-gpio = <&pm8994_gpios 22 GPIO_ACTIVE_HIGH>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&usb3_vbus_det_gpio>;
131 maximum-speed = "high-speed";
136 compatible = "linux,extcon-usb-gpio";
137 id-gpio = <&pmi8994_gpios 6 GPIO_ACTIVE_HIGH>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&usb2_vbus_det_gpio>;
144 perst-gpio = <&msmgpio 35 GPIO_ACTIVE_LOW>;
149 perst-gpio = <&msmgpio 130 GPIO_ACTIVE_LOW>;
154 perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>;
161 compatible = "gpio-keys";
162 #address-cells = <1>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&volume_up_gpio>;
171 linux,code = <KEY_VOLUMEUP>;
172 gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
179 vdd_l1-supply = <&pm8994_s3>;
180 vdd_l2_l26_l28-supply = <&pm8994_s3>;
181 vdd_l3_l11-supply = <&pm8994_s3>;
182 vdd_l4_l27_l31-supply = <&pm8994_s3>;
183 vdd_l5_l7-supply = <&pm8994_s5>;
184 vdd_l14_l15-supply = <&pm8994_s5>;
185 vdd_l20_l21-supply = <&pm8994_s5>;
186 vdd_l25-supply = <&pm8994_s3>;
189 regulator-min-microvolt = <1300000>;
190 regulator-max-microvolt = <1300000>;
194 * 1.8v required on LS expansion
195 * for mezzanine boards
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
203 regulator-min-microvolt = <2150000>;
204 regulator-max-microvolt = <2150000>;
207 regulator-min-microvolt = <800000>;
208 regulator-max-microvolt = <800000>;
212 regulator-min-microvolt = <1000000>;
213 regulator-max-microvolt = <1000000>;
216 regulator-min-microvolt = <1250000>;
217 regulator-max-microvolt = <1250000>;
220 regulator-min-microvolt = <850000>;
221 regulator-max-microvolt = <850000>;
224 regulator-min-microvolt = <1225000>;
225 regulator-max-microvolt = <1225000>;
228 regulator-min-microvolt = <1200000>;
229 regulator-max-microvolt = <1200000>;
232 regulator-min-microvolt = <1800000>;
233 regulator-max-microvolt = <1800000>;
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <1800000>;
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
244 regulator-min-microvolt = <1150000>;
245 regulator-max-microvolt = <1150000>;
248 regulator-min-microvolt = <1800000>;
249 regulator-max-microvolt = <1800000>;
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <2950000>;
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <1800000>;
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <1800000>;
264 regulator-min-microvolt = <2700000>;
265 regulator-max-microvolt = <2700000>;
268 regulator-min-microvolt = <2500000>;
269 regulator-max-microvolt = <2500000>;
272 regulator-min-microvolt = <2700000>;
273 regulator-max-microvolt = <2900000>;
276 regulator-min-microvolt = <3000000>;
277 regulator-max-microvolt = <3000000>;
280 regulator-min-microvolt = <2950000>;
281 regulator-max-microvolt = <2950000>;
282 regulator-allow-set-load;
285 regulator-min-microvolt = <2950000>;
286 regulator-max-microvolt = <2950000>;
289 regulator-min-microvolt = <3300000>;
290 regulator-max-microvolt = <3300000>;
293 regulator-min-microvolt = <2800000>;
294 regulator-max-microvolt = <2800000>;
297 regulator-min-microvolt = <3075000>;
298 regulator-max-microvolt = <3075000>;
301 regulator-min-microvolt = <1200000>;
302 regulator-max-microvolt = <1200000>;
303 regulator-allow-set-load;
306 regulator-min-microvolt = <1000000>;
307 regulator-max-microvolt = <1000000>;
310 regulator-min-microvolt = <925000>;
311 regulator-max-microvolt = <925000>;
312 regulator-allow-set-load;
315 regulator-min-microvolt = <2800000>;
316 regulator-max-microvolt = <2800000>;
319 regulator-min-microvolt = <1800000>;
320 regulator-max-microvolt = <1800000>;
323 regulator-min-microvolt = <1800000>;
324 regulator-max-microvolt = <1800000>;