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