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";
43 pinctrl-names = "default", "sleep";
44 pinctrl-0 = <&blsp1_uart1_default>;
45 pinctrl-1 = <&blsp1_uart1_sleep>;
51 pinctrl-names = "default", "sleep";
52 pinctrl-0 = <&blsp1_uart2_default>;
53 pinctrl-1 = <&blsp1_uart2_sleep>;
57 /* On Low speed expansion */
63 /* On High speed expansion */
67 adv_bridge: bridge@39 {
70 compatible = "adi,adv7533";
73 interrupt-parent = <&msmgpio>;
78 pd-gpios = <&msmgpio 32 0>;
80 avdd-supply = <&pm8916_l6>;
81 v1p2-supply = <&pm8916_l6>;
82 v3p3-supply = <&pm8916_l17>;
84 pinctrl-names = "default","sleep";
85 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
86 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
94 adv7533_in: endpoint {
95 remote-endpoint = <&dsi0_out>;
101 adv7533_out: endpoint {
102 remote-endpoint = <&hdmi_con>;
110 /* On Low speed expansion */
116 /* On High speed expansion */
122 /* On Low speed expansion */
128 pinctrl-names = "default";
129 pinctrl-0 = <&msmgpio_leds>,
130 <&pm8916_gpios_leds>,
133 compatible = "gpio-leds";
136 label = "apq8016-sbc:green:user1";
137 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
138 linux,default-trigger = "heartbeat";
139 default-state = "off";
143 label = "apq8016-sbc:green:user2";
144 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
145 linux,default-trigger = "mmc0";
146 default-state = "off";
150 label = "apq8016-sbc:green:user3";
151 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
152 linux,default-trigger = "mmc1";
153 default-state = "off";
157 label = "apq8016-sbc:green:user4";
158 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
159 linux,default-trigger = "none";
160 default-state = "off";
164 label = "apq8016-sbc:yellow:wlan";
165 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
166 linux,default-trigger = "wlan";
167 default-state = "off";
171 label = "apq8016-sbc:blue:bt";
172 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
173 linux,default-trigger = "bluetooth-power";
174 default-state = "off";
179 vmmc-supply = <&pm8916_l8>;
180 vqmmc-supply = <&pm8916_l5>;
182 pinctrl-names = "default", "sleep";
183 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
184 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
189 vmmc-supply = <&pm8916_l11>;
190 vqmmc-supply = <&pm8916_l12>;
192 pinctrl-names = "default", "sleep";
193 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
194 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
196 cd-gpios = <&msmgpio 38 0x1>;
201 extcon = <&usb_id>, <&usb_id>;
210 v1p8-supply = <&pm8916_l7>;
211 v3p3-supply = <&pm8916_l13>;
212 vddcx-supply = <&pm8916_s1>;
213 extcon = <&usb_id>, <&usb_id>;
216 switch-gpio = <&pm8916_gpios 4 GPIO_ACTIVE_HIGH>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&usb_sw_sel_pm>;
235 vdda-supply = <&pm8916_l2>;
236 vddio-supply = <&pm8916_l6>;
241 remote-endpoint = <&adv7533_in>;
242 data-lanes = <0 1 2 3>;
251 vddio-supply = <&pm8916_l6>;
257 compatible = "smsc,usb3503";
258 reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>;
263 compatible = "linux,extcon-usb-gpio";
264 id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>;
265 pinctrl-names = "default";
266 pinctrl-0 = <&usb_id_default>;
270 compatible = "hdmi-connector";
275 remote-endpoint = <&adv7533_out>;
281 &smd_rpm_regulators {
282 vdd_l1_l2_l3-supply = <&pm8916_s3>;
283 vdd_l5-supply = <&pm8916_s3>;
284 vdd_l4_l5_l6-supply = <&pm8916_s4>;
285 vdd_l7-supply = <&pm8916_s4>;
288 regulator-min-microvolt = <375000>;
289 regulator-max-microvolt = <1562000>;
293 regulator-min-microvolt = <375000>;
294 regulator-max-microvolt = <1562000>;
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <1800000>;
306 regulator-min-microvolt = <375000>;
307 regulator-max-microvolt = <1525000>;
311 regulator-min-microvolt = <375000>;
312 regulator-max-microvolt = <1525000>;
316 regulator-min-microvolt = <375000>;
317 regulator-max-microvolt = <1525000>;
321 regulator-min-microvolt = <1750000>;
322 regulator-max-microvolt = <3337000>;
326 regulator-min-microvolt = <1750000>;
327 regulator-max-microvolt = <3337000>;
331 regulator-min-microvolt = <1750000>;
332 regulator-max-microvolt = <3337000>;
336 regulator-min-microvolt = <1750000>;
337 regulator-max-microvolt = <3337000>;
341 regulator-min-microvolt = <1750000>;
342 regulator-max-microvolt = <3337000>;
346 regulator-min-microvolt = <1750000>;
347 regulator-max-microvolt = <3337000>;
351 regulator-min-microvolt = <1750000>;
352 regulator-max-microvolt = <3337000>;
356 regulator-min-microvolt = <1750000>;
357 regulator-max-microvolt = <3337000>;
358 regulator-allow-set-load;
359 regulator-system-load = <200000>;
363 regulator-min-microvolt = <1750000>;
364 regulator-max-microvolt = <3337000>;
368 regulator-min-microvolt = <1750000>;
369 regulator-max-microvolt = <3337000>;
373 regulator-min-microvolt = <1750000>;
374 regulator-max-microvolt = <3337000>;
378 * 1.8v required on LS expansion
379 * for mezzanine boards
382 regulator-min-microvolt = <1750000>;
383 regulator-max-microvolt = <3337000>;
388 regulator-min-microvolt = <1750000>;
389 regulator-max-microvolt = <3337000>;
393 regulator-min-microvolt = <1750000>;
394 regulator-max-microvolt = <3337000>;
398 regulator-min-microvolt = <1750000>;
399 regulator-max-microvolt = <3337000>;