~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 0>;
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                 #sound-dai-cells = <0>;
264                 VDDA-supply = <&reg_2p5v>;
265                 VDDIO-supply = <&reg_3p3v>;
266                 clocks = <&mclk>;
267         };
268 
269         gpio5: pca953x@20 {
270                 compatible = "nxp,pca9554";
271                 reg = <0x20>;
272                 pinctrl-names = "default";
273                 pinctrl-0 = <&tx28_pca9554_pins>;
274                 interrupt-parent = <&gpio3>;
275                 interrupts = <28 IRQ_TYPE_NONE>;
276                 gpio-controller;
277                 #gpio-cells = <2>;
278                 interrupt-controller;
279                 #interrupt-cells = <2>;
280         };
281 
282         polytouch: edt-ft5x06@38 {
283                 compatible = "edt,edt-ft5x06";
284                 reg = <0x38>;
285                 pinctrl-names = "default";
286                 pinctrl-0 = <&tx28_edt_ft5x06_pins>;
287                 interrupt-parent = <&gpio2>;
288                 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
289                 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
290                 wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
291                 wakeup-source;
292         };
293 
294         touchscreen: tsc2007@48 {
295                 compatible = "ti,tsc2007";
296                 reg = <0x48>;
297                 pinctrl-names = "default";
298                 pinctrl-0 = <&tx28_tsc2007_pins>;
299                 interrupt-parent = <&gpio3>;
300                 interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
301                 pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;
302                 ti,x-plate-ohms = /bits/ 16 <660>;
303         };
304 
305         ds1339: rtc@68 {
306                 compatible = "dallas,ds1339";
307                 reg = <0x68>;
308                 trickle-resistor-ohms = <250>;
309                 trickle-diode-disable;
310         };
311 };
312 
313 &lcdif {
314         pinctrl-names = "default";
315         pinctrl-0 = <&lcdif_24bit_pins_a &lcdif_sync_pins_a &tx28_lcdif_ctrl_pins>;
316         lcd-supply = <&reg_lcd>;
317         display = <&display0>;
318         status = "okay";
319 
320         display0: display0 {
321                 bits-per-pixel = <32>;
322                 bus-width = <24>;
323                 display-timings {
324                         native-mode = <&timing5>;
325                         timing0: timing0 {
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                                 clock-frequency = <25175000>;
343                                 hactive = <640>;
344                                 vactive = <480>;
345                                 hback-porch = <114>;
346                                 hsync-len = <30>;
347                                 hfront-porch = <16>;
348                                 vback-porch = <32>;
349                                 vsync-len = <3>;
350                                 vfront-porch = <10>;
351                                 hsync-active = <0>;
352                                 vsync-active = <0>;
353                                 de-active = <1>;
354                                 pixelclk-active = <1>;
355                         };
356 
357                         timing2: timing2 {
358                                 clock-frequency = <6500000>;
359                                 hactive = <320>;
360                                 vactive = <240>;
361                                 hback-porch = <34>;
362                                 hsync-len = <34>;
363                                 hfront-porch = <20>;
364                                 vback-porch = <15>;
365                                 vsync-len = <3>;
366                                 vfront-porch = <4>;
367                                 hsync-active = <0>;
368                                 vsync-active = <0>;
369                                 de-active = <1>;
370                                 pixelclk-active = <1>;
371                         };
372 
373                         timing3: timing3 {
374                                 clock-frequency = <9000000>;
375                                 hactive = <480>;
376                                 vactive = <272>;
377                                 hback-porch = <2>;
378                                 hsync-len = <41>;
379                                 hfront-porch = <2>;
380                                 vback-porch = <2>;
381                                 vsync-len = <10>;
382                                 vfront-porch = <2>;
383                                 hsync-active = <0>;
384                                 vsync-active = <0>;
385                                 de-active = <1>;
386                                 pixelclk-active = <1>;
387                         };
388 
389                         timing4: timing4 {
390                                 clock-frequency = <33260000>;
391                                 hactive = <800>;
392                                 vactive = <480>;
393                                 hback-porch = <88>;
394                                 hsync-len = <128>;
395                                 hfront-porch = <40>;
396                                 vback-porch = <33>;
397                                 vsync-len = <2>;
398                                 vfront-porch = <10>;
399                                 hsync-active = <0>;
400                                 vsync-active = <0>;
401                                 de-active = <1>;
402                                 pixelclk-active = <1>;
403                         };
404 
405                         timing5: timing5 {
406                                 clock-frequency = <6400000>;
407                                 hactive = <320>;
408                                 vactive = <240>;
409                                 hback-porch = <38>;
410                                 hsync-len = <30>;
411                                 hfront-porch = <30>;
412                                 vback-porch = <16>;
413                                 vsync-len = <3>;
414                                 vfront-porch = <4>;
415                                 hsync-active = <0>;
416                                 vsync-active = <0>;
417                                 de-active = <1>;
418                                 pixelclk-active = <1>;
419                         };
420                 };
421         };
422 };
423 
424 &lradc {
425         fsl,lradc-touchscreen-wires = <4>;
426         status = "okay";
427 };
428 
429 &mac0 {
430         phy-mode = "rmii";
431         pinctrl-names = "default", "gpio_mode";
432         pinctrl-0 = <&mac0_pins_a>;
433         pinctrl-1 = <&tx28_mac0_pins_gpio>;
434         status = "okay";
435 };
436 
437 &mac1 {
438         phy-mode = "rmii";
439         pinctrl-names = "default";
440         pinctrl-0 = <&mac1_pins_a>;
441         /* not enabled by default */
442 };
443 
444 &mxs_rtc {
445         status = "okay";
446 };
447 
448 &ocotp {
449         status = "okay";
450 };
451 
452 &pwm {
453         pinctrl-names = "default";
454         pinctrl-0 = <&pwm0_pins_a>;
455         status = "okay";
456 };
457 
458 &pinctrl {
459         pinctrl-names = "default";
460         pinctrl-0 = <&hog_pins_a>;
461 
462         hog_pins_a: hog@0 {
463                 reg = <0>;
464                 fsl,pinmux-ids = <
465                         MX28_PAD_ENET0_RXD3__GPIO_4_10 /* module LED */
466                 >;
467                 fsl,drive-strength = <MXS_DRIVE_4mA>;
468                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
469                 fsl,pull-up = <MXS_PULL_DISABLE>;
470         };
471 
472         tx28_edt_ft5x06_pins: tx28-edt-ft5x06-pins@0 {
473                 reg = <0>;
474                 fsl,pinmux-ids = <
475                         MX28_PAD_SSP0_DATA6__GPIO_2_6 /* RESET */
476                         MX28_PAD_SSP0_DATA5__GPIO_2_5 /* IRQ */
477                         MX28_PAD_ENET0_RXD2__GPIO_4_9 /* WAKE */
478                 >;
479                 fsl,drive-strength = <MXS_DRIVE_4mA>;
480                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
481                 fsl,pull-up = <MXS_PULL_DISABLE>;
482         };
483 
484         tx28_flexcan_xcvr_pins: tx28-flexcan-xcvr-pins@0 {
485                 reg = <0>;
486                 fsl,pinmux-ids = <
487                         MX28_PAD_LCD_D00__GPIO_1_0
488                 >;
489                 fsl,drive-strength = <MXS_DRIVE_4mA>;
490                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
491                 fsl,pull-up = <MXS_PULL_DISABLE>;
492         };
493 
494         tx28_lcdif_23bit_pins: tx28-lcdif-23bit@0 {
495                 reg = <0>;
496                 fsl,pinmux-ids = <
497                         /* LCD_D00 may be used as Flexcan Transceiver Enable on STK5-V5 */
498                         MX28_PAD_LCD_D01__LCD_D1
499                         MX28_PAD_LCD_D02__LCD_D2
500                         MX28_PAD_LCD_D03__LCD_D3
501                         MX28_PAD_LCD_D04__LCD_D4
502                         MX28_PAD_LCD_D05__LCD_D5
503                         MX28_PAD_LCD_D06__LCD_D6
504                         MX28_PAD_LCD_D07__LCD_D7
505                         MX28_PAD_LCD_D08__LCD_D8
506                         MX28_PAD_LCD_D09__LCD_D9
507                         MX28_PAD_LCD_D10__LCD_D10
508                         MX28_PAD_LCD_D11__LCD_D11
509                         MX28_PAD_LCD_D12__LCD_D12
510                         MX28_PAD_LCD_D13__LCD_D13
511                         MX28_PAD_LCD_D14__LCD_D14
512                         MX28_PAD_LCD_D15__LCD_D15
513                         MX28_PAD_LCD_D16__LCD_D16
514                         MX28_PAD_LCD_D17__LCD_D17
515                         MX28_PAD_LCD_D18__LCD_D18
516                         MX28_PAD_LCD_D19__LCD_D19
517                         MX28_PAD_LCD_D20__LCD_D20
518                         MX28_PAD_LCD_D21__LCD_D21
519                         MX28_PAD_LCD_D22__LCD_D22
520                         MX28_PAD_LCD_D23__LCD_D23
521                 >;
522                 fsl,drive-strength = <MXS_DRIVE_4mA>;
523                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
524                 fsl,pull-up = <MXS_PULL_DISABLE>;
525         };
526 
527         tx28_lcdif_ctrl_pins: tx28-lcdif-ctrl@0 {
528                 reg = <0>;
529                 fsl,pinmux-ids = <
530                         MX28_PAD_LCD_ENABLE__GPIO_1_31 /* Enable */
531                         MX28_PAD_LCD_RESET__GPIO_3_30  /* Reset */
532                 >;
533                 fsl,drive-strength = <MXS_DRIVE_4mA>;
534                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
535                 fsl,pull-up = <MXS_PULL_DISABLE>;
536         };
537 
538         tx28_mac0_pins_gpio: tx28-mac0-gpio-pins@0 {
539                 reg = <0>;
540                 fsl,pinmux-ids = <
541                         MX28_PAD_ENET0_MDC__GPIO_4_0
542                         MX28_PAD_ENET0_MDIO__GPIO_4_1
543                         MX28_PAD_ENET0_RX_EN__GPIO_4_2
544                         MX28_PAD_ENET0_RXD0__GPIO_4_3
545                         MX28_PAD_ENET0_RXD1__GPIO_4_4
546                         MX28_PAD_ENET0_TX_EN__GPIO_4_6
547                         MX28_PAD_ENET0_TXD0__GPIO_4_7
548                         MX28_PAD_ENET0_TXD1__GPIO_4_8
549                         MX28_PAD_ENET_CLK__GPIO_4_16
550                 >;
551                 fsl,drive-strength = <MXS_DRIVE_4mA>;
552                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
553                 fsl,pull-up = <MXS_PULL_DISABLE>;
554         };
555 
556         tx28_pca9554_pins: tx28-pca9554-pins@0 {
557                 reg = <0>;
558                 fsl,pinmux-ids = <
559                         MX28_PAD_PWM3__GPIO_3_28
560                 >;
561                 fsl,drive-strength = <MXS_DRIVE_4mA>;
562                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
563                 fsl,pull-up = <MXS_PULL_DISABLE>;
564         };
565 
566         tx28_spi_gpio_pins: spi-gpiogrp@0 {
567                 reg = <0>;
568                 fsl,pinmux-ids = <
569                         MX28_PAD_AUART2_RX__GPIO_3_8
570                         MX28_PAD_AUART2_TX__GPIO_3_9
571                         MX28_PAD_SSP3_SCK__GPIO_2_24
572                         MX28_PAD_SSP3_MOSI__GPIO_2_25
573                         MX28_PAD_SSP3_MISO__GPIO_2_26
574                         MX28_PAD_SSP3_SS0__GPIO_2_27
575                 >;
576                 fsl,drive-strength = <MXS_DRIVE_8mA>;
577                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
578                 fsl,pull-up = <MXS_PULL_DISABLE>;
579         };
580 
581         tx28_tsc2007_pins: tx28-tsc2007-pins@0 {
582                 reg = <0>;
583                 fsl,pinmux-ids = <
584                         MX28_PAD_SAIF0_MCLK__GPIO_3_20 /* TSC2007 IRQ */
585                 >;
586                 fsl,drive-strength = <MXS_DRIVE_4mA>;
587                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
588                 fsl,pull-up = <MXS_PULL_DISABLE>;
589         };
590 
591 
592         tx28_usbphy0_pins: tx28-usbphy0-pins@0 {
593                 reg = <0>;
594                 fsl,pinmux-ids = <
595                         MX28_PAD_GPMI_CE2N__GPIO_0_18 /* USBOTG_VBUSEN */
596                         MX28_PAD_GPMI_CE3N__GPIO_0_19 /* USBOTH_OC */
597                 >;
598                 fsl,drive-strength = <MXS_DRIVE_12mA>;
599                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
600                 fsl,pull-up = <MXS_PULL_DISABLE>;
601         };
602 
603         tx28_usbphy1_pins: tx28-usbphy1-pins@0 {
604                 reg = <0>;
605                 fsl,pinmux-ids = <
606                         MX28_PAD_SPDIF__GPIO_3_27 /* USBH_VBUSEN */
607                         MX28_PAD_JTAG_RTCK__GPIO_4_20 /* USBH_OC */
608                 >;
609                 fsl,drive-strength = <MXS_DRIVE_12mA>;
610                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
611                 fsl,pull-up = <MXS_PULL_DISABLE>;
612         };
613 };
614 
615 &saif0 {
616         pinctrl-names = "default";
617         pinctrl-0 = <&saif0_pins_b>;
618         status = "okay";
619 };
620 
621 &saif1 {
622         pinctrl-names = "default";
623         pinctrl-0 = <&saif1_pins_a>;
624         fsl,saif-master = <&saif0>;
625         status = "okay";
626 };
627 
628 &ssp0 {
629         compatible = "fsl,imx28-mmc";
630         pinctrl-names = "default", "special";
631         pinctrl-0 = <&mmc0_4bit_pins_a
632                      &mmc0_cd_cfg
633                      &mmc0_sck_cfg>;
634         bus-width = <4>;
635         status = "okay";
636 };
637 
638 &ssp3 {
639         compatible = "fsl,imx28-spi";
640         pinctrl-names = "default";
641         pinctrl-0 = <&spi3_pins_a>;
642         clock-frequency = <57600000>;
643         status = "okay";
644 };
645 
646 &usb0 {
647         vbus-supply = <&reg_usb0_vbus>;
648         disable-over-current;
649         dr_mode = "peripheral";
650         phy_type = "utmi";
651         status = "okay";
652 };
653 
654 &usb1 {
655         vbus-supply = <&reg_usb1_vbus>;
656         disable-over-current;
657         dr_mode = "host";
658         phy_type = "utmi";
659         status = "okay";
660 };
661 
662 &usbphy0 {
663         pinctrl-names = "default";
664         pinctrl-0 = <&tx28_usbphy0_pins>;
665         status = "okay";
666 };
667 
668 &usbphy1 {
669         pinctrl-names = "default";
670         pinctrl-0 = <&tx28_usbphy1_pins>;
671         status = "okay";
672 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php