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