2 * Copyright (c) 2015, 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 "msm8916.dtsi"
15 #include "pm8916.dtsi"
16 #include "apq8016-sbc-soc-pins.dtsi"
17 #include "apq8016-sbc-pmic-pins.dtsi"
21 serial0 = &blsp1_uart2;
22 serial1 = &blsp1_uart1;
32 stdout-path = "serial0";
39 pinctrl-names = "default", "sleep";
40 pinctrl-0 = <&blsp1_uart1_default>;
41 pinctrl-1 = <&blsp1_uart1_sleep>;
47 pinctrl-names = "default", "sleep";
48 pinctrl-0 = <&blsp1_uart2_default>;
49 pinctrl-1 = <&blsp1_uart2_sleep>;
53 /* On Low speed expansion */
59 /* On High speed expansion */
65 /* On Low speed expansion */
71 /* On High speed expansion */
77 /* On Low speed expansion */
83 pinctrl-names = "default";
84 pinctrl-0 = <&msmgpio_leds>,
88 compatible = "gpio-leds";
91 label = "apq8016-sbc:green:user1";
92 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
93 linux,default-trigger = "heartbeat";
94 default-state = "off";
98 label = "apq8016-sbc:green:user2";
99 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
100 linux,default-trigger = "mmc0";
101 default-state = "off";
105 label = "apq8016-sbc:green:user3";
106 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
107 linux,default-trigger = "mmc1";
108 default-state = "off";
112 label = "apq8016-sbc:green:user4";
113 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
114 linux,default-trigger = "none";
115 default-state = "off";
119 label = "apq8016-sbc:yellow:wlan";
120 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
121 linux,default-trigger = "wlan";
122 default-state = "off";
126 label = "apq8016-sbc:blue:bt";
127 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
128 linux,default-trigger = "bt";
129 default-state = "off";
134 vmmc-supply = <&pm8916_l8>;
135 vqmmc-supply = <&pm8916_l5>;
137 pinctrl-names = "default", "sleep";
138 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
139 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
144 extcon = <&usb_id>, <&usb_id>;
153 v1p8-supply = <&pm8916_l7>;
154 v3p3-supply = <&pm8916_l13>;
155 vddcx-supply = <&pm8916_s1>;
156 extcon = <&usb_id>, <&usb_id>;
159 switch-gpio = <&pm8916_gpios 4 GPIO_ACTIVE_HIGH>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&usb_sw_sel_pm>;
170 compatible = "smsc,usb3503";
171 reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>;
176 compatible = "linux,extcon-usb-gpio";
177 id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&usb_id_default>;
183 &smd_rpm_regulators {
184 vdd_l1_l2_l3-supply = <&pm8916_s3>;
185 vdd_l5-supply = <&pm8916_s3>;
186 vdd_l4_l5_l6-supply = <&pm8916_s4>;
187 vdd_l7-supply = <&pm8916_s4>;
190 regulator-min-microvolt = <375000>;
191 regulator-max-microvolt = <1562000>;
195 regulator-min-microvolt = <375000>;
196 regulator-max-microvolt = <1562000>;
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <1800000>;
208 regulator-min-microvolt = <375000>;
209 regulator-max-microvolt = <1525000>;
213 regulator-min-microvolt = <375000>;
214 regulator-max-microvolt = <1525000>;
218 regulator-min-microvolt = <375000>;
219 regulator-max-microvolt = <1525000>;
223 regulator-min-microvolt = <1750000>;
224 regulator-max-microvolt = <3337000>;
228 regulator-min-microvolt = <1750000>;
229 regulator-max-microvolt = <3337000>;
233 regulator-min-microvolt = <1750000>;
234 regulator-max-microvolt = <3337000>;
238 regulator-min-microvolt = <1750000>;
239 regulator-max-microvolt = <3337000>;
243 regulator-min-microvolt = <1750000>;
244 regulator-max-microvolt = <3337000>;
248 regulator-min-microvolt = <1750000>;
249 regulator-max-microvolt = <3337000>;
253 regulator-min-microvolt = <1750000>;
254 regulator-max-microvolt = <3337000>;
258 regulator-min-microvolt = <1750000>;
259 regulator-max-microvolt = <3337000>;
263 regulator-min-microvolt = <1750000>;
264 regulator-max-microvolt = <3337000>;
268 regulator-min-microvolt = <1750000>;
269 regulator-max-microvolt = <3337000>;
273 regulator-min-microvolt = <1750000>;
274 regulator-max-microvolt = <3337000>;
278 * 1.8v required on LS expansion
279 * for mezzanine boards
282 regulator-min-microvolt = <1750000>;
283 regulator-max-microvolt = <3337000>;
288 regulator-min-microvolt = <1750000>;
289 regulator-max-microvolt = <3337000>;
293 regulator-min-microvolt = <1750000>;
294 regulator-max-microvolt = <3337000>;
298 regulator-min-microvolt = <1750000>;
299 regulator-max-microvolt = <3337000>;