1/* 2 * Copyright 2014 General Electric Company 3 * 4 * This file is dual-licensed: you can use it either under the terms 5 * of the GPL or the X11 license, at your option. Note that this dual 6 * licensing only applies to this file, and not this project as a 7 * whole. 8 * 9 * a) This file is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License 11 * version 2 as published by the Free Software Foundation. 12 * 13 * This file is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * Or, alternatively, 19 * 20 * b) Permission is hereby granted, free of charge, to any person 21 * obtaining a copy of this software and associated documentation 22 * files (the "Software"), to deal in the Software without 23 * restriction, including without limitation the rights to use, 24 * copy, modify, merge, publish, distribute, sublicense, and/or 25 * sell copies of the Software, and to permit persons to whom the 26 * Software is furnished to do so, subject to the following 27 * conditions: 28 * 29 * The above copyright notice and this permission notice shall be 30 * included in all copies or substantial portions of the Software. 31 * 32 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 34 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 36 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 37 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 38 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 39 * OTHER DEALINGS IN THE SOFTWARE. 40 */ 41 42/dts-v1/; 43 44#include "imx53.dtsi" 45#include <dt-bindings/input/input.h> 46 47/ { 48 model = "General Electric CS ONE"; 49 compatible = "ge,imx53-cpuvo", "fsl,imx53"; 50 51 aliases { 52 spi0 = &cspi; 53 spi1 = &ecspi1; 54 spi2 = &ecspi2; 55 }; 56 57 chosen { 58 stdout-path = "serial0:115200n8"; 59 }; 60 61 memory@70000000 { 62 device_type = "memory"; 63 reg = <0x70000000 0x20000000>, 64 <0xb0000000 0x20000000>; 65 }; 66 67 cko2_11M: sgtl-clock-cko2 { 68 compatible = "fixed-clock"; 69 #clock-cells = <0>; 70 clock-frequency = <11289600>; 71 }; 72 73 achc_24M: achc-clock { 74 compatible = "fixed-clock"; 75 #clock-cells = <0>; 76 clock-frequency = <24000000>; 77 }; 78 79 sgtlsound: sound { 80 compatible = "fsl,imx53-cpuvo-sgtl5000", 81 "fsl,imx-audio-sgtl5000"; 82 model = "imx53-cpuvo-sgtl5000"; 83 ssi-controller = <&ssi2>; 84 audio-codec = <&sgtl5000>; 85 audio-routing = 86 "MIC_IN", "Mic Jack", 87 "Mic Jack", "Mic Bias", 88 "Headphone Jack", "HP_OUT"; 89 mux-int-port = <2>; 90 mux-ext-port = <6>; 91 }; 92 93 reg_sgtl5k: regulator-sgtl5k { 94 compatible = "regulator-fixed"; 95 regulator-name = "regulator-sgtl5k"; 96 regulator-min-microvolt = <3300000>; 97 regulator-max-microvolt = <3300000>; 98 regulator-always-on; 99 }; 100 101 reg_usb_otg_vbus: regulator-usb-otg-vbus { 102 compatible = "regulator-fixed"; 103 regulator-name = "usbotg_vbus"; 104 regulator-min-microvolt = <5000000>; 105 regulator-max-microvolt = <5000000>; 106 pinctrl-0 = <&pinctrl_usb_otg_vbus>; 107 gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; 108 enable-active-high; 109 }; 110 111 reg_usb_vbus: regulator-usb-vbus { 112 compatible = "regulator-fixed"; 113 regulator-name = "usbh1_vbus"; 114 regulator-min-microvolt = <5000000>; 115 regulator-max-microvolt = <5000000>; 116 regulator-always-on; 117 }; 118 119 reg_usbh2_vbus: regulator-usbh2-vbus { 120 compatible = "regulator-fixed"; 121 regulator-name = "usbh2_vbus"; 122 regulator-min-microvolt = <5000000>; 123 regulator-max-microvolt = <5000000>; 124 pinctrl-names = "default"; 125 pinctrl-0 = <&pinctrl_usbh2_vbus>; 126 gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>; 127 enable-active-high; 128 }; 129 130 reg_usbh3_vbus: regulator-usbh3-vbus { 131 compatible = "regulator-fixed"; 132 regulator-name = "usbh3_vbus"; 133 regulator-min-microvolt = <5000000>; 134 regulator-max-microvolt = <5000000>; 135 pinctrl-names = "default"; 136 pinctrl-0 = <&pinctrl_usbh3_vbus>; 137 gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>; 138 enable-active-high; 139 }; 140 141 reg_tsiref: regulator-tsiref { 142 compatible = "regulator-fixed"; 143 regulator-name = "tsiref"; 144 regulator-min-microvolt = <2500000>; 145 regulator-max-microvolt = <2500000>; 146 regulator-always-on; 147 }; 148 149 reg_3v3: regulator-3v3 { 150 /* TPS54320 */ 151 compatible = "regulator-fixed"; 152 regulator-name = "3V3"; 153 regulator-min-microvolt = <3300000>; 154 regulator-max-microvolt = <3300000>; 155 regulator-always-on; 156 }; 157 158 reg_3v3_lcd: regulator-3v3-lcd { 159 /* MIC2009 */ 160 compatible = "regulator-fixed"; 161 regulator-name = "LCD_3V3"; 162 vin-supply = <®_3v3>; 163 regulator-min-microvolt = <3300000>; 164 regulator-max-microvolt = <3300000>; 165 regulator-always-on; 166 }; 167 168 pwm_bl: backlight { 169 compatible = "pwm-backlight"; 170 pwms = <&pwm2 0 50000>; 171 brightness-levels = <0 2 5 7 10 12 15 17 20 22 25 28 30 33 35 172 38 40 43 45 48 51 53 56 58 61 63 66 68 71 173 73 76 79 81 84 86 89 91 94 96 99 102 104 174 107 109 112 114 117 119 122 124 127 130 175 132 135 137 140 142 145 147 150 153 155 176 158 160 163 165 168 170 173 175 178 181 177 183 186 188 191 193 196 198 201 204 206 178 209 211 214 216 219 221 224 226 229 232 179 234 237 239 242 244 247 249 252 255>; 180 default-brightness-level = <0>; 181 enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; 182 power-supply = <®_3v3_lcd>; 183 }; 184 185 led-controller-1 { 186 compatible = "pwm-leds"; 187 188 led-1 { 189 label = "alarm-brightness"; 190 pwms = <&pwm1 0 100000>; 191 max-brightness = <255>; 192 }; 193 }; 194 195 led-controller-2 { 196 compatible = "gpio-leds"; 197 pinctrl-names = "default"; 198 pinctrl-0 = <&pinctrl_alarmled_pins>; 199 200 led-2 { 201 label = "alarm:red"; 202 gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>; 203 }; 204 205 led-3 { 206 label = "alarm:yellow"; 207 gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>; 208 }; 209 210 led-4 { 211 label = "alarm:blue"; 212 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; 213 }; 214 215 led-5 { 216 label = "alarm:silenced"; 217 gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>; 218 }; 219 }; 220 221 gpio-poweroff { 222 compatible = "gpio-poweroff"; 223 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>; 224 }; 225 226 gpio-restart { 227 compatible = "gpio-restart"; 228 gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>; 229 active-delay = <100>; 230 inactive-delay = <10>; 231 wait-delay = <100>; 232 }; 233 234 power-gpio-keys { 235 compatible = "gpio-keys"; 236 237 power-button { 238 label = "Power button"; 239 gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>; 240 linux,code = <KEY_POWER>; 241 }; 242 }; 243 244 touch-lock-key { 245 compatible = "gpio-keys"; 246 247 touch-lock-button { 248 label = "Touch lock button"; 249 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; 250 linux,code = <KEY_F12>; 251 }; 252 }; 253 254 usbphy2: usbphy-2 { 255 compatible = "usb-nop-xceiv"; 256 vcc-supply = <®_3v3>; 257 reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>; 258 clock-names = "main_clk"; 259 clock-frequency = <24000000>; 260 clocks = <&clks IMX5_CLK_CKO2>; 261 assigned-clocks = <&clks IMX5_CLK_CKO2_SEL>, <&clks IMX5_CLK_OSC>; 262 assigned-clock-parents = <&clks IMX5_CLK_OSC>; 263 }; 264 265 usbphy3: usbphy-3 { 266 compatible = "usb-nop-xceiv"; 267 vcc-supply = <®_3v3>; 268 reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; 269 clock-names = "main_clk"; 270 271 clock-frequency = <24000000>; 272 clocks = <&clks IMX5_CLK_CKO2>; 273 assigned-clocks = <&clks IMX5_CLK_CKO2_SEL>, <&clks IMX5_CLK_OSC>; 274 assigned-clock-parents = <&clks IMX5_CLK_OSC>; 275 }; 276 277 panel-lvds0 { 278 compatible = "nvd,9128"; 279 power-supply = <®_3v3_lcd>; 280 281 port { 282 panel_in_lvds0: endpoint { 283 remote-endpoint = <&lvds0_out>; 284 }; 285 }; 286 }; 287}; 288 289&usbphy0 { 290 vcc-supply = <®_3v3>; 291}; 292 293&usbphy1 { 294 vcc-supply = <®_3v3>; 295}; 296 297&audmux { 298 pinctrl-names = "default"; 299 pinctrl-0 = <&pinctrl_audmux>; 300 status = "okay"; 301}; 302 303&cpu0 { 304 /* CPU rated to 1GHz, not 1.2GHz as per the default settings */ 305 operating-points = < 306 /* kHz uV */ 307 166666 850000 308 400000 900000 309 800000 1050000 310 1000000 1200000 311 >; 312}; 313 314&ecspi1 { 315 pinctrl-names = "default"; 316 pinctrl-0 = <&pinctrl_ecspi1>; 317 cs-gpios = <&gpio5 17 GPIO_ACTIVE_LOW 318 &gpio4 10 GPIO_ACTIVE_LOW 319 &gpio4 11 GPIO_ACTIVE_LOW 320 &gpio4 12 GPIO_ACTIVE_LOW>; 321 status = "okay"; 322 323 spidev0: spi@1 { 324 compatible = "ge,achc", "nxp,kinetis-k20"; 325 reg = <1>, <0>; 326 vdd-supply = <®_3v3>; 327 vdda-supply = <®_3v3>; 328 clocks = <&achc_24M>; 329 reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; 330 }; 331 332 gpioxra0: gpio@2 { 333 compatible = "exar,xra1403"; 334 reg = <2>; 335 gpio-controller; 336 #gpio-cells = <2>; 337 spi-max-frequency = <1000000>; 338 }; 339 340 gpioxra1: gpio@3 { 341 compatible = "exar,xra1403"; 342 reg = <3>; 343 gpio-controller; 344 #gpio-cells = <2>; 345 spi-max-frequency = <1000000>; 346 }; 347}; 348 349&ecspi2 { 350 pinctrl-names = "default"; 351 pinctrl-0 = <&pinctrl_ecspi2>; 352 cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 353 status = "okay"; 354 355 da9053@0 { 356 compatible = "dlg,da9053-aa"; 357 reg = <0>; 358 interrupt-parent = <&gpio3>; 359 interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 360 spi-max-frequency = <1000000>; 361 dlg,tsi-as-adc; 362 tsiref-supply = <®_tsiref>; 363 364 regulators { 365 buck1_reg: buck1 { 366 regulator-name = "BUCKCORE"; 367 regulator-min-microvolt = <500000>; 368 regulator-max-microvolt = <2075000>; 369 regulator-always-on; 370 }; 371 372 buck2_reg: buck2 { 373 regulator-name = "BUCKPRO"; 374 regulator-min-microvolt = <500000>; 375 regulator-max-microvolt = <2075000>; 376 regulator-always-on; 377 }; 378 379 buck3_reg: buck3 { 380 regulator-name = "BUCKMEM"; 381 regulator-min-microvolt = <925000>; 382 regulator-max-microvolt = <2500000>; 383 regulator-always-on; 384 }; 385 386 buck4_reg: buck4 { 387 regulator-name = "BUCKPERI"; 388 regulator-min-microvolt = <1800000>; 389 regulator-max-microvolt = <3600000>; 390 regulator-always-on; 391 }; 392 393 ldo1_reg: ldo1 { 394 regulator-name = "ldo1_1v3"; 395 regulator-min-microvolt = <600000>; 396 regulator-max-microvolt = <1800000>; 397 regulator-always-on; 398 }; 399 400 ldo2_reg: ldo2 { 401 regulator-name = "ldo2_1v3"; 402 regulator-min-microvolt = <600000>; 403 regulator-max-microvolt = <1800000>; 404 regulator-always-on; 405 }; 406 407 ldo3_reg: ldo3 { 408 regulator-name = "ldo3_3v3"; 409 regulator-min-microvolt = <1725000>; 410 regulator-max-microvolt = <3300000>; 411 regulator-always-on; 412 }; 413 414 ldo4_reg: ldo4 { 415 regulator-name = "ldo4_2v775"; 416 regulator-min-microvolt = <1725000>; 417 regulator-max-microvolt = <3300000>; 418 regulator-always-on; 419 }; 420 421 ldo5_reg: ldo5 { 422 regulator-name = "ldo5_3v3"; 423 regulator-min-microvolt = <1200000>; 424 regulator-max-microvolt = <3600000>; 425 regulator-always-on; 426 }; 427 428 ldo6_reg: ldo6 { 429 regulator-name = "ldo6_1v3"; 430 regulator-min-microvolt = <1200000>; 431 regulator-max-microvolt = <3600000>; 432 regulator-always-on; 433 }; 434 435 ldo7_reg: ldo7 { 436 regulator-name = "ldo7_2v75"; 437 regulator-min-microvolt = <1200000>; 438 regulator-max-microvolt = <3600000>; 439 regulator-always-on; 440 }; 441 442 ldo8_reg: ldo8 { 443 regulator-name = "ldo8_1v8"; 444 regulator-min-microvolt = <1200000>; 445 regulator-max-microvolt = <3600000>; 446 regulator-always-on; 447 }; 448 449 ldo9_reg: ldo9 { 450 regulator-name = "ldo9_1v5"; 451 regulator-min-microvolt = <1250000>; 452 regulator-max-microvolt = <3650000>; 453 regulator-always-on; 454 }; 455 456 ldo10_reg: ldo10 { 457 regulator-name = "ldo10_1v3"; 458 regulator-min-microvolt = <1200000>; 459 regulator-max-microvolt = <3600000>; 460 regulator-always-on; 461 }; 462 }; 463 }; 464 465}; 466 467&esdhc3 { 468 pinctrl-names = "default"; 469 pinctrl-0 = <&pinctrl_esdhc3>; 470 bus-width = <8>; 471 status = "okay"; 472}; 473 474&fec { 475 pinctrl-names = "default"; 476 pinctrl-0 = <&pinctrl_fec>; 477 phy-supply = <®_3v3>; 478 phy-mode = "rmii"; 479 phy-reset-gpios = <&gpio2 16 GPIO_ACTIVE_LOW>; 480 status = "okay"; 481}; 482 483&i2c1 { 484 pinctrl-names = "default", "gpio"; 485 pinctrl-0 = <&pinctrl_i2c1>; 486 pinctrl-1 = <&pinctrl_i2c1_gpio>; 487 sda-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>; 488 scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 489 status = "okay"; 490 491 i2c-mux@70 { 492 compatible = "nxp,pca9547"; 493 #address-cells = <1>; 494 #size-cells = <0>; 495 reg = <0x70>; 496 reset-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>; 497 498 i2c4: i2c@0 { 499 #address-cells = <1>; 500 #size-cells = <0>; 501 reg = <0>; 502 503 sgtl5000: codec@a { 504 compatible = "fsl,sgtl5000"; 505 reg = <0xa>; 506 #sound-dai-cells = <0>; 507 VDDA-supply = <®_sgtl5k>; 508 VDDIO-supply = <®_sgtl5k>; 509 clocks = <&cko2_11M>; 510 status = "okay"; 511 }; 512 }; 513 514 i2c5: i2c@1 { 515 #address-cells = <1>; 516 #size-cells = <0>; 517 reg = <1>; 518 519 rtc@30 { 520 compatible = "sii,s35390a"; 521 reg = <0x30>; 522 }; 523 524 temp@48 { 525 compatible = "ti,tmp112"; 526 reg = <0x48>; 527 }; 528 529 mma8453q: accelerometer@1c { 530 compatible = "fsl,mma8453"; 531 reg = <0x1c>; 532 interrupt-parent = <&gpio1>; 533 interrupts = <6 IRQ_TYPE_NONE>; 534 interrupt-names = "INT1"; 535 }; 536 537 mpl3115: pressure-sensor@60 { 538 compatible = "fsl,mpl3115"; 539 reg = <0x60>; 540 }; 541 542 eeprom: eeprom@50 { 543 compatible = "atmel,24c08"; 544 reg = <0x50>; 545 }; 546 }; 547 548 i2c6: i2c@2 { 549 #address-cells = <1>; 550 #size-cells = <0>; 551 reg = <2>; 552 }; 553 554 i2c7: i2c@3 { 555 #address-cells = <1>; 556 #size-cells = <0>; 557 reg = <3>; 558 }; 559 560 i2c8: i2c@4 { 561 #address-cells = <1>; 562 #size-cells = <0>; 563 reg = <4>; 564 }; 565 566 i2c9: i2c@5 { 567 #address-cells = <1>; 568 #size-cells = <0>; 569 reg = <5>; 570 }; 571 572 i2c10: i2c@6 { 573 #address-cells = <1>; 574 #size-cells = <0>; 575 reg = <6>; 576 }; 577 578 i2c11: i2c@7 { 579 #address-cells = <1>; 580 #size-cells = <0>; 581 reg = <7>; 582 }; 583 }; 584}; 585 586&i2c2 { 587 pinctrl-names = "default", "gpio"; 588 pinctrl-0 = <&pinctrl_i2c2>; 589 pinctrl-1 = <&pinctrl_i2c2_gpio>; 590 sda-gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; 591 scl-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>; 592 status = "okay"; 593 594 touchscreen@4b { 595 compatible = "atmel,maxtouch"; 596 reset-gpio = <&gpio5 19 GPIO_ACTIVE_LOW>; 597 reg = <0x4b>; 598 interrupt-parent = <&gpio5>; 599 interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 600 }; 601}; 602 603&i2c3 { 604 pinctrl-names = "default", "gpio"; 605 pinctrl-0 = <&pinctrl_i2c3>; 606 pinctrl-1 = <&pinctrl_i2c3_gpio>; 607 sda-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; 608 scl-gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; 609 status = "okay"; 610}; 611 612&ldb { 613 status = "okay"; 614 615 lvds0: lvds-channel@0 { 616 status = "okay"; 617 618 port@2 { 619 lvds0_out: endpoint { 620 remote-endpoint = <&panel_in_lvds0>; 621 }; 622 }; 623 }; 624}; 625 626&pmu { 627 secure-reg-access; 628}; 629 630&pwm1 { 631 #pwm-cells = <2>; 632 pinctrl-names = "default"; 633 pinctrl-0 = <&pinctrl_pwm1>; 634 status = "okay"; 635}; 636 637&pwm2 { 638 #pwm-cells = <2>; 639 pinctrl-names = "default"; 640 pinctrl-0 = <&pinctrl_pwm2>; 641 status = "okay"; 642}; 643 644&ssi2 { 645 status = "okay"; 646}; 647 648&uart1 { 649 pinctrl-names = "default"; 650 pinctrl-0 = <&pinctrl_uart1>; 651 status = "okay"; 652}; 653 654&uart2 { 655 pinctrl-names = "default"; 656 pinctrl-0 = <&pinctrl_uart2>; 657 fsl,dma-info = <24 20>; 658 status = "okay"; 659}; 660 661&uart3 { 662 pinctrl-names = "default"; 663 pinctrl-0 = <&pinctrl_uart3>; 664 uart-has-rtscts; 665 status = "okay"; 666}; 667 668&uart4 { 669 pinctrl-names = "default"; 670 pinctrl-0 = <&pinctrl_uart4>; 671 status = "okay"; 672}; 673 674&uart5 { 675 pinctrl-names = "default"; 676 pinctrl-0 = <&pinctrl_uart5>; 677 fsl,dma-info = <4096 4>; 678 status = "okay"; 679}; 680 681&usbotg { 682 dr_mode = "otg"; 683 phy_type = "utmi"; 684 vbus-supply = <®_usb_otg_vbus>; 685 pinctrl-0 = <&pinctrl_usb_otg>; 686 status = "okay"; 687}; 688 689&usbh1 { 690 vbus-supply = <®_usb_vbus>; 691 phy_type = "utmi"; 692 dr_mode = "host"; 693 status = "okay"; 694}; 695 696&usbh2 { 697 pinctrl-names = "default"; 698 pinctrl-0 = <&pinctrl_usbh2>; 699 phy_type = "ulpi"; 700 dr_mode = "host"; 701 fsl,usbphy = <&usbphy2>; 702 vbus-supply = <®_usbh2_vbus>; 703 status = "okay"; 704}; 705 706&usbh3 { 707 pinctrl-names = "default"; 708 pinctrl-0 = <&pinctrl_usbh3>; 709 phy_type = "ulpi"; 710 dr_mode = "host"; 711 vbus-supply = <®_usbh3_vbus>; 712 fsl,usbphy = <&usbphy3>; 713 status = "okay"; 714}; 715 716&iomuxc { 717 pinctrl-names = "default"; 718 pinctrl-0 = <&pinctrl_hog_rev6>; 719 720 pinctrl_audmux: audmuxgrp { 721 fsl,pins = < 722 MX53_PAD_DISP0_DAT19__AUDMUX_AUD5_RXD 0x400 723 MX53_PAD_DISP0_DAT17__AUDMUX_AUD5_TXD 0x400 724 MX53_PAD_DISP0_DAT16__AUDMUX_AUD5_TXC 0x400 725 MX53_PAD_DISP0_DAT18__AUDMUX_AUD5_TXFS 0x400 726 MX53_PAD_DI0_PIN15__AUDMUX_AUD6_TXC 0x400 727 MX53_PAD_DI0_PIN3__AUDMUX_AUD6_TXFS 0x400 728 MX53_PAD_DI0_PIN4__AUDMUX_AUD6_RXD 0x400 729 MX53_PAD_DI0_PIN2__AUDMUX_AUD6_TXD 0x400 730 >; 731 }; 732 733 pinctrl_ecspi1: ecspi1grp { 734 fsl,pins = < 735 MX53_PAD_DISP0_DAT21__ECSPI1_MOSI 0x400 736 MX53_PAD_DISP0_DAT22__ECSPI1_MISO 0x400 737 MX53_PAD_DISP0_DAT20__ECSPI1_SCLK 0x400 738 /* ECSPI1_SS0, must treat as GPIO for EzPort */ 739 MX53_PAD_DISP0_DAT23__GPIO5_17 0x400 740 MX53_PAD_KEY_COL2__GPIO4_10 0x0 741 MX53_PAD_KEY_ROW2__GPIO4_11 0x0 742 MX53_PAD_KEY_COL3__GPIO4_12 0x0 743 >; 744 }; 745 746 pinctrl_ecspi2: ecspi2grp { 747 fsl,pins = < 748 MX53_PAD_EIM_CS1__ECSPI2_MOSI 0x0 749 MX53_PAD_EIM_OE__ECSPI2_MISO 0x0 750 MX53_PAD_EIM_CS0__ECSPI2_SCLK 0x0 751 MX53_PAD_EIM_RW__GPIO2_26 0x0 752 >; 753 }; 754 755 pinctrl_esdhc1: esdhc1grp { 756 fsl,pins = < 757 MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 758 MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 759 MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 760 MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 761 MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 762 MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 763 >; 764 }; 765 766 pinctrl_esdhc3: esdhc3grp { 767 fsl,pins = < 768 MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5 769 MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5 770 MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5 771 MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5 772 MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5 773 MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5 774 MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5 775 MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5 776 MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5 777 MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5 778 >; 779 }; 780 781 pinctrl_fec: fecgrp { 782 fsl,pins = < 783 MX53_PAD_FEC_MDC__FEC_MDC 0x0 784 MX53_PAD_FEC_MDIO__FEC_MDIO 0x0 785 MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x0 786 MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x0 787 MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x0 788 MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x0 789 MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x0 790 MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x0 791 MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x0 792 MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x0 793 >; 794 }; 795 796 pinctrl_hog_rev6: hoggrp { 797 fsl,pins = < 798 /* CKO2 */ 799 MX53_PAD_GPIO_3__CCM_CLKO2 0x4 800 /* DEFIB_SYNC_MARKER_IN_IRQ */ 801 MX53_PAD_GPIO_5__GPIO1_5 0x0 802 /* ACCELEROMETER_DATA_RDY_N */ 803 MX53_PAD_GPIO_6__GPIO1_6 0x0 804 /* TEMPERATURE_ALERT_N */ 805 MX53_PAD_GPIO_7__GPIO1_7 0x0 806 /* BAROMETRIC_PRESSURE_DATA_RDY_N */ 807 MX53_PAD_GPIO_8__GPIO1_8 0x0 808 /* DOCKING_I2C_INTERFACE_IRQ_N */ 809 MX53_PAD_PATA_DATA4__GPIO2_4 0x0 810 /* PWR_OUT_TO_DOCK_FAULT_N */ 811 MX53_PAD_PATA_DATA5__GPIO2_5 0x0 812 /* ENABLE_PWR_TO_DOCK_N */ 813 MX53_PAD_PATA_DATA6__GPIO2_6 0x0 814 /* HOST_CONTROLLED_RESET_TO_DOCKING_CONNECTOR_N */ 815 MX53_PAD_PATA_DATA7__GPIO2_7 0x0 816 /* REMOTE_ON_REQUEST_FROM_DOCKING_CONNECTOR_IS_ACTIVE_N */ 817 MX53_PAD_PATA_DATA12__GPIO2_12 0x0 818 /* DOCK_PRESENT_N */ 819 MX53_PAD_PATA_DATA13__GPIO2_13 0x0 820 /* ECG_MARKER_IN_FROM_DOCKING_CONNECTOR_IRQ */ 821 MX53_PAD_PATA_DATA14__GPIO2_14 0x0 822 /* ENABLE_ECG_MARKER_INTERFACE_TO_DOCKING_CONNECTOR */ 823 MX53_PAD_PATA_DATA15__GPIO2_15 0x0 824 /* RESET_IMX535_ETHERNET_PHY_N */ 825 MX53_PAD_EIM_A22__GPIO2_16 0x0 826 /* ENABLE_PWR_TO_LCD_AND_UI_INTERFACE */ 827 MX53_PAD_EIM_A21__GPIO2_17 0x0 828 /* RESET_I2C1_BUS_SEGMENT_MUX_N */ 829 MX53_PAD_EIM_A20__GPIO2_18 0x0 830 /* RESET_IMX535_USB_HOST3_PHY_N */ 831 MX53_PAD_EIM_A19__GPIO2_19 0x0 832 /* ESDHC3_EMMC_NAND_RST_N */ 833 MX53_PAD_EIM_A18__GPIO2_20 0x0 834 /* LCD_AND_UI_INTERFACE_PWR_FAULT_N */ 835 MX53_PAD_EIM_A17__GPIO2_21 0x0 836 /* POWER_DOWN_LVDS0_DESERIALIZER_N */ 837 MX53_PAD_EIM_A16__GPIO2_22 0x0 838 /* POWER_DOWN_LVDS1_DESERIALIZER_N */ 839 MX53_PAD_EIM_LBA__GPIO2_27 0x0 840 /* RESET_DP0_TRANSMITTER_N */ 841 MX53_PAD_EIM_EB0__GPIO2_28 0x0 842 /* RESET_DP1_TRANSMITTER_N */ 843 MX53_PAD_EIM_EB1__GPIO2_29 0x0 844 /* ENABLE_SPDIF_AUDIO_TO_DP0 */ 845 MX53_PAD_EIM_DA0__GPIO3_0 0x0 846 /* ENABLE_SPDIF_AUDIO_TO_DP1 */ 847 MX53_PAD_EIM_DA1__GPIO3_1 0x0 848 /* LVDS1_MUX_CTRL */ 849 MX53_PAD_EIM_DA2__GPIO3_2 0x0 850 /* LVDS0_MUX_CTRL */ 851 MX53_PAD_EIM_DA3__GPIO3_3 0x0 852 /* DP1_TRANSMITTER_IRQ */ 853 MX53_PAD_EIM_DA4__GPIO3_4 0x0 854 /* DP0_TRANSMITTER_IRQ */ 855 MX53_PAD_EIM_DA5__GPIO3_5 0x0 856 /* USB_RESET_N */ 857 MX53_PAD_EIM_DA6__GPIO3_6 0x0 858 /* ENABLE_BATTERY_CHARGER */ 859 MX53_PAD_EIM_DA7__GPIO3_7 0x0 860 /* SOFTWARE_CONTROLLED_PWR_CYCLE */ 861 MX53_PAD_EIM_DA8__GPIO3_8 0x0 862 /* SOFTWARE_CONTROLLED_POWERDOWN */ 863 MX53_PAD_EIM_DA9__GPIO3_9 0x0 864 /* DC_PWR_IN_OK */ 865 MX53_PAD_EIM_DA10__GPIO3_10 0x0 866 /* BATT_PRESENT_N */ 867 MX53_PAD_EIM_DA11__GPIO3_11 0xe4 868 /* PMIC_IRQ_N */ 869 MX53_PAD_EIM_DA12__GPIO3_12 0x0 870 /* PMIC_VDD_FAULT_STATUS_N */ 871 MX53_PAD_EIM_DA13__GPIO3_13 0x0 872 /* IMX535_ETHERNET_PHY_STATUS_IRQ_N */ 873 MX53_PAD_EIM_DA14__GPIO3_14 0x0 874 /* NOT USED - AVAILABLE 3.3V GPIO */ 875 MX53_PAD_EIM_DA15__GPIO3_15 0x0 876 /* NOT USED - AVAILABLE 3.3V GPIO */ 877 MX53_PAD_EIM_D22__GPIO3_22 0x0 878 /* NOT USED - AVAILABLE 3.3V GPIO */ 879 MX53_PAD_EIM_D24__GPIO3_24 0x0 880 /* NBP_PUMP_VALVE_PWR_ENABLE */ 881 MX53_PAD_EIM_D25__GPIO3_25 0x0 882 /* NIBP_RESET_N */ 883 MX53_PAD_EIM_D26__GPIO3_26 0x0 884 /* LATCHED_OVERPRESSURE_N */ 885 MX53_PAD_EIM_D27__GPIO3_27 0x0 886 /* NBP_SBWTCLK */ 887 MX53_PAD_EIM_D29__GPIO3_29 0x0 888 /* ENABLE_WIFI_MODULE */ 889 MX53_PAD_GPIO_11__GPIO4_1 0x400 890 /* WIFI_MODULE_IRQ_N */ 891 MX53_PAD_GPIO_12__GPIO4_2 0x400 892 /* ENABLE_BLUETOOTH_MODULE */ 893 MX53_PAD_GPIO_13__GPIO4_3 0x400 894 /* RESET_IMX535_USB_HOST2_PHY_N */ 895 MX53_PAD_GPIO_14__GPIO4_4 0x400 896 /* ONKEY_IS_DEPRESSED */ 897 MX53_PAD_KEY_ROW3__GPIO4_13 0x0 898 /* UNUSED_GPIO_TO_ALARM_LIGHT_BOARD */ 899 MX53_PAD_EIM_WAIT__GPIO5_0 0x0 900 /* DISPLAY_LOCK_BUTTON_IS_DEPRESSED_N */ 901 MX53_PAD_EIM_A25__GPIO5_2 0x0 902 /* I2C_PCAP_TOUCHSCREEN_IRQ_N */ 903 MX53_PAD_EIM_A24__GPIO5_4 0x0 904 /* NOT USED - AVAILABLE 1.8V GPIO */ 905 MX53_PAD_DISP0_DAT13__GPIO5_7 0x400 906 /* NOT USED - AVAILABLE 1.8V GPIO */ 907 MX53_PAD_DISP0_DAT14__GPIO5_8 0x400 908 /* NOT USED - AVAILABLE 1.8V GPIO */ 909 MX53_PAD_DISP0_DAT15__GPIO5_9 0x400 910 /* HOST_CONTROLLED_RESET_TO_LCD_N */ 911 MX53_PAD_CSI0_PIXCLK__GPIO5_18 0x0 912 /* HOST_CONTROLLED_RESET_TO_PCAP_N */ 913 MX53_PAD_CSI0_MCLK__GPIO5_19 0x0 914 /* LR_SCAN_CTRL */ 915 MX53_PAD_CSI0_DATA_EN__GPIO5_20 0x0 916 /* UD_SCAN_CTRL */ 917 MX53_PAD_CSI0_VSYNC__GPIO5_21 0x0 918 /* DATA_WIDTH_CTRL */ 919 MX53_PAD_CSI0_DAT10__GPIO5_28 0x0 920 /* BACKLIGHT_ENABLE */ 921 MX53_PAD_CSI0_DAT11__GPIO5_29 0x0 922 /* MED_USB_PORT_1_HOST_SELECT */ 923 MX53_PAD_EIM_A23__GPIO6_6 0x0 924 /* MED_USB_PORT_2_HOST_SELECT */ 925 MX53_PAD_NANDF_CLE__GPIO6_7 0x0 926 /* MED_USB_PORT_3_HOST_SELECT */ 927 MX53_PAD_NANDF_ALE__GPIO6_8 0x0 928 /* MED_USB_PORT_4_HOST_SELECT */ 929 MX53_PAD_NANDF_WP_B__GPIO6_9 0x0 930 /* MED_USB_PORT_5_HOST_SELECT */ 931 MX53_PAD_NANDF_RB0__GPIO6_10 0x0 932 /* MED_USB_PORT_6_HOST_SELECT */ 933 MX53_PAD_NANDF_CS0__GPIO6_11 0x0 934 /* MED_USB_PORT_7_HOST_SELECT */ 935 MX53_PAD_NANDF_WE_B__GPIO6_12 0x0 936 /* MED_USB_PORT_8_HOST_SELECT */ 937 MX53_PAD_NANDF_RE_B__GPIO6_13 0x0 938 /* MED_USB_PORT_TO_IMX_SELECT_0 */ 939 MX53_PAD_NANDF_CS1__GPIO6_14 0x0 940 /* MED_USB_PORT_TO_IMX_SELECT_1 */ 941 MX53_PAD_NANDF_CS2__GPIO6_15 0x0 942 /* MED_USB_PORT_TO_IMX_SELECT_2 */ 943 MX53_PAD_NANDF_CS3__GPIO6_16 0x0 944 /* POWER_AND_BOOT_STATUS_INDICATOR */ 945 MX53_PAD_PATA_INTRQ__GPIO7_2 0x1e4 946 /* RUNNING_ON_BATTERY_INDICATOR_GREEN */ 947 MX53_PAD_GPIO_16__GPIO7_11 0x0 948 /* BATTERY_STATUS_INDICATOR_AMBER */ 949 MX53_PAD_GPIO_17__GPIO7_12 0x0 950 >; 951 }; 952 953 pinctrl_i2c1: i2c1grp { 954 fsl,pins = < 955 MX53_PAD_EIM_D21__I2C1_SCL 0x400001e4 956 MX53_PAD_EIM_D28__I2C1_SDA 0x400001e4 957 >; 958 }; 959 960 pinctrl_i2c1_gpio: i2c1gpiogrp { 961 fsl,pins = < 962 MX53_PAD_EIM_D28__GPIO3_28 0x1e4 963 MX53_PAD_EIM_D21__GPIO3_21 0x1e4 964 >; 965 }; 966 967 pinctrl_i2c2: i2c2grp { 968 fsl,pins = < 969 MX53_PAD_EIM_EB2__I2C2_SCL 0x400001e4 970 MX53_PAD_EIM_D16__I2C2_SDA 0x400001e4 971 >; 972 }; 973 974 pinctrl_i2c2_gpio: i2c2gpiogrp { 975 fsl,pins = < 976 MX53_PAD_EIM_D16__GPIO3_16 0x1e4 977 MX53_PAD_EIM_EB2__GPIO2_30 0x1e4 978 >; 979 }; 980 981 pinctrl_i2c3: i2c3grp { 982 fsl,pins = < 983 MX53_PAD_EIM_D17__I2C3_SCL 0x400001e4 984 MX53_PAD_EIM_D18__I2C3_SDA 0x400001e4 985 >; 986 }; 987 988 pinctrl_i2c3_gpio: i2c3gpiogrp { 989 fsl,pins = < 990 MX53_PAD_EIM_D18__GPIO3_18 0x1e4 991 MX53_PAD_EIM_D17__GPIO3_17 0x1e4 992 >; 993 }; 994 995 pinctrl_pwm1: pwm1grp { 996 fsl,pins = < 997 MX53_PAD_GPIO_9__PWM1_PWMO 0x5 998 >; 999 }; 1000 1001 pinctrl_pwm2: pwm2grp { 1002 fsl,pins = < 1003 MX53_PAD_DISP0_DAT9__PWM2_PWMO 0x5 1004 >; 1005 }; 1006 1007 pinctrl_uart1: uart1grp { 1008 fsl,pins = < 1009 MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4 1010 MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4 1011 >; 1012 }; 1013 1014 pinctrl_uart2: uart2grp { 1015 fsl,pins = < 1016 MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4 1017 MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4 1018 >; 1019 }; 1020 1021 pinctrl_uart3: uart3grp { 1022 fsl,pins = < 1023 MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4 1024 MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 1025 MX53_PAD_EIM_D23__UART3_CTS 0x1e4 1026 MX53_PAD_EIM_EB3__UART3_RTS 0x1e4 1027 >; 1028 }; 1029 1030 pinctrl_uart4: uart4grp { 1031 fsl,pins = < 1032 MX53_PAD_KEY_COL0__UART4_TXD_MUX 0x1e4 1033 MX53_PAD_KEY_ROW0__UART4_RXD_MUX 0x1e4 1034 >; 1035 }; 1036 1037 pinctrl_uart5: uart5grp { 1038 fsl,pins = < 1039 MX53_PAD_KEY_COL1__UART5_TXD_MUX 0x1e4 1040 MX53_PAD_KEY_ROW1__UART5_RXD_MUX 0x1e4 1041 >; 1042 }; 1043 1044 pinctrl_usb_otg_vbus: usb-otg-vbusgrp { 1045 fsl,pins = < 1046 /* USB_HS_OTG_VBUS_ENABLE */ 1047 MX53_PAD_KEY_ROW4__GPIO4_15 0x1c4 1048 >; 1049 }; 1050 1051 pinctrl_usbh2: usbh2grp { 1052 fsl,pins = < 1053 /* USB H2 */ 1054 MX53_PAD_DISP0_DAT0__USBOH3_USBH2_DATA_0 0x180 1055 MX53_PAD_DISP0_DAT1__USBOH3_USBH2_DATA_1 0x180 1056 MX53_PAD_DISP0_DAT2__USBOH3_USBH2_DATA_2 0x180 1057 MX53_PAD_DISP0_DAT3__USBOH3_USBH2_DATA_3 0x180 1058 MX53_PAD_DISP0_DAT4__USBOH3_USBH2_DATA_4 0x180 1059 MX53_PAD_DISP0_DAT5__USBOH3_USBH2_DATA_5 0x180 1060 MX53_PAD_DISP0_DAT6__USBOH3_USBH2_DATA_6 0x180 1061 MX53_PAD_DISP0_DAT7__USBOH3_USBH2_DATA_7 0x180 1062 MX53_PAD_DISP0_DAT10__USBOH3_USBH2_STP 0x180 1063 MX53_PAD_DISP0_DAT11__USBOH3_USBH2_NXT 0x180 1064 MX53_PAD_DISP0_DAT12__USBOH3_USBH2_CLK 0x180 1065 MX53_PAD_DI0_DISP_CLK__USBOH3_USBH2_DIR 0x5 1066 MX53_PAD_EIM_D30__USBOH3_USBH2_OC 0x180 1067 >; 1068 }; 1069 1070 pinctrl_usbh2_vbus: usbh2-vbusgrp { 1071 fsl,pins = < 1072 /* USB_HS_HOST2_VBUS_ENABLE */ 1073 MX53_PAD_EIM_D31__GPIO3_31 0x0 1074 >; 1075 }; 1076 1077 pinctrl_usbh3_vbus: usbh3-vbusgrp { 1078 fsl,pins = < 1079 /* USB_HS_HOST3_VBUS_ENABLE */ 1080 MX53_PAD_CSI0_DAT9__GPIO5_27 0x0 1081 >; 1082 }; 1083 1084 pinctrl_usbh3: usbh3grp { 1085 fsl,pins = < 1086 /* USB H3 */ 1087 MX53_PAD_CSI0_DAT12__USBOH3_USBH3_DATA_0 0x180 1088 MX53_PAD_CSI0_DAT13__USBOH3_USBH3_DATA_1 0x180 1089 MX53_PAD_CSI0_DAT14__USBOH3_USBH3_DATA_2 0x180 1090 MX53_PAD_CSI0_DAT15__USBOH3_USBH3_DATA_3 0x180 1091 MX53_PAD_CSI0_DAT16__USBOH3_USBH3_DATA_4 0x180 1092 MX53_PAD_CSI0_DAT17__USBOH3_USBH3_DATA_5 0x180 1093 MX53_PAD_CSI0_DAT18__USBOH3_USBH3_DATA_6 0x180 1094 MX53_PAD_CSI0_DAT19__USBOH3_USBH3_DATA_7 0x180 1095 MX53_PAD_CSI0_DAT7__USBOH3_USBH3_DIR 0x5 1096 MX53_PAD_CSI0_DAT6__USBOH3_USBH3_CLK 0x180 1097 MX53_PAD_CSI0_DAT5__USBOH3_USBH3_NXT 0x180 1098 MX53_PAD_CSI0_DAT4__USBOH3_USBH3_STP 0x180 1099 MX53_PAD_CSI0_DAT8__USBOH3_USBH3_OC 0x180 1100 >; 1101 }; 1102 1103 pinctrl_usb_otg: usbotggrp { 1104 fsl,pins = < 1105 /* USB_OTG_FAULT_N */ 1106 MX53_PAD_KEY_COL4__USBOH3_USBOTG_OC 0x180 1107 >; 1108 }; 1109 1110 pinctrl_alarmled_pins: qmx6alarmledgrp { 1111 fsl,pins = < 1112 /* ACTIVATE_ALARM_LIGHT_RED */ 1113 MX53_PAD_PATA_DIOR__GPIO7_3 0x0 1114 /* ACTIVATE_ALARM_LIGHT_YELLOW */ 1115 MX53_PAD_PATA_DA_1__GPIO7_7 0x0 1116 /* ACTIVATE_ALARM_LIGHT_CYAN */ 1117 MX53_PAD_PATA_DA_2__GPIO7_8 0x0 1118 /* AUDIO_ALARMS_SILENCED_INDICATOR */ 1119 MX53_PAD_GPIO_18__GPIO7_13 0x0 1120 >; 1121 }; 1122}; 1123