]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/omap5-cm-t54.dts
Merge branch 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / omap5-cm-t54.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Support for CompuLab CM-T54
4 */
5 /dts-v1/;
6
7 #include "omap5.dtsi"
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10
11 / {
12 model = "CompuLab CM-T54";
13 compatible = "compulab,omap5-cm-t54", "ti,omap5";
14
15 memory@80000000 {
16 device_type = "memory";
17 reg = <0 0x80000000 0 0x7f000000>; /* 2048 MB */
18 };
19
20 aliases {
21 display0 = &hdmi0;
22 display1 = &dvi0;
23 display2 = &lcd0;
24 };
25
26 vmmcsd_fixed: fixed-regulator-mmcsd {
27 compatible = "regulator-fixed";
28 regulator-name = "vmmcsd_fixed";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
31 };
32
33 vwlan_pdn_fixed: fixed-regulator-vwlan-pdn {
34 compatible = "regulator-fixed";
35 regulator-name = "vwlan_pdn_fixed";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
38 vin-supply = <&ldo2_reg>;
39 gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* gpio4_109 */
40 startup-delay-us = <1000>;
41 enable-active-high;
42 };
43
44 vwlan_fixed: fixed-regulator-vwlan {
45 compatible = "regulator-fixed";
46 regulator-name = "vwlan_fixed";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
49 vin-supply = <&vwlan_pdn_fixed>;
50 gpio = <&gpio4 14 GPIO_ACTIVE_HIGH>; /* gpio4_110 */
51 startup-delay-us = <1000>;
52 enable-active-high;
53 };
54
55 ads7846reg: ads7846-reg {
56 compatible = "regulator-fixed";
57 regulator-name = "ads7846-reg";
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
60 };
61
62 /* HS USB Host PHY on PORT 2 */
63 hsusb2_phy: hsusb2_phy {
64 compatible = "usb-nop-xceiv";
65 reset-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; /* gpio3_76 HUB_RESET */
66 #phy-cells = <0>;
67 };
68
69 /* HS USB Host PHY on PORT 3 */
70 hsusb3_phy: hsusb3_phy {
71 compatible = "usb-nop-xceiv";
72 reset-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 ETH_RESET */
73 #phy-cells = <0>;
74 };
75
76 leds {
77 compatible = "gpio-leds";
78 led1 {
79 label = "Heartbeat";
80 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 ACT_LED */
81 linux,default-trigger = "heartbeat";
82 default-state = "off";
83 };
84 };
85
86 lcd0: display {
87 compatible = "startek,startek-kd050c", "panel-dpi";
88 label = "lcd";
89
90 pinctrl-names = "default";
91 pinctrl-0 = <&lcd_pins>;
92
93 enable-gpios = <&gpio8 3 GPIO_ACTIVE_HIGH>;
94
95 panel-timing {
96 clock-frequency = <33000000>;
97 hactive = <800>;
98 vactive = <480>;
99 hfront-porch = <40>;
100 hback-porch = <40>;
101 hsync-len = <43>;
102 vback-porch = <29>;
103 vfront-porch = <13>;
104 vsync-len = <3>;
105 hsync-active = <0>;
106 vsync-active = <0>;
107 de-active = <1>;
108 pixelclk-active = <1>;
109 };
110
111 port {
112 lcd_in: endpoint {
113 remote-endpoint = <&dpi_lcd_out>;
114 };
115 };
116 };
117
118 hdmi0: connector0 {
119 compatible = "hdmi-connector";
120 label = "hdmi";
121
122 type = "a";
123
124 pinctrl-names = "default";
125 pinctrl-0 = <&hdmi_conn_pins>;
126
127 hpd-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
128
129 port {
130 hdmi_connector_in: endpoint {
131 remote-endpoint = <&hdmi_out>;
132 };
133 };
134 };
135
136 tfp410: encoder0 {
137 compatible = "ti,tfp410";
138
139 ports {
140 #address-cells = <1>;
141 #size-cells = <0>;
142
143 port@0 {
144 reg = <0>;
145
146 tfp410_in: endpoint {
147 remote-endpoint = <&dpi_dvi_out>;
148 };
149 };
150
151 port@1 {
152 reg = <1>;
153
154 tfp410_out: endpoint {
155 remote-endpoint = <&dvi_connector_in>;
156 };
157 };
158 };
159 };
160
161 dvi0: connector1 {
162 compatible = "dvi-connector";
163 label = "dvi";
164
165 digital;
166
167 ddc-i2c-bus = <&i2c2>;
168
169 port {
170 dvi_connector_in: endpoint {
171 remote-endpoint = <&tfp410_out>;
172 };
173 };
174 };
175 };
176
177 &omap5_pmx_wkup {
178
179 ads7846_pins: pinmux_ads7846_pins {
180 pinctrl-single,pins = <
181 OMAP5_IOPAD(0x0042, PIN_INPUT_PULLDOWN | MUX_MODE6) /* llib_wakereqin.gpio1_wk15 */
182 >;
183 };
184 };
185
186 &omap5_pmx_core {
187 pinctrl-names = "default";
188 pinctrl-0 = <
189 &led_gpio_pins
190 &usbhost_pins
191 >;
192
193 led_gpio_pins: pinmux_led_gpio_pins {
194 pinctrl-single,pins = <
195 OMAP5_IOPAD(0x00b0, PIN_OUTPUT | MUX_MODE6) /* hsi2_caflag.gpio3_80 */
196 >;
197 };
198
199 i2c1_pins: pinmux_i2c1_pins {
200 pinctrl-single,pins = <
201 OMAP5_IOPAD(0x01f2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_scl */
202 OMAP5_IOPAD(0x01f4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_sda */
203 >;
204 };
205
206 i2c2_pins: pinmux_i2c2_pins {
207 pinctrl-single,pins = <
208 OMAP5_IOPAD(0x01b8, PIN_INPUT | MUX_MODE0) /* i2c2_scl */
209 OMAP5_IOPAD(0x01ba, PIN_INPUT | MUX_MODE0) /* i2c2_sda */
210 >;
211 };
212
213 mmc1_pins: pinmux_mmc1_pins {
214 pinctrl-single,pins = <
215 OMAP5_IOPAD(0x01e2, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_clk */
216 OMAP5_IOPAD(0x01e4, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_cmd */
217 OMAP5_IOPAD(0x01e6, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data2 */
218 OMAP5_IOPAD(0x01e8, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data3 */
219 OMAP5_IOPAD(0x01ea, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data0 */
220 OMAP5_IOPAD(0x01ec, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data1 */
221 >;
222 };
223
224 mmc2_pins: pinmux_mmc2_pins {
225 pinctrl-single,pins = <
226 OMAP5_IOPAD(0x0040, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_clk */
227 OMAP5_IOPAD(0x0042, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_cmd */
228 OMAP5_IOPAD(0x0044, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data0 */
229 OMAP5_IOPAD(0x0046, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data1 */
230 OMAP5_IOPAD(0x0048, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data2 */
231 OMAP5_IOPAD(0x004a, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data3 */
232 OMAP5_IOPAD(0x004c, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data4 */
233 OMAP5_IOPAD(0x004e, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data5 */
234 OMAP5_IOPAD(0x0050, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data6 */
235 OMAP5_IOPAD(0x0052, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data7 */
236 >;
237 };
238
239 mmc3_pins: pinmux_mmc3_pins {
240 pinctrl-single,pins = <
241 OMAP5_IOPAD(0x01a4, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_clk */
242 OMAP5_IOPAD(0x01a6, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_cmd */
243 OMAP5_IOPAD(0x01a8, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data0 */
244 OMAP5_IOPAD(0x01aa, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data1 */
245 OMAP5_IOPAD(0x01ac, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data2 */
246 OMAP5_IOPAD(0x01ae, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data3 */
247 >;
248 };
249
250 wlan_gpios_pins: pinmux_wlan_gpios_pins {
251 pinctrl-single,pins = <
252 OMAP5_IOPAD(0x019c, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* abemcpdm_ul_data.gpio4_109 */
253 OMAP5_IOPAD(0x019e, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* abemcpdm_dl_data.gpio4_110 */
254 >;
255 };
256
257 usbhost_pins: pinmux_usbhost_pins {
258 pinctrl-single,pins = <
259 OMAP5_IOPAD(0x00c4, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
260 OMAP5_IOPAD(0x00c6, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
261
262 OMAP5_IOPAD(0x01dc, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
263 OMAP5_IOPAD(0x01de, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
264
265 OMAP5_IOPAD(0x00a8, PIN_OUTPUT | MUX_MODE6) /* hsi2_caready.gpio3_76 */
266 OMAP5_IOPAD(0x00b6, PIN_OUTPUT | MUX_MODE6) /* hsi2_acdata.gpio3_83 */
267 >;
268 };
269
270 dss_hdmi_pins: pinmux_dss_hdmi_pins {
271 pinctrl-single,pins = <
272 OMAP5_IOPAD(0x013c, PIN_INPUT | MUX_MODE0) /* hdmi_cec */
273 OMAP5_IOPAD(0x0140, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl */
274 OMAP5_IOPAD(0x0142, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda */
275 >;
276 };
277
278 lcd_pins: pinmux_lcd_pins {
279 pinctrl-single,pins = <
280 OMAP5_IOPAD(0x0172, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* timer11_pwm_evt.gpio8_227 */
281 >;
282 };
283
284 hdmi_conn_pins: pinmux_hdmi_conn_pins {
285 pinctrl-single,pins = <
286 OMAP5_IOPAD(0x013e, PIN_INPUT | MUX_MODE6) /* hdmi_hpd.gpio7_193 */
287 >;
288 };
289
290 dss_dpi_pins: pinmux_dss_dpi_pins {
291 pinctrl-single,pins = <
292 OMAP5_IOPAD(0x0104, PIN_OUTPUT | MUX_MODE3) /* rfbi_data15.dispc_data15 */
293 OMAP5_IOPAD(0x0106, PIN_OUTPUT | MUX_MODE3) /* rfbi_data14.dispc_data14 */
294 OMAP5_IOPAD(0x0108, PIN_OUTPUT | MUX_MODE3) /* rfbi_data13.dispc_data13 */
295 OMAP5_IOPAD(0x010a, PIN_OUTPUT | MUX_MODE3) /* rfbi_data12.dispc_data12 */
296 OMAP5_IOPAD(0x010c, PIN_OUTPUT | MUX_MODE3) /* rfbi_data11.dispc_data11 */
297 OMAP5_IOPAD(0x010e, PIN_OUTPUT | MUX_MODE3) /* rfbi_data10.dispc_data10 */
298 OMAP5_IOPAD(0x0110, PIN_OUTPUT | MUX_MODE3) /* rfbi_data9.dispc_data9 */
299 OMAP5_IOPAD(0x0112, PIN_OUTPUT | MUX_MODE3) /* rfbi_data8.dispc_data8 */
300 OMAP5_IOPAD(0x0114, PIN_OUTPUT | MUX_MODE3) /* rfbi_data7.dispc_data7 */
301 OMAP5_IOPAD(0x0116, PIN_OUTPUT | MUX_MODE3) /* rfbi_data6.dispc_data6 */
302 OMAP5_IOPAD(0x0118, PIN_OUTPUT | MUX_MODE3) /* rfbi_data5.dispc_data5 */
303 OMAP5_IOPAD(0x011a, PIN_OUTPUT | MUX_MODE3) /* rfbi_data4.dispc_data4 */
304 OMAP5_IOPAD(0x011c, PIN_OUTPUT | MUX_MODE3) /* rfbi_data3.dispc_data3 */
305 OMAP5_IOPAD(0x011e, PIN_OUTPUT | MUX_MODE3) /* rfbi_data2.dispc_data2 */
306 OMAP5_IOPAD(0x0120, PIN_OUTPUT | MUX_MODE3) /* rfbi_data1.dispc_data1 */
307 OMAP5_IOPAD(0x0122, PIN_OUTPUT | MUX_MODE3) /* rfbi_data0.dispc_data0 */
308 OMAP5_IOPAD(0x0124, PIN_OUTPUT | MUX_MODE3) /* rfbi_we.dispc_vsync */
309 OMAP5_IOPAD(0x0126, PIN_OUTPUT | MUX_MODE3) /* rfbi_cs0.dispc_hsync */
310 OMAP5_IOPAD(0x0128, PIN_OUTPUT | MUX_MODE3) /* rfbi_a0.dispc_de */
311 OMAP5_IOPAD(0x012a, PIN_OUTPUT | MUX_MODE3) /* rfbi_re.dispc_pclk */
312 OMAP5_IOPAD(0x012c, PIN_OUTPUT | MUX_MODE3) /* rfbi_hsync0.dispc_data17 */
313 OMAP5_IOPAD(0x012e, PIN_OUTPUT | MUX_MODE3) /* rfbi_te_vsync0.dispc_data16 */
314 OMAP5_IOPAD(0x0130, PIN_OUTPUT | MUX_MODE3) /* gpio6_182.dispc_data18 */
315 OMAP5_IOPAD(0x0132, PIN_OUTPUT | MUX_MODE3) /* gpio6_183.dispc_data19 */
316 OMAP5_IOPAD(0x0134, PIN_OUTPUT | MUX_MODE3) /* gpio6_184.dispc_data20 */
317 OMAP5_IOPAD(0x0136, PIN_OUTPUT | MUX_MODE3) /* gpio6_185.dispc_data21 */
318 OMAP5_IOPAD(0x0138, PIN_OUTPUT | MUX_MODE3) /* gpio6_186.dispc_data22 */
319 OMAP5_IOPAD(0x013a, PIN_OUTPUT | MUX_MODE3) /* gpio6_187.dispc_data23 */
320 >;
321 };
322
323 mcspi2_pins: pinmux_mcspi1_pins {
324 pinctrl-single,pins = <
325 OMAP5_IOPAD(0x00fc, PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
326 OMAP5_IOPAD(0x00fe, PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
327 OMAP5_IOPAD(0x0100, PIN_INPUT | MUX_MODE0) /* mcspi2_somi */
328 OMAP5_IOPAD(0x0102, PIN_INPUT | MUX_MODE0) /* mcspi2_cs0 */
329 >;
330 };
331 };
332
333 &mcspi2 {
334 pinctrl-names = "default";
335 pinctrl-0 = <&mcspi2_pins>;
336
337 /* touch controller */
338 ads7846@0 {
339 pinctrl-names = "default";
340 pinctrl-0 = <&ads7846_pins>;
341
342 compatible = "ti,ads7846";
343 vcc-supply = <&ads7846reg>;
344
345 reg = <0>; /* CS0 */
346 spi-max-frequency = <1500000>;
347
348 interrupt-parent = <&gpio1>;
349 interrupts = <15 0>; /* gpio1_wk15 */
350 pendown-gpio = <&gpio1 15 GPIO_ACTIVE_HIGH>;
351
352
353 ti,x-min = /bits/ 16 <0x0>;
354 ti,x-max = /bits/ 16 <0x0fff>;
355 ti,y-min = /bits/ 16 <0x0>;
356 ti,y-max = /bits/ 16 <0x0fff>;
357
358 ti,x-plate-ohms = /bits/ 16 <180>;
359 ti,pressure-max = /bits/ 16 <255>;
360
361 ti,debounce-max = /bits/ 16 <30>;
362 ti,debounce-tol = /bits/ 16 <10>;
363 ti,debounce-rep = /bits/ 16 <1>;
364
365 wakeup-source;
366 };
367 };
368
369 &mmc1 {
370 pinctrl-names = "default";
371 pinctrl-0 = <&mmc1_pins>;
372 vmmc-supply = <&ldo9_reg>;
373 bus-width = <4>;
374 };
375
376 &mmc2 {
377 pinctrl-names = "default";
378 pinctrl-0 = <&mmc2_pins>;
379 vmmc-supply = <&vmmcsd_fixed>;
380 bus-width = <8>;
381 ti,non-removable;
382 };
383
384 &mmc3 {
385 pinctrl-names = "default";
386 pinctrl-0 = <
387 &mmc3_pins
388 &wlan_gpios_pins
389 >;
390 vmmc-supply = <&vwlan_fixed>;
391 bus-width = <4>;
392 ti,non-removable;
393 };
394
395 &mmc4 {
396 status = "disabled";
397 };
398
399 &mmc5 {
400 status = "disabled";
401 };
402
403 &i2c1 {
404 pinctrl-names = "default";
405 pinctrl-0 = <&i2c1_pins>;
406
407 clock-frequency = <400000>;
408
409 at24@50 {
410 compatible = "atmel,24c02";
411 pagesize = <16>;
412 reg = <0x50>;
413 };
414
415 palmas: palmas@48 {
416 compatible = "ti,palmas";
417 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
418 reg = <0x48>;
419 interrupt-controller;
420 #interrupt-cells = <2>;
421 ti,system-power-controller;
422
423 extcon_usb3: palmas_usb {
424 compatible = "ti,palmas-usb-vid";
425 ti,enable-vbus-detection;
426 ti,enable-id-detection;
427 ti,wakeup;
428 };
429
430 rtc {
431 compatible = "ti,palmas-rtc";
432 interrupt-parent = <&palmas>;
433 interrupts = <8 IRQ_TYPE_NONE>;
434 };
435
436 palmas_pmic {
437 compatible = "ti,palmas-pmic";
438 interrupt-parent = <&palmas>;
439 interrupts = <14 IRQ_TYPE_NONE>;
440 interrupt-names = "short-irq";
441
442 ti,ldo6-vibrator;
443
444 regulators {
445 smps123_reg: smps123 {
446 /* VDD_OPP_MPU */
447 regulator-name = "smps123";
448 regulator-min-microvolt = < 600000>;
449 regulator-max-microvolt = <1500000>;
450 regulator-always-on;
451 regulator-boot-on;
452 };
453
454 smps45_reg: smps45 {
455 /* VDD_OPP_MM */
456 regulator-name = "smps45";
457 regulator-min-microvolt = < 600000>;
458 regulator-max-microvolt = <1310000>;
459 regulator-always-on;
460 regulator-boot-on;
461 };
462
463 smps6_reg: smps6 {
464 /* VDD_DDR3 - over VDD_SMPS6 */
465 regulator-name = "smps6";
466 regulator-min-microvolt = <1500000>;
467 regulator-max-microvolt = <1500000>;
468 regulator-always-on;
469 regulator-boot-on;
470 };
471
472 smps7_reg: smps7 {
473 /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
474 regulator-name = "smps7";
475 regulator-min-microvolt = <1800000>;
476 regulator-max-microvolt = <1800000>;
477 regulator-always-on;
478 regulator-boot-on;
479 };
480
481 smps8_reg: smps8 {
482 /* VDD_OPP_CORE */
483 regulator-name = "smps8";
484 regulator-min-microvolt = < 600000>;
485 regulator-max-microvolt = <1310000>;
486 regulator-always-on;
487 regulator-boot-on;
488 };
489
490 smps9_reg: smps9 {
491 /* VDDA_2v1_AUD over VDD_2v1 */
492 regulator-name = "smps9";
493 regulator-min-microvolt = <3300000>;
494 regulator-max-microvolt = <3300000>;
495 ti,smps-range = <0x80>;
496 regulator-always-on;
497 regulator-boot-on;
498 };
499
500 smps10_out2_reg: smps10_out2 {
501 /* VBUS_5V_OTG */
502 regulator-name = "smps10_out2";
503 regulator-min-microvolt = <5000000>;
504 regulator-max-microvolt = <5000000>;
505 regulator-always-on;
506 regulator-boot-on;
507 };
508
509 smps10_out1_reg: smps10_out1 {
510 /* VBUS_5V_OTG */
511 regulator-name = "smps10_out1";
512 regulator-min-microvolt = <5000000>;
513 regulator-max-microvolt = <5000000>;
514 };
515
516 ldo1_reg: ldo1 {
517 /* VDDAPHY_CAM: vdda_csiport */
518 regulator-name = "ldo1";
519 regulator-min-microvolt = <1800000>;
520 regulator-max-microvolt = <1800000>;
521 };
522
523 ldo2_reg: ldo2 {
524 /* VDD_3V3_WLAN */
525 regulator-name = "ldo2";
526 regulator-min-microvolt = <3300000>;
527 regulator-max-microvolt = <3300000>;
528 startup-delay-us = <1000>;
529 };
530
531 ldo3_reg: ldo3 {
532 /* VCC_1V5_AUD */
533 regulator-name = "ldo3";
534 regulator-min-microvolt = <1500000>;
535 regulator-max-microvolt = <1500000>;
536 regulator-always-on;
537 regulator-boot-on;
538 };
539
540 ldo4_reg: ldo4 {
541 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
542 regulator-name = "ldo4";
543 regulator-min-microvolt = <1800000>;
544 regulator-max-microvolt = <1800000>;
545 };
546
547 ldo5_reg: ldo5 {
548 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
549 regulator-name = "ldo5";
550 regulator-min-microvolt = <1800000>;
551 regulator-max-microvolt = <1800000>;
552 regulator-always-on;
553 regulator-boot-on;
554 };
555
556 ldo6_reg: ldo6 {
557 /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
558 regulator-name = "ldo6";
559 regulator-min-microvolt = <1200000>;
560 regulator-max-microvolt = <1200000>;
561 regulator-always-on;
562 regulator-boot-on;
563 };
564
565 ldo7_reg: ldo7 {
566 /* VDD_VPP: vpp1 */
567 regulator-name = "ldo7";
568 regulator-min-microvolt = <2000000>;
569 regulator-max-microvolt = <2000000>;
570 /* Only for efuse reprograming! */
571 status = "disabled";
572 };
573
574 ldo8_reg: ldo8 {
575 /* VDD_3V_GP: act led/serial console */
576 regulator-name = "ldo8";
577 regulator-min-microvolt = <3000000>;
578 regulator-max-microvolt = <3000000>;
579 regulator-always-on;
580 regulator-boot-on;
581 };
582
583 ldo9_reg: ldo9 {
584 /* VCC_DV_SDIO: vdds_sdcard */
585 regulator-name = "ldo9";
586 regulator-min-microvolt = <1800000>;
587 regulator-max-microvolt = <3000000>;
588 regulator-boot-on;
589 };
590
591 ldoln_reg: ldoln {
592 /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
593 regulator-name = "ldoln";
594 regulator-min-microvolt = <1800000>;
595 regulator-max-microvolt = <1800000>;
596 regulator-always-on;
597 regulator-boot-on;
598 };
599
600 ldousb_reg: ldousb {
601 /* VDDA_3V_USB: VDDA_USBHS33 */
602 regulator-name = "ldousb";
603 regulator-min-microvolt = <3250000>;
604 regulator-max-microvolt = <3250000>;
605 regulator-always-on;
606 regulator-boot-on;
607 };
608
609 regen3_reg: regen3 {
610 /* REGEN3 controls LDO9 supply to card */
611 regulator-name = "regen3";
612 regulator-always-on;
613 regulator-boot-on;
614 };
615 };
616 };
617 };
618 };
619
620 &i2c2 {
621 pinctrl-names = "default";
622 pinctrl-0 = <&i2c2_pins>;
623
624 clock-frequency = <100000>;
625 };
626
627 &usbhshost {
628 port2-mode = "ehci-hsic";
629 port3-mode = "ehci-hsic";
630 };
631
632 &usbhsehci {
633 phys = <0 &hsusb2_phy &hsusb3_phy>;
634 };
635
636 &usb3 {
637 extcon = <&extcon_usb3>;
638 vbus-supply = <&smps10_out1_reg>;
639 };
640
641 &cpu0 {
642 cpu0-supply = <&smps123_reg>;
643 };
644
645 &dss {
646 status = "ok";
647
648 pinctrl-names = "default";
649 pinctrl-0 = <&dss_dpi_pins>;
650
651 port {
652 #address-cells = <1>;
653 #size-cells = <0>;
654
655 dpi_dvi_out: endpoint@0 {
656 reg = <0>;
657 remote-endpoint = <&tfp410_in>;
658 data-lines = <24>;
659 };
660
661 dpi_lcd_out: endpoint@1 {
662 reg = <1>;
663 remote-endpoint = <&lcd_in>;
664 data-lines = <24>;
665 };
666 };
667 };
668
669 &dsi2 {
670 status = "ok";
671 vdd-supply = <&ldo4_reg>;
672 };
673
674 &hdmi {
675 status = "ok";
676 vdda-supply = <&ldo4_reg>;
677
678 pinctrl-names = "default";
679 pinctrl-0 = <&dss_hdmi_pins>;
680
681 port {
682 hdmi_out: endpoint {
683 remote-endpoint = <&hdmi_connector_in>;
684 lanes = <1 0 3 2 5 4 7 6>;
685 };
686 };
687 };