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>;
145 compatible = "gpio-keys";
146 #address-cells = <1>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&volume_up_gpio>;
155 linux,code = <KEY_VOLUMEUP>;
156 gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
163 vdd_l1-supply = <&pm8994_s3>;
164 vdd_l2_l26_l28-supply = <&pm8994_s3>;
165 vdd_l3_l11-supply = <&pm8994_s3>;
166 vdd_l4_l27_l31-supply = <&pm8994_s3>;
167 vdd_l5_l7-supply = <&pm8994_s5>;
168 vdd_l14_l15-supply = <&pm8994_s5>;
169 vdd_l20_l21-supply = <&pm8994_s5>;
170 vdd_l25-supply = <&pm8994_s3>;
173 regulator-min-microvolt = <1300000>;
174 regulator-max-microvolt = <1300000>;
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
181 regulator-min-microvolt = <2150000>;
182 regulator-max-microvolt = <2150000>;
185 regulator-min-microvolt = <800000>;
186 regulator-max-microvolt = <800000>;
190 regulator-min-microvolt = <1000000>;
191 regulator-max-microvolt = <1000000>;
194 regulator-min-microvolt = <1250000>;
195 regulator-max-microvolt = <1250000>;
198 regulator-min-microvolt = <850000>;
199 regulator-max-microvolt = <850000>;
202 regulator-min-microvolt = <1225000>;
203 regulator-max-microvolt = <1225000>;
206 regulator-min-microvolt = <1200000>;
207 regulator-max-microvolt = <1200000>;
210 regulator-min-microvolt = <1800000>;
211 regulator-max-microvolt = <1800000>;
214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <1800000>;
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
222 regulator-min-microvolt = <1150000>;
223 regulator-max-microvolt = <1150000>;
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <2950000>;
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
242 regulator-min-microvolt = <2700000>;
243 regulator-max-microvolt = <2700000>;
246 regulator-min-microvolt = <2500000>;
247 regulator-max-microvolt = <2500000>;
250 regulator-min-microvolt = <2700000>;
251 regulator-max-microvolt = <2900000>;
254 regulator-min-microvolt = <3000000>;
255 regulator-max-microvolt = <3000000>;
258 regulator-min-microvolt = <2950000>;
259 regulator-max-microvolt = <2950000>;
260 regulator-allow-set-load;
263 regulator-min-microvolt = <2950000>;
264 regulator-max-microvolt = <2950000>;
265 regulator-allow-set-load;
266 regulator-system-load = <200000>;
269 regulator-min-microvolt = <3300000>;
270 regulator-max-microvolt = <3300000>;
273 regulator-min-microvolt = <2800000>;
274 regulator-max-microvolt = <2800000>;
277 regulator-min-microvolt = <3075000>;
278 regulator-max-microvolt = <3075000>;
281 regulator-min-microvolt = <1200000>;
282 regulator-max-microvolt = <1200000>;
283 regulator-allow-set-load;
286 regulator-min-microvolt = <1000000>;
287 regulator-max-microvolt = <1000000>;
290 regulator-min-microvolt = <925000>;
291 regulator-max-microvolt = <925000>;
292 regulator-allow-set-load;
295 regulator-min-microvolt = <2800000>;
296 regulator-max-microvolt = <2800000>;
299 regulator-min-microvolt = <1800000>;
300 regulator-max-microvolt = <1800000>;
303 regulator-min-microvolt = <1800000>;
304 regulator-max-microvolt = <1800000>;