Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 = ®_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 = <®_can_xcvr>; |
| 227 | status = "okay"; |
| 228 | }; |
| 229 | |
| 230 | &can1 { |
| 231 | pinctrl-names = "default"; |
| 232 | pinctrl-0 = <&can1_pins_a>; |
| 233 | xceiver-supply = <®_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>; |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 263 | #sound-dai-cells = <0>; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 264 | VDDA-supply = <®_2p5v>; |
| 265 | VDDIO-supply = <®_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 = <®_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 | panel-name = "VGA"; |
| 327 | clock-frequency = <25175000>; |
| 328 | hactive = <640>; |
| 329 | vactive = <480>; |
| 330 | hback-porch = <48>; |
| 331 | hsync-len = <96>; |
| 332 | hfront-porch = <16>; |
| 333 | vback-porch = <33>; |
| 334 | vsync-len = <2>; |
| 335 | vfront-porch = <10>; |
| 336 | hsync-active = <0>; |
| 337 | vsync-active = <0>; |
| 338 | de-active = <1>; |
| 339 | pixelclk-active = <1>; |
| 340 | }; |
| 341 | |
| 342 | timing1: timing1 { |
| 343 | panel-name = "ETV570"; |
| 344 | clock-frequency = <25175000>; |
| 345 | hactive = <640>; |
| 346 | vactive = <480>; |
| 347 | hback-porch = <114>; |
| 348 | hsync-len = <30>; |
| 349 | hfront-porch = <16>; |
| 350 | vback-porch = <32>; |
| 351 | vsync-len = <3>; |
| 352 | vfront-porch = <10>; |
| 353 | hsync-active = <0>; |
| 354 | vsync-active = <0>; |
| 355 | de-active = <1>; |
| 356 | pixelclk-active = <1>; |
| 357 | }; |
| 358 | |
| 359 | timing2: timing2 { |
| 360 | panel-name = "ET0350"; |
| 361 | clock-frequency = <6500000>; |
| 362 | hactive = <320>; |
| 363 | vactive = <240>; |
| 364 | hback-porch = <34>; |
| 365 | hsync-len = <34>; |
| 366 | hfront-porch = <20>; |
| 367 | vback-porch = <15>; |
| 368 | vsync-len = <3>; |
| 369 | vfront-porch = <4>; |
| 370 | hsync-active = <0>; |
| 371 | vsync-active = <0>; |
| 372 | de-active = <1>; |
| 373 | pixelclk-active = <1>; |
| 374 | }; |
| 375 | |
| 376 | timing3: timing3 { |
| 377 | panel-name = "ET0430"; |
| 378 | clock-frequency = <9000000>; |
| 379 | hactive = <480>; |
| 380 | vactive = <272>; |
| 381 | hback-porch = <2>; |
| 382 | hsync-len = <41>; |
| 383 | hfront-porch = <2>; |
| 384 | vback-porch = <2>; |
| 385 | vsync-len = <10>; |
| 386 | vfront-porch = <2>; |
| 387 | hsync-active = <0>; |
| 388 | vsync-active = <0>; |
| 389 | de-active = <1>; |
| 390 | pixelclk-active = <1>; |
| 391 | }; |
| 392 | |
| 393 | timing4: timing4 { |
| 394 | panel-name = "ET0500", "ET0700"; |
| 395 | clock-frequency = <33260000>; |
| 396 | hactive = <800>; |
| 397 | vactive = <480>; |
| 398 | hback-porch = <88>; |
| 399 | hsync-len = <128>; |
| 400 | hfront-porch = <40>; |
| 401 | vback-porch = <33>; |
| 402 | vsync-len = <2>; |
| 403 | vfront-porch = <10>; |
| 404 | hsync-active = <0>; |
| 405 | vsync-active = <0>; |
| 406 | de-active = <1>; |
| 407 | pixelclk-active = <1>; |
| 408 | }; |
| 409 | |
| 410 | timing5: timing5 { |
| 411 | panel-name = "ETQ570"; |
| 412 | clock-frequency = <6400000>; |
| 413 | hactive = <320>; |
| 414 | vactive = <240>; |
| 415 | hback-porch = <38>; |
| 416 | hsync-len = <30>; |
| 417 | hfront-porch = <30>; |
| 418 | vback-porch = <16>; |
| 419 | vsync-len = <3>; |
| 420 | vfront-porch = <4>; |
| 421 | hsync-active = <0>; |
| 422 | vsync-active = <0>; |
| 423 | de-active = <1>; |
| 424 | pixelclk-active = <1>; |
| 425 | }; |
| 426 | }; |
| 427 | }; |
| 428 | }; |
| 429 | |
| 430 | &lradc { |
| 431 | fsl,lradc-touchscreen-wires = <4>; |
| 432 | status = "okay"; |
| 433 | }; |
| 434 | |
| 435 | &mac0 { |
| 436 | phy-mode = "rmii"; |
| 437 | pinctrl-names = "default", "gpio_mode"; |
| 438 | pinctrl-0 = <&mac0_pins_a>; |
| 439 | pinctrl-1 = <&tx28_mac0_pins_gpio>; |
| 440 | status = "okay"; |
| 441 | }; |
| 442 | |
| 443 | &mac1 { |
| 444 | phy-mode = "rmii"; |
| 445 | pinctrl-names = "default"; |
| 446 | pinctrl-0 = <&mac1_pins_a>; |
| 447 | /* not enabled by default */ |
| 448 | }; |
| 449 | |
| 450 | &mxs_rtc { |
| 451 | status = "okay"; |
| 452 | }; |
| 453 | |
| 454 | &ocotp { |
| 455 | status = "okay"; |
| 456 | }; |
| 457 | |
| 458 | &pwm { |
| 459 | pinctrl-names = "default"; |
| 460 | pinctrl-0 = <&pwm0_pins_a>; |
| 461 | status = "okay"; |
| 462 | }; |
| 463 | |
| 464 | &pinctrl { |
| 465 | pinctrl-names = "default"; |
| 466 | pinctrl-0 = <&hog_pins_a>; |
| 467 | |
| 468 | hog_pins_a: hog@0 { |
| 469 | reg = <0>; |
| 470 | fsl,pinmux-ids = < |
| 471 | MX28_PAD_ENET0_RXD3__GPIO_4_10 /* module LED */ |
| 472 | >; |
| 473 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 474 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 475 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 476 | }; |
| 477 | |
| 478 | tx28_edt_ft5x06_pins: tx28-edt-ft5x06-pins@0 { |
| 479 | reg = <0>; |
| 480 | fsl,pinmux-ids = < |
| 481 | MX28_PAD_SSP0_DATA6__GPIO_2_6 /* RESET */ |
| 482 | MX28_PAD_SSP0_DATA5__GPIO_2_5 /* IRQ */ |
| 483 | MX28_PAD_ENET0_RXD2__GPIO_4_9 /* WAKE */ |
| 484 | >; |
| 485 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 486 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 487 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 488 | }; |
| 489 | |
| 490 | tx28_flexcan_xcvr_pins: tx28-flexcan-xcvr-pins@0 { |
| 491 | reg = <0>; |
| 492 | fsl,pinmux-ids = < |
| 493 | MX28_PAD_LCD_D00__GPIO_1_0 |
| 494 | >; |
| 495 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 496 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 497 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 498 | }; |
| 499 | |
| 500 | tx28_lcdif_23bit_pins: tx28-lcdif-23bit@0 { |
| 501 | reg = <0>; |
| 502 | fsl,pinmux-ids = < |
| 503 | /* LCD_D00 may be used as Flexcan Transceiver Enable on STK5-V5 */ |
| 504 | MX28_PAD_LCD_D01__LCD_D1 |
| 505 | MX28_PAD_LCD_D02__LCD_D2 |
| 506 | MX28_PAD_LCD_D03__LCD_D3 |
| 507 | MX28_PAD_LCD_D04__LCD_D4 |
| 508 | MX28_PAD_LCD_D05__LCD_D5 |
| 509 | MX28_PAD_LCD_D06__LCD_D6 |
| 510 | MX28_PAD_LCD_D07__LCD_D7 |
| 511 | MX28_PAD_LCD_D08__LCD_D8 |
| 512 | MX28_PAD_LCD_D09__LCD_D9 |
| 513 | MX28_PAD_LCD_D10__LCD_D10 |
| 514 | MX28_PAD_LCD_D11__LCD_D11 |
| 515 | MX28_PAD_LCD_D12__LCD_D12 |
| 516 | MX28_PAD_LCD_D13__LCD_D13 |
| 517 | MX28_PAD_LCD_D14__LCD_D14 |
| 518 | MX28_PAD_LCD_D15__LCD_D15 |
| 519 | MX28_PAD_LCD_D16__LCD_D16 |
| 520 | MX28_PAD_LCD_D17__LCD_D17 |
| 521 | MX28_PAD_LCD_D18__LCD_D18 |
| 522 | MX28_PAD_LCD_D19__LCD_D19 |
| 523 | MX28_PAD_LCD_D20__LCD_D20 |
| 524 | MX28_PAD_LCD_D21__LCD_D21 |
| 525 | MX28_PAD_LCD_D22__LCD_D22 |
| 526 | MX28_PAD_LCD_D23__LCD_D23 |
| 527 | >; |
| 528 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 529 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 530 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 531 | }; |
| 532 | |
| 533 | tx28_lcdif_ctrl_pins: tx28-lcdif-ctrl@0 { |
| 534 | reg = <0>; |
| 535 | fsl,pinmux-ids = < |
| 536 | MX28_PAD_LCD_ENABLE__GPIO_1_31 /* Enable */ |
| 537 | MX28_PAD_LCD_RESET__GPIO_3_30 /* Reset */ |
| 538 | >; |
| 539 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 540 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 541 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 542 | }; |
| 543 | |
| 544 | tx28_mac0_pins_gpio: tx28-mac0-gpio-pins@0 { |
| 545 | reg = <0>; |
| 546 | fsl,pinmux-ids = < |
| 547 | MX28_PAD_ENET0_MDC__GPIO_4_0 |
| 548 | MX28_PAD_ENET0_MDIO__GPIO_4_1 |
| 549 | MX28_PAD_ENET0_RX_EN__GPIO_4_2 |
| 550 | MX28_PAD_ENET0_RXD0__GPIO_4_3 |
| 551 | MX28_PAD_ENET0_RXD1__GPIO_4_4 |
| 552 | MX28_PAD_ENET0_TX_EN__GPIO_4_6 |
| 553 | MX28_PAD_ENET0_TXD0__GPIO_4_7 |
| 554 | MX28_PAD_ENET0_TXD1__GPIO_4_8 |
| 555 | MX28_PAD_ENET_CLK__GPIO_4_16 |
| 556 | >; |
| 557 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 558 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 559 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 560 | }; |
| 561 | |
| 562 | tx28_pca9554_pins: tx28-pca9554-pins@0 { |
| 563 | reg = <0>; |
| 564 | fsl,pinmux-ids = < |
| 565 | MX28_PAD_PWM3__GPIO_3_28 |
| 566 | >; |
| 567 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 568 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 569 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 570 | }; |
| 571 | |
| 572 | tx28_spi_gpio_pins: spi-gpiogrp@0 { |
| 573 | reg = <0>; |
| 574 | fsl,pinmux-ids = < |
| 575 | MX28_PAD_AUART2_RX__GPIO_3_8 |
| 576 | MX28_PAD_AUART2_TX__GPIO_3_9 |
| 577 | MX28_PAD_SSP3_SCK__GPIO_2_24 |
| 578 | MX28_PAD_SSP3_MOSI__GPIO_2_25 |
| 579 | MX28_PAD_SSP3_MISO__GPIO_2_26 |
| 580 | MX28_PAD_SSP3_SS0__GPIO_2_27 |
| 581 | >; |
| 582 | fsl,drive-strength = <MXS_DRIVE_8mA>; |
| 583 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 584 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 585 | }; |
| 586 | |
| 587 | tx28_tsc2007_pins: tx28-tsc2007-pins@0 { |
| 588 | reg = <0>; |
| 589 | fsl,pinmux-ids = < |
| 590 | MX28_PAD_SAIF0_MCLK__GPIO_3_20 /* TSC2007 IRQ */ |
| 591 | >; |
| 592 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 593 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 594 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 595 | }; |
| 596 | |
| 597 | |
| 598 | tx28_usbphy0_pins: tx28-usbphy0-pins@0 { |
| 599 | reg = <0>; |
| 600 | fsl,pinmux-ids = < |
| 601 | MX28_PAD_GPMI_CE2N__GPIO_0_18 /* USBOTG_VBUSEN */ |
| 602 | MX28_PAD_GPMI_CE3N__GPIO_0_19 /* USBOTH_OC */ |
| 603 | >; |
| 604 | fsl,drive-strength = <MXS_DRIVE_12mA>; |
| 605 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 606 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 607 | }; |
| 608 | |
| 609 | tx28_usbphy1_pins: tx28-usbphy1-pins@0 { |
| 610 | reg = <0>; |
| 611 | fsl,pinmux-ids = < |
| 612 | MX28_PAD_SPDIF__GPIO_3_27 /* USBH_VBUSEN */ |
| 613 | MX28_PAD_JTAG_RTCK__GPIO_4_20 /* USBH_OC */ |
| 614 | >; |
| 615 | fsl,drive-strength = <MXS_DRIVE_12mA>; |
| 616 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 617 | fsl,pull-up = <MXS_PULL_DISABLE>; |
| 618 | }; |
| 619 | }; |
| 620 | |
| 621 | &saif0 { |
| 622 | pinctrl-names = "default"; |
| 623 | pinctrl-0 = <&saif0_pins_b>; |
| 624 | fsl,saif-master; |
| 625 | status = "okay"; |
| 626 | }; |
| 627 | |
| 628 | &saif1 { |
| 629 | pinctrl-names = "default"; |
| 630 | pinctrl-0 = <&saif1_pins_a>; |
| 631 | status = "okay"; |
| 632 | }; |
| 633 | |
| 634 | &ssp0 { |
| 635 | compatible = "fsl,imx28-mmc"; |
| 636 | pinctrl-names = "default", "special"; |
| 637 | pinctrl-0 = <&mmc0_4bit_pins_a |
| 638 | &mmc0_cd_cfg |
| 639 | &mmc0_sck_cfg>; |
| 640 | bus-width = <4>; |
| 641 | status = "okay"; |
| 642 | }; |
| 643 | |
| 644 | &ssp3 { |
| 645 | compatible = "fsl,imx28-spi"; |
| 646 | pinctrl-names = "default"; |
| 647 | pinctrl-0 = <&spi3_pins_a>; |
| 648 | clock-frequency = <57600000>; |
| 649 | status = "okay"; |
| 650 | }; |
| 651 | |
| 652 | &usb0 { |
| 653 | vbus-supply = <®_usb0_vbus>; |
| 654 | disable-over-current; |
| 655 | dr_mode = "peripheral"; |
| 656 | phy_type = "utmi"; |
| 657 | status = "okay"; |
| 658 | }; |
| 659 | |
| 660 | &usb1 { |
| 661 | vbus-supply = <®_usb1_vbus>; |
| 662 | disable-over-current; |
| 663 | dr_mode = "host"; |
| 664 | phy_type = "utmi"; |
| 665 | status = "okay"; |
| 666 | }; |
| 667 | |
| 668 | &usbphy0 { |
| 669 | pinctrl-names = "default"; |
| 670 | pinctrl-0 = <&tx28_usbphy0_pins>; |
| 671 | status = "okay"; |
| 672 | }; |
| 673 | |
| 674 | &usbphy1 { |
| 675 | pinctrl-names = "default"; |
| 676 | pinctrl-0 = <&tx28_usbphy1_pins>; |
| 677 | status = "okay"; |
| 678 | }; |