xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/mxs/imx28-tx28.dts (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1// SPDX-License-Identifier: GPL-2.0 OR MIT
2/*
3 * Copyright 2012 Shawn Guo <shawn.guo@linaro.org>
4 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de>
5 */
6
7/dts-v1/;
8#include "imx28.dtsi"
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/interrupt-controller/irq.h>
11
12/ {
13	model = "Ka-Ro electronics TX28 module";
14	compatible = "karo,tx28", "fsl,imx28";
15
16	aliases {
17		can0 = &can0;
18		can1 = &can1;
19		display = &display0;
20		ds1339 = &ds1339;
21		gpio5 = &gpio5;
22		lcdif = &lcdif;
23		lcdif_23bit_pins = &tx28_lcdif_23bit_pins;
24		lcdif_24bit_pins = &lcdif_24bit_pins_a;
25		reg_can_xcvr = &reg_can_xcvr;
26		spi_gpio = &spi_gpio;
27		spi_mxs = &ssp3;
28		stk5led = &user_led;
29		usbotg = &usb0;
30	};
31
32	memory@40000000 {
33		device_type = "memory";
34		reg = <0x40000000 0>; /* will be filled in by U-Boot */
35	};
36
37	onewire {
38		compatible = "w1-gpio";
39		gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
40		status = "disabled";
41	};
42
43	reg_usb0_vbus: regulator-usb0-vbus {
44		compatible = "regulator-fixed";
45		regulator-name = "usb0_vbus";
46		regulator-min-microvolt = <5000000>;
47		regulator-max-microvolt = <5000000>;
48		gpio = <&gpio0 18 GPIO_ACTIVE_HIGH>;
49		enable-active-high;
50	};
51
52	reg_usb1_vbus: regulator-usb1-vbus {
53		compatible = "regulator-fixed";
54		regulator-name = "usb1_vbus";
55		regulator-min-microvolt = <5000000>;
56		regulator-max-microvolt = <5000000>;
57		gpio = <&gpio3 27 GPIO_ACTIVE_HIGH>;
58		enable-active-high;
59	};
60
61	reg_2p5v: regulator-2p5v {
62		compatible = "regulator-fixed";
63		regulator-name = "2P5V";
64		regulator-min-microvolt = <2500000>;
65		regulator-max-microvolt = <2500000>;
66		regulator-always-on;
67	};
68
69	reg_3p3v: regulator-3p3v {
70		compatible = "regulator-fixed";
71		regulator-name = "3P3V";
72		regulator-min-microvolt = <3300000>;
73		regulator-max-microvolt = <3300000>;
74		regulator-always-on;
75	};
76
77	reg_can_xcvr: regulator-can-xcvr {
78		compatible = "regulator-fixed";
79		regulator-name = "CAN XCVR";
80		regulator-min-microvolt = <3300000>;
81		regulator-max-microvolt = <3300000>;
82		gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
83		pinctrl-names = "default";
84		pinctrl-0 = <&tx28_flexcan_xcvr_pins>;
85	};
86
87	reg_lcd: regulator-lcd-power {
88		compatible = "regulator-fixed";
89		regulator-name = "LCD POWER";
90		regulator-min-microvolt = <3300000>;
91		regulator-max-microvolt = <3300000>;
92		gpio = <&gpio1 31 GPIO_ACTIVE_HIGH>;
93		enable-active-high;
94	};
95
96	reg_lcd_reset: regulator-lcd-reset {
97		compatible = "regulator-fixed";
98		regulator-name = "LCD RESET";
99		regulator-min-microvolt = <3300000>;
100		regulator-max-microvolt = <3300000>;
101		gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
102		startup-delay-us = <300000>;
103		enable-active-high;
104		regulator-always-on;
105		regulator-boot-on;
106	};
107
108	mclk: clock-mclk {
109		compatible = "fixed-clock";
110		#clock-cells = <0>;
111		clock-frequency = <26000000>;
112	};
113
114	sound {
115		compatible = "fsl,imx28-tx28-sgtl5000",
116			     "fsl,mxs-audio-sgtl5000";
117		model = "imx28-tx28-sgtl5000";
118		saif-controllers = <&saif0 &saif1>;
119		audio-codec = <&sgtl5000>;
120	};
121
122	leds {
123		compatible = "gpio-leds";
124
125		user_led: user {
126			label = "Heartbeat";
127			gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
128			linux,default-trigger = "heartbeat";
129		};
130	};
131
132	backlight {
133		compatible = "pwm-backlight";
134		pwms = <&pwm 0 500000>;
135		/*
136		 * a silly way to create a 1:1 relationship between the
137		 * PWM value and the actual duty cycle
138		 */
139		brightness-levels = < 0  1  2  3  4  5  6  7  8  9
140				     10 11 12 13 14 15 16 17 18 19
141				     20 21 22 23 24 25 26 27 28 29
142				     30 31 32 33 34 35 36 37 38 39
143				     40 41 42 43 44 45 46 47 48 49
144				     50 51 52 53 54 55 56 57 58 59
145				     60 61 62 63 64 65 66 67 68 69
146				     70 71 72 73 74 75 76 77 78 79
147				     80 81 82 83 84 85 86 87 88 89
148				     90 91 92 93 94 95 96 97 98 99
149				    100>;
150		default-brightness-level = <50>;
151	};
152
153	matrix_keypad: matrix-keypad {
154		compatible = "gpio-matrix-keypad";
155		col-gpios = <
156			&gpio5 0 GPIO_ACTIVE_HIGH
157			&gpio5 1 GPIO_ACTIVE_HIGH
158			&gpio5 2 GPIO_ACTIVE_HIGH
159			&gpio5 3 GPIO_ACTIVE_HIGH
160		>;
161		row-gpios = <
162			&gpio5 4 GPIO_ACTIVE_HIGH
163			&gpio5 5 GPIO_ACTIVE_HIGH
164			&gpio5 6 GPIO_ACTIVE_HIGH
165			&gpio5 7 GPIO_ACTIVE_HIGH
166		>;
167		/* sample keymap */
168		linux,keymap = <
169			0x00000074 /* row 0, col 0, KEY_POWER */
170			0x00010052 /* row 0, col 1, KEY_KP0 */
171			0x0002004f /* row 0, col 2, KEY_KP1 */
172			0x00030050 /* row 0, col 3, KEY_KP2 */
173			0x01000051 /* row 1, col 0, KEY_KP3 */
174			0x0101004b /* row 1, col 1, KEY_KP4 */
175			0x0102004c /* row 1, col 2, KEY_KP5 */
176			0x0103004d /* row 1, col 3, KEY_KP6 */
177			0x02000047 /* row 2, col 0, KEY_KP7 */
178			0x02010048 /* row 2, col 1, KEY_KP8 */
179			0x02020049 /* row 2, col 2, KEY_KP9 */
180		>;
181		gpio-activelow;
182		wakeup-source;
183		debounce-delay-ms = <100>;
184		col-scan-delay-us = <5000>;
185		linux,no-autorepeat;
186	};
187
188	spi_gpio: spi {
189		compatible = "spi-gpio";
190		#address-cells = <1>;
191		#size-cells = <0>;
192		pinctrl-names = "default";
193		pinctrl-0 = <&tx28_spi_gpio_pins>;
194
195		sck-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
196		mosi-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
197		miso-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
198		num-chipselects = <3>;
199		cs-gpios = <
200			&gpio2 27 GPIO_ACTIVE_LOW
201			&gpio3 8 GPIO_ACTIVE_LOW
202			&gpio3 9 GPIO_ACTIVE_LOW
203		>;
204		/* enable this and disable ssp3 below, if you need full duplex SPI transfer */
205		status = "disabled";
206	};
207};
208
209/* 2nd TX-Std UART - (A)UART1  */
210&auart1 {
211	pinctrl-names = "default";
212	pinctrl-0 = <&auart1_pins_a>;
213	status = "okay";
214};
215
216/* 3rd TX-Std UART - (A)UART3  */
217&auart3 {
218	pinctrl-names = "default";
219	pinctrl-0 = <&auart3_pins_a>;
220	status = "okay";
221};
222
223&can0 {
224	pinctrl-names = "default";
225	pinctrl-0 = <&can0_pins_a>;
226	xceiver-supply = <&reg_can_xcvr>;
227	status = "okay";
228};
229
230&can1 {
231	pinctrl-names = "default";
232	pinctrl-0 = <&can1_pins_a>;
233	xceiver-supply = <&reg_can_xcvr>;
234	status = "okay";
235};
236
237&digctl {
238	status = "okay";
239};
240
241/* 1st TX-Std UART - (D)UART */
242&duart {
243	pinctrl-names = "default";
244	pinctrl-0 = <&duart_4pins_a>;
245	status = "okay";
246};
247
248&gpmi {
249	pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
250	nand-on-flash-bbt;
251	status = "okay";
252};
253
254&i2c0 {
255	pinctrl-names = "default";
256	pinctrl-0 = <&i2c0_pins_a>;
257	clock-frequency = <400000>;
258	status = "okay";
259
260	sgtl5000: sgtl5000@a {
261		compatible = "fsl,sgtl5000";
262		reg = <0x0a>;
263		VDDA-supply = <&reg_2p5v>;
264		VDDIO-supply = <&reg_3p3v>;
265		clocks = <&mclk>;
266	};
267
268	gpio5: pca953x@20 {
269		compatible = "nxp,pca9554";
270		reg = <0x20>;
271		pinctrl-names = "default";
272		pinctrl-0 = <&tx28_pca9554_pins>;
273		interrupt-parent = <&gpio3>;
274		interrupts = <28 IRQ_TYPE_NONE>;
275		gpio-controller;
276		#gpio-cells = <2>;
277		interrupt-controller;
278		#interrupt-cells = <2>;
279	};
280
281	polytouch: edt-ft5x06@38 {
282		compatible = "edt,edt-ft5x06";
283		reg = <0x38>;
284		pinctrl-names = "default";
285		pinctrl-0 = <&tx28_edt_ft5x06_pins>;
286		interrupt-parent = <&gpio2>;
287		interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
288		reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
289		wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
290		wakeup-source;
291	};
292
293	touchscreen: tsc2007@48 {
294		compatible = "ti,tsc2007";
295		reg = <0x48>;
296		pinctrl-names = "default";
297		pinctrl-0 = <&tx28_tsc2007_pins>;
298		interrupt-parent = <&gpio3>;
299		interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
300		pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;
301		ti,x-plate-ohms = /bits/ 16 <660>;
302	};
303
304	ds1339: rtc@68 {
305		compatible = "dallas,ds1339";
306		reg = <0x68>;
307		trickle-resistor-ohms = <250>;
308		trickle-diode-disable;
309	};
310};
311
312&lcdif {
313	pinctrl-names = "default";
314	pinctrl-0 = <&lcdif_24bit_pins_a &lcdif_sync_pins_a &tx28_lcdif_ctrl_pins>;
315	lcd-supply = <&reg_lcd>;
316	display = <&display0>;
317	status = "okay";
318
319	display0: display0 {
320		bits-per-pixel = <32>;
321		bus-width = <24>;
322		display-timings {
323			native-mode = <&timing5>;
324			timing0: timing0 {
325				panel-name = "VGA";
326				clock-frequency = <25175000>;
327				hactive = <640>;
328				vactive = <480>;
329				hback-porch = <48>;
330				hsync-len = <96>;
331				hfront-porch = <16>;
332				vback-porch = <33>;
333				vsync-len = <2>;
334				vfront-porch = <10>;
335				hsync-active = <0>;
336				vsync-active = <0>;
337				de-active = <1>;
338				pixelclk-active = <1>;
339			};
340
341			timing1: timing1 {
342				panel-name = "ETV570";
343				clock-frequency = <25175000>;
344				hactive = <640>;
345				vactive = <480>;
346				hback-porch = <114>;
347				hsync-len = <30>;
348				hfront-porch = <16>;
349				vback-porch = <32>;
350				vsync-len = <3>;
351				vfront-porch = <10>;
352				hsync-active = <0>;
353				vsync-active = <0>;
354				de-active = <1>;
355				pixelclk-active = <1>;
356			};
357
358			timing2: timing2 {
359				panel-name = "ET0350";
360				clock-frequency = <6500000>;
361				hactive = <320>;
362				vactive = <240>;
363				hback-porch = <34>;
364				hsync-len = <34>;
365				hfront-porch = <20>;
366				vback-porch = <15>;
367				vsync-len = <3>;
368				vfront-porch = <4>;
369				hsync-active = <0>;
370				vsync-active = <0>;
371				de-active = <1>;
372				pixelclk-active = <1>;
373			};
374
375			timing3: timing3 {
376				panel-name = "ET0430";
377				clock-frequency = <9000000>;
378				hactive = <480>;
379				vactive = <272>;
380				hback-porch = <2>;
381				hsync-len = <41>;
382				hfront-porch = <2>;
383				vback-porch = <2>;
384				vsync-len = <10>;
385				vfront-porch = <2>;
386				hsync-active = <0>;
387				vsync-active = <0>;
388				de-active = <1>;
389				pixelclk-active = <1>;
390			};
391
392			timing4: timing4 {
393				panel-name = "ET0500", "ET0700";
394				clock-frequency = <33260000>;
395				hactive = <800>;
396				vactive = <480>;
397				hback-porch = <88>;
398				hsync-len = <128>;
399				hfront-porch = <40>;
400				vback-porch = <33>;
401				vsync-len = <2>;
402				vfront-porch = <10>;
403				hsync-active = <0>;
404				vsync-active = <0>;
405				de-active = <1>;
406				pixelclk-active = <1>;
407			};
408
409			timing5: timing5 {
410				panel-name = "ETQ570";
411				clock-frequency = <6400000>;
412				hactive = <320>;
413				vactive = <240>;
414				hback-porch = <38>;
415				hsync-len = <30>;
416				hfront-porch = <30>;
417				vback-porch = <16>;
418				vsync-len = <3>;
419				vfront-porch = <4>;
420				hsync-active = <0>;
421				vsync-active = <0>;
422				de-active = <1>;
423				pixelclk-active = <1>;
424			};
425		};
426	};
427};
428
429&lradc {
430	fsl,lradc-touchscreen-wires = <4>;
431	status = "okay";
432};
433
434&mac0 {
435	phy-mode = "rmii";
436	pinctrl-names = "default", "gpio_mode";
437	pinctrl-0 = <&mac0_pins_a>;
438	pinctrl-1 = <&tx28_mac0_pins_gpio>;
439	status = "okay";
440};
441
442&mac1 {
443	phy-mode = "rmii";
444	pinctrl-names = "default";
445	pinctrl-0 = <&mac1_pins_a>;
446	/* not enabled by default */
447};
448
449&mxs_rtc {
450	status = "okay";
451};
452
453&ocotp {
454	status = "okay";
455};
456
457&pwm {
458	pinctrl-names = "default";
459	pinctrl-0 = <&pwm0_pins_a>;
460	status = "okay";
461};
462
463&pinctrl {
464	pinctrl-names = "default";
465	pinctrl-0 = <&hog_pins_a>;
466
467	hog_pins_a: hog@0 {
468		reg = <0>;
469		fsl,pinmux-ids = <
470			MX28_PAD_ENET0_RXD3__GPIO_4_10 /* module LED */
471		>;
472		fsl,drive-strength = <MXS_DRIVE_4mA>;
473		fsl,voltage = <MXS_VOLTAGE_HIGH>;
474		fsl,pull-up = <MXS_PULL_DISABLE>;
475	};
476
477	tx28_edt_ft5x06_pins: tx28-edt-ft5x06-pins@0 {
478		reg = <0>;
479		fsl,pinmux-ids = <
480			MX28_PAD_SSP0_DATA6__GPIO_2_6 /* RESET */
481			MX28_PAD_SSP0_DATA5__GPIO_2_5 /* IRQ */
482			MX28_PAD_ENET0_RXD2__GPIO_4_9 /* WAKE */
483		>;
484		fsl,drive-strength = <MXS_DRIVE_4mA>;
485		fsl,voltage = <MXS_VOLTAGE_HIGH>;
486		fsl,pull-up = <MXS_PULL_DISABLE>;
487	};
488
489	tx28_flexcan_xcvr_pins: tx28-flexcan-xcvr-pins@0 {
490		reg = <0>;
491		fsl,pinmux-ids = <
492			MX28_PAD_LCD_D00__GPIO_1_0
493		>;
494		fsl,drive-strength = <MXS_DRIVE_4mA>;
495		fsl,voltage = <MXS_VOLTAGE_HIGH>;
496		fsl,pull-up = <MXS_PULL_DISABLE>;
497	};
498
499	tx28_lcdif_23bit_pins: tx28-lcdif-23bit@0 {
500		reg = <0>;
501		fsl,pinmux-ids = <
502			/* LCD_D00 may be used as Flexcan Transceiver Enable on STK5-V5 */
503			MX28_PAD_LCD_D01__LCD_D1
504			MX28_PAD_LCD_D02__LCD_D2
505			MX28_PAD_LCD_D03__LCD_D3
506			MX28_PAD_LCD_D04__LCD_D4
507			MX28_PAD_LCD_D05__LCD_D5
508			MX28_PAD_LCD_D06__LCD_D6
509			MX28_PAD_LCD_D07__LCD_D7
510			MX28_PAD_LCD_D08__LCD_D8
511			MX28_PAD_LCD_D09__LCD_D9
512			MX28_PAD_LCD_D10__LCD_D10
513			MX28_PAD_LCD_D11__LCD_D11
514			MX28_PAD_LCD_D12__LCD_D12
515			MX28_PAD_LCD_D13__LCD_D13
516			MX28_PAD_LCD_D14__LCD_D14
517			MX28_PAD_LCD_D15__LCD_D15
518			MX28_PAD_LCD_D16__LCD_D16
519			MX28_PAD_LCD_D17__LCD_D17
520			MX28_PAD_LCD_D18__LCD_D18
521			MX28_PAD_LCD_D19__LCD_D19
522			MX28_PAD_LCD_D20__LCD_D20
523			MX28_PAD_LCD_D21__LCD_D21
524			MX28_PAD_LCD_D22__LCD_D22
525			MX28_PAD_LCD_D23__LCD_D23
526		>;
527		fsl,drive-strength = <MXS_DRIVE_4mA>;
528		fsl,voltage = <MXS_VOLTAGE_HIGH>;
529		fsl,pull-up = <MXS_PULL_DISABLE>;
530	};
531
532	tx28_lcdif_ctrl_pins: tx28-lcdif-ctrl@0 {
533		reg = <0>;
534		fsl,pinmux-ids = <
535			MX28_PAD_LCD_ENABLE__GPIO_1_31 /* Enable */
536			MX28_PAD_LCD_RESET__GPIO_3_30  /* Reset */
537		>;
538		fsl,drive-strength = <MXS_DRIVE_4mA>;
539		fsl,voltage = <MXS_VOLTAGE_HIGH>;
540		fsl,pull-up = <MXS_PULL_DISABLE>;
541	};
542
543	tx28_mac0_pins_gpio: tx28-mac0-gpio-pins@0 {
544		reg = <0>;
545		fsl,pinmux-ids = <
546			MX28_PAD_ENET0_MDC__GPIO_4_0
547			MX28_PAD_ENET0_MDIO__GPIO_4_1
548			MX28_PAD_ENET0_RX_EN__GPIO_4_2
549			MX28_PAD_ENET0_RXD0__GPIO_4_3
550			MX28_PAD_ENET0_RXD1__GPIO_4_4
551			MX28_PAD_ENET0_TX_EN__GPIO_4_6
552			MX28_PAD_ENET0_TXD0__GPIO_4_7
553			MX28_PAD_ENET0_TXD1__GPIO_4_8
554			MX28_PAD_ENET_CLK__GPIO_4_16
555		>;
556		fsl,drive-strength = <MXS_DRIVE_4mA>;
557		fsl,voltage = <MXS_VOLTAGE_HIGH>;
558		fsl,pull-up = <MXS_PULL_DISABLE>;
559	};
560
561	tx28_pca9554_pins: tx28-pca9554-pins@0 {
562		reg = <0>;
563		fsl,pinmux-ids = <
564			MX28_PAD_PWM3__GPIO_3_28
565		>;
566		fsl,drive-strength = <MXS_DRIVE_4mA>;
567		fsl,voltage = <MXS_VOLTAGE_HIGH>;
568		fsl,pull-up = <MXS_PULL_DISABLE>;
569	};
570
571	tx28_spi_gpio_pins: spi-gpiogrp@0 {
572		reg = <0>;
573		fsl,pinmux-ids = <
574			MX28_PAD_AUART2_RX__GPIO_3_8
575			MX28_PAD_AUART2_TX__GPIO_3_9
576			MX28_PAD_SSP3_SCK__GPIO_2_24
577			MX28_PAD_SSP3_MOSI__GPIO_2_25
578			MX28_PAD_SSP3_MISO__GPIO_2_26
579			MX28_PAD_SSP3_SS0__GPIO_2_27
580		>;
581		fsl,drive-strength = <MXS_DRIVE_8mA>;
582		fsl,voltage = <MXS_VOLTAGE_HIGH>;
583		fsl,pull-up = <MXS_PULL_DISABLE>;
584	};
585
586	tx28_tsc2007_pins: tx28-tsc2007-pins@0 {
587		reg = <0>;
588		fsl,pinmux-ids = <
589			MX28_PAD_SAIF0_MCLK__GPIO_3_20 /* TSC2007 IRQ */
590		>;
591		fsl,drive-strength = <MXS_DRIVE_4mA>;
592		fsl,voltage = <MXS_VOLTAGE_HIGH>;
593		fsl,pull-up = <MXS_PULL_DISABLE>;
594	};
595
596
597	tx28_usbphy0_pins: tx28-usbphy0-pins@0 {
598		reg = <0>;
599		fsl,pinmux-ids = <
600			MX28_PAD_GPMI_CE2N__GPIO_0_18 /* USBOTG_VBUSEN */
601			MX28_PAD_GPMI_CE3N__GPIO_0_19 /* USBOTH_OC */
602		>;
603		fsl,drive-strength = <MXS_DRIVE_12mA>;
604		fsl,voltage = <MXS_VOLTAGE_HIGH>;
605		fsl,pull-up = <MXS_PULL_DISABLE>;
606	};
607
608	tx28_usbphy1_pins: tx28-usbphy1-pins@0 {
609		reg = <0>;
610		fsl,pinmux-ids = <
611			MX28_PAD_SPDIF__GPIO_3_27 /* USBH_VBUSEN */
612			MX28_PAD_JTAG_RTCK__GPIO_4_20 /* USBH_OC */
613		>;
614		fsl,drive-strength = <MXS_DRIVE_12mA>;
615		fsl,voltage = <MXS_VOLTAGE_HIGH>;
616		fsl,pull-up = <MXS_PULL_DISABLE>;
617	};
618};
619
620&saif0 {
621	pinctrl-names = "default";
622	pinctrl-0 = <&saif0_pins_b>;
623	fsl,saif-master;
624	status = "okay";
625};
626
627&saif1 {
628	pinctrl-names = "default";
629	pinctrl-0 = <&saif1_pins_a>;
630	status = "okay";
631};
632
633&ssp0 {
634	compatible = "fsl,imx28-mmc";
635	pinctrl-names = "default", "special";
636	pinctrl-0 = <&mmc0_4bit_pins_a
637		     &mmc0_cd_cfg
638		     &mmc0_sck_cfg>;
639	bus-width = <4>;
640	status = "okay";
641};
642
643&ssp3 {
644	compatible = "fsl,imx28-spi";
645	pinctrl-names = "default";
646	pinctrl-0 = <&spi3_pins_a>;
647	clock-frequency = <57600000>;
648	status = "okay";
649};
650
651&usb0 {
652	vbus-supply = <&reg_usb0_vbus>;
653	disable-over-current;
654	dr_mode = "peripheral";
655	status = "okay";
656};
657
658&usb1 {
659	vbus-supply = <&reg_usb1_vbus>;
660	disable-over-current;
661	dr_mode = "host";
662	status = "okay";
663};
664
665&usbphy0 {
666	pinctrl-names = "default";
667	pinctrl-0 = <&tx28_usbphy0_pins>;
668	phy_type = "utmi";
669	status = "okay";
670};
671
672&usbphy1 {
673	pinctrl-names = "default";
674	pinctrl-0 = <&tx28_usbphy1_pins>;
675	phy_type = "utmi";
676	status = "okay";
677};
678