Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[deliverable/linux.git] / arch / arm / boot / dts / qcom-apq8064-ifc6410.dts
CommitLineData
f335b8af 1#include "qcom-apq8064-v2.0.dtsi"
b4e10dd7 2#include <dt-bindings/gpio/gpio.h>
03f00be5 3#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
f335b8af
KG
4
5/ {
6 model = "Qualcomm APQ8064/IFC6410";
7 compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
8
d5d4654e
PG
9 aliases {
10 serial0 = &gsbi7_serial;
86e252a4 11 serial1 = &gsbi6_serial;
90bd6e8f
SK
12 i2c0 = &gsbi1_i2c;
13 i2c1 = &gsbi2_i2c;
14 i2c2 = &gsbi3_i2c;
15 i2c3 = &gsbi4_i2c;
16 spi0 = &gsbi5_spi;
d5d4654e
PG
17 };
18
7f9e28b6
SB
19 chosen {
20 stdout-path = "serial0:115200n8";
21 };
22
03f00be5
SK
23 pwrseq {
24 compatible = "simple-bus";
25
26 sdcc4_pwrseq: sdcc4_pwrseq {
27 pinctrl-names = "default";
28 pinctrl-0 = <&wlan_default_gpios>;
29 compatible = "mmc-pwrseq-simple";
30 reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
31 };
32 };
33
2630a52f
SK
34 leds {
35 compatible = "gpio-leds";
36 pinctrl-names = "default";
37 pinctrl-0 = <&notify_led>;
38
39 led@1 {
40 label = "apq8064:green:user1";
41 gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
42 default-state = "on";
43 };
44 };
45
f335b8af 46 soc {
8c3166f5 47 pinctrl@800000 {
b4e10dd7
PG
48 card_detect: card_detect {
49 mux {
50 pins = "gpio26";
51 function = "gpio";
52 bias-disable;
53 };
54 };
668f4729
SV
55
56 pcie_pins: pcie_pinmux {
57 mux {
58 pins = "gpio27";
59 function = "gpio";
60 };
61 conf {
62 pins = "gpio27";
63 drive-strength = <12>;
64 bias-disable;
65 };
66 };
8c3166f5 67 };
68
ad560450
SK
69 rpm@108000 {
70 regulators {
71 vin_lvs1_3_6-supply = <&pm8921_s4>;
72 vin_lvs2-supply = <&pm8921_s1>;
73 vin_lvs4_5_7-supply = <&pm8921_s4>;
74
75 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
76 vdd_l24-supply = <&pm8921_s1>;
77 vdd_l25-supply = <&pm8921_s1>;
78 vdd_l26-supply = <&pm8921_s7>;
79 vdd_l27-supply = <&pm8921_s7>;
80 vdd_l28-supply = <&pm8921_s7>;
81
82
83 /* Buck SMPS */
2bce6e26 84 s1 {
ad560450
SK
85 regulator-always-on;
86 regulator-min-microvolt = <1225000>;
87 regulator-max-microvolt = <1225000>;
88 qcom,switch-mode-frequency = <3200000>;
89 bias-pull-down;
90 };
91
2bce6e26 92 s3 {
ad560450
SK
93 regulator-min-microvolt = <1000000>;
94 regulator-max-microvolt = <1400000>;
95 qcom,switch-mode-frequency = <4800000>;
96 };
97
2bce6e26 98 s4 {
ad560450
SK
99 regulator-min-microvolt = <1800000>;
100 regulator-max-microvolt = <1800000>;
101 qcom,switch-mode-frequency = <3200000>;
102 };
103
2bce6e26 104 s7 {
ad560450
SK
105 regulator-min-microvolt = <1300000>;
106 regulator-max-microvolt = <1300000>;
107 qcom,switch-mode-frequency = <3200000>;
108 };
109
2bce6e26 110 l3 {
ad560450
SK
111 regulator-min-microvolt = <3050000>;
112 regulator-max-microvolt = <3300000>;
113 bias-pull-down;
114 };
115
2bce6e26 116 l4 {
ad560450
SK
117 regulator-min-microvolt = <1000000>;
118 regulator-max-microvolt = <1800000>;
119 bias-pull-down;
120 };
121
2bce6e26 122 l5 {
2736bbac
SK
123 regulator-min-microvolt = <2750000>;
124 regulator-max-microvolt = <3000000>;
125 bias-pull-down;
126 };
127
2bce6e26 128 l6 {
ad560450
SK
129 regulator-min-microvolt = <2950000>;
130 regulator-max-microvolt = <2950000>;
131 bias-pull-down;
132 };
133
2bce6e26 134 l23 {
ad560450
SK
135 regulator-min-microvolt = <1700000>;
136 regulator-max-microvolt = <1900000>;
137 bias-pull-down;
138 };
2736bbac 139
2bce6e26 140 lvs1 {
2736bbac
SK
141 bias-pull-down;
142 };
668f4729
SV
143
144 lvs6 {
145 bias-pull-down;
146 };
ad560450
SK
147 };
148 };
149
2736bbac
SK
150 ext_3p3v: regulator-fixed@1 {
151 compatible = "regulator-fixed";
152 regulator-min-microvolt = <3300000>;
153 regulator-max-microvolt = <3300000>;
154 regulator-name = "ext_3p3v";
155 regulator-type = "voltage";
156 startup-delay-us = <0>;
157 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
158 enable-active-high;
159 regulator-boot-on;
160 };
161
3f62b46b
SK
162 gsbi3: gsbi@16200000 {
163 status = "okay";
164 qcom,mode = <GSBI_PROT_I2C>;
e07214db 165 i2c@16280000 {
3f62b46b 166 status = "okay";
3f62b46b
SK
167 };
168 };
169
10e0c161
SK
170 gsbi@16300000 {
171 status = "okay";
172 qcom,mode = <GSBI_PROT_I2C>;
173 /* CAM I2C MIPI-CSI connector */
174 i2c@16380000 {
175 status = "okay";
176 };
177 };
178
8c3166f5 179 gsbi@12440000 {
180 status = "okay";
181 qcom,mode = <GSBI_PROT_I2C>;
182
183 i2c@12460000 {
184 status = "okay";
185 clock-frequency = <200000>;
8c3166f5 186
e28ce3cc 187 eeprom@52 {
8c3166f5 188 compatible = "atmel,24c128";
189 reg = <0x52>;
190 pagesize = <32>;
191 };
192 };
193 };
194
492731cb
SK
195 gsbi@1a200000 {
196 qcom,mode = <GSBI_PROT_SPI>;
197 status = "okay";
198 spi4: spi@1a280000 {
199 status = "okay";
200 num-cs = <1>;
201 cs-gpios = <&tlmm_pinmux 53 0>;
202 };
203 };
204
86e252a4
PG
205 gsbi@16500000 {
206 status = "ok";
426ac151 207 qcom,mode = <GSBI_PROT_UART_W_FC>;
86e252a4
PG
208
209 serial@16540000 {
210 status = "ok";
86e252a4 211 pinctrl-names = "default";
7648c7bf 212 pinctrl-0 = <&gsbi6_uart_4pins>;
86e252a4
PG
213 };
214 };
215
f335b8af
KG
216 gsbi@16600000 {
217 status = "ok";
218 qcom,mode = <GSBI_PROT_I2C_UART>;
219 serial@16640000 {
220 status = "ok";
17dbc554
SK
221 pinctrl-names = "default";
222 pinctrl-0 = <&gsbi7_uart_2pins>;
f335b8af
KG
223 };
224 };
045644ff 225
e629335f
SK
226 sata_phy0: phy@1b400000 {
227 status = "okay";
228 };
229
230 sata0: sata@29000000 {
231 status = "okay";
232 target-supply = <&pm8921_s4>;
233 };
234
ea986611
SK
235 /* OTG */
236 usb1_phy: phy@12500000 {
237 status = "okay";
238 vddcx-supply = <&pm8921_s3>;
239 v3p3-supply = <&pm8921_l3>;
240 v1p8-supply = <&pm8921_l4>;
241 };
242
223280b1
SK
243 usb3_phy: phy@12520000 {
244 status = "okay";
245 vddcx-supply = <&pm8921_s3>;
246 v3p3-supply = <&pm8921_l3>;
247 v1p8-supply = <&pm8921_l23>;
248 };
249
250 usb4_phy: phy@12530000 {
251 status = "okay";
252 vddcx-supply = <&pm8921_s3>;
253 v3p3-supply = <&pm8921_l3>;
254 v1p8-supply = <&pm8921_l23>;
255 };
256
ea986611
SK
257 gadget1: gadget@12500000 {
258 status = "okay";
259 };
260
261 /* OTG */
262 usb1: usb@12500000 {
263 status = "okay";
264 };
265
223280b1
SK
266 usb3: usb@12520000 {
267 status = "okay";
268 };
269
270 usb4: usb@12530000 {
271 status = "okay";
272 };
273
668f4729
SV
274 pci@1b500000 {
275 status = "ok";
276 vdda-supply = <&pm8921_s3>;
277 vdda_phy-supply = <&pm8921_lvs6>;
278 vdda_refclk-supply = <&ext_3p3v>;
279 pinctrl-0 = <&pcie_pins>;
280 pinctrl-names = "default";
281 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
282 };
283
03f00be5
SK
284 qcom,ssbi@500000 {
285 pmic@0 {
286 gpio@150 {
287 wlan_default_gpios: wlan-gpios {
288 pios {
289 pins = "gpio43";
290 function = "normal";
291 bias-disable;
292 power-source = <PM8921_GPIO_S4>;
293 };
294 };
2630a52f
SK
295
296 notify_led: nled {
297 pios {
298 pins = "gpio18";
299 function = "normal";
300 bias-disable;
301 power-source = <PM8921_GPIO_S4>;
302 };
303 };
03f00be5
SK
304 };
305 };
306 };
307
045644ff
SK
308 amba {
309 /* eMMC */
310 sdcc1: sdcc@12400000 {
311 status = "okay";
2736bbac
SK
312 vmmc-supply = <&pm8921_l5>;
313 vqmmc-supply = <&pm8921_s4>;
045644ff
SK
314 };
315
316 /* External micro SD card */
317 sdcc3: sdcc@12180000 {
318 status = "okay";
2736bbac 319 vmmc-supply = <&pm8921_l6>;
b4e10dd7
PG
320 pinctrl-names = "default";
321 pinctrl-0 = <&card_detect>;
322 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
045644ff 323 };
0be5fef1
SK
324 /* WLAN */
325 sdcc4: sdcc@121c0000 {
326 status = "okay";
2736bbac
SK
327 vmmc-supply = <&ext_3p3v>;
328 vqmmc-supply = <&pm8921_lvs1>;
03f00be5 329 mmc-pwrseq = <&sdcc4_pwrseq>;
0be5fef1 330 };
045644ff 331 };
f335b8af
KG
332 };
333};
This page took 0.12503 seconds and 5 git commands to generate.