Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (C) 2021 PHYTEC Messtechnik GmbH * Author: Alexander Bauer <a.bauer@phytec.de> */ /dts-v1/; #include "imx6ull.dtsi" #include "imx6ull-phytec-phycore-som.dtsi" / { model = "PHYTEC phyGate-Tauri i.MX6 UltraLite"; compatible = "phytec,imx6ull-phygate-tauri", "phytec,imx6ull-pcl063", "fsl,imx6ull"; aliases { rtc0 = &i2c_rtc; rtc1 = &snvs_rtc; }; gpio_keys: gpio-keys { compatible = "gpio-key"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_keys>; key { label = "KEY-A"; gpios = <&gpio1 18 GPIO_ACTIVE_LOW>; linux,code = <KEY_A>; wakeup-source; }; }; reg_adc1_vref_3v3: regulator-vref-3v3 { compatible = "regulator-fixed"; regulator-name = "vref-3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; reg_s25fl064_hold: regulator-s25fl064-hold { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_s25fl064_hold>; compatible = "regulator-fixed"; regulator-name = "s25fl064_hold"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio3 17 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; }; reg_usb_hub_vbus: regulator-hub-otg1-vbus { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbhubpwr>; compatible = "regulator-fixed"; regulator-name = "usb_hub_vbus"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; }; reg_usb_otg1_vbus: regulator-usb-otg1-vbus { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbotg1pwr>; compatible = "regulator-fixed"; regulator-name = "usb_otg1_vbus"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; }; user_leds: user-leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_user_leds>, <&pinctrl_user_leds_snvs>; user-led1 { label = "yellow"; gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; linux,default-trigger = "off"; }; user-led2 { label = "red"; gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; linux,default-trigger = "off"; }; }; }; &can1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>; status = "okay"; }; &can2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan2>; status = "okay"; }; &ecspi1 { #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi1>, <&pinctrl_ecspi1_cs>; cs-gpios = <&gpio3 26 GPIO_ACTIVE_LOW>, <&gpio3 10 GPIO_ACTIVE_LOW>, <&gpio3 11 GPIO_ACTIVE_LOW>; status = "okay"; tpm_tis: tpm@1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tpm>; compatible = "tcg,tpm_tis-spi"; reg = <1>; spi-max-frequency = <20000000>; interrupt-parent = <&gpio5>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; }; s25fl064: flash@2 { #address-cells = <1>; #size-cells = <1>; compatible = " jedec,spi-nor"; reg = <2>; spi-max-frequency = <40000000>; m25p,fast-read; status = "disabled"; }; }; &ecspi3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi3>; cs-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; dmas = <&sdma 7 8 0>, <&sdma 8 8 0>; dma-names = "rx", "tx"; status = "okay"; }; ðphy1 { status = "okay"; }; &fec1 { status = "okay"; }; &fec2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet2>; phy-mode = "rmii"; phy-handle = <ðphy2>; status = "okay"; }; &i2c1 { status = "okay"; tmp102: tmp@49 { compatible = "ti,tmp102"; reg = <0x49>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tempsense>; interrupt-parent = <&gpio5>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; #thermal-sensor-cells = <1>; }; i2c_rtc: rtc@68 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rtc_int>; compatible = "microcrystal,rv4162"; reg = <0x68>; interrupt-parent = <&gpio5>; interrupts = <1 IRQ_TYPE_LEVEL_LOW>; }; }; &i2c2 { pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c2>; pinctrl-1 = <&pinctrl_i2c2_gpio>; sda-gpios = <&gpio1 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; scl-gpios = <&gpio1 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; }; &i2c3 { pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c3>; pinctrl-1 = <&pinctrl_i2c3_gpio>; sda-gpios = <&gpio3 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; scl-gpios = <&gpio3 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; }; &i2c4 { pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c4>; pinctrl-1 = <&pinctrl_i2c4_gpio>; sda-gpios = <&gpio3 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; scl-gpios = <&gpio3 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; }; &mdio { ethphy2: ethernet-phy@2 { reg = <2>; micrel,led-mode = <1>; clocks = <&clks IMX6UL_CLK_ENET2_REF>; clock-names = "rmii-ref"; status = "okay"; }; }; &pwm3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; }; &pwm6 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm6>; status = "okay"; }; &pwm7 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm7>; status = "okay"; }; &pwm8 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm8>; status = "okay"; }; &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; status = "okay"; }; /* UART4 * RS485 */ &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>; rts-gpios = <&gpio3 2 GPIO_ACTIVE_HIGH>; rs485-rts-active-high; linux,rs485-enabled-at-boot-time; status = "okay"; }; /* UART5 * RS232 */ &uart5 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart5>; uart-has-rtscts; status = "okay"; }; &uart7 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart7>; status = "okay"; }; /* USB */ &usbotg1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_otg1>; vbus-supply = <®_usb_otg1_vbus>; dr_mode = "host"; disable-over-current; status = "okay"; }; &usbotg2 { vbus-supply = <®_usb_hub_vbus>; disable-over-current; dr_mode = "host"; status = "okay"; }; &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; pinctrl-1 = <&pinctrl_usdhc1_100mhz>; pinctrl-2 = <&pinctrl_usdhc1_200mhz>; cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; no-1-8-v; keep-power-in-suspend; wakeup-source; status = "okay"; }; &usdhc2 { status = "disabled"; }; &iomuxc_snvs { pinctrl_rtc_int: rtcintgrp { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x17059 >; }; pinctrl_stmpe: stmpegrp { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x17059 >; }; pinctrl_tempsense: tempsensegrp { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x17059 >; }; pinctrl_tpm: tpmgrp { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x17059 >; }; pinctrl_usbhubpwr: usbhubpwrgrp { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x17059 >; }; pinctrl_user_leds_snvs: user_ledsgrp { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x79 >; }; }; &iomuxc { pinctrl_gpio: gpiogrp { fsl,pins = < MX6UL_PAD_CSI_DATA05__GPIO4_IO26 0x17059 /* nUART_MUX_RS232 */ MX6UL_PAD_CSI_DATA04__GPIO4_IO25 0x17059 /* nUART_MUX_DUAL_RX_TX */ >; }; pinctrl_gpio_keys: gpiokeysgrp { fsl,pins = < MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x79 >; }; pinctrl_ecspi3: ecspi3grp { fsl,pins = < MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x100b1 MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x100b1 MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x100b1 MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20 0x10b0 >; }; pinctrl_ecspi1: ecspi1grp { fsl,pins = < MX6UL_PAD_LCD_DATA20__ECSPI1_SCLK 0x100b1 MX6UL_PAD_LCD_DATA23__ECSPI1_MISO 0x100b1 MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI 0x100b1 >; }; pinctrl_ecspi1_cs: ecspi1csgrp { fsl,pins = < MX6UL_PAD_LCD_DATA21__GPIO3_IO26 0x10b0 MX6UL_PAD_LCD_DATA05__GPIO3_IO10 0x10b0 MX6UL_PAD_LCD_DATA06__GPIO3_IO11 0x10b0 >; }; pinctrl_enet2: enet2grp { fsl,pins = < MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b010 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b010 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b010 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b010 >; }; pinctrl_flexcan1: flexcan1grp { fsl,pins = < MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x0b0b0 MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x0b0b0 >; }; pinctrl_flexcan2: flexcan2grp { fsl,pins = < MX6UL_PAD_LCD_DATA10__FLEXCAN2_TX 0x0b0b0 MX6UL_PAD_LCD_DATA11__FLEXCAN2_RX 0x0b0b0 >; }; princtrl_flexcan2_en: flexcan2engrp { fsl,pins = < MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x17059 >; }; pinctrl_i2c2: i2c2grp { fsl,pins = < MX6UL_PAD_GPIO1_IO00__I2C2_SCL 0xb0 MX6UL_PAD_GPIO1_IO01__I2C2_SDA 0xb0 >; }; pinctrl_i2c2_gpio: i2c2gpiogrp { fsl,pins = < MX6UL_PAD_GPIO1_IO00__GPIO1_IO00 0xb0 MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0 >; }; pinctrl_i2c3: i2c3grp { fsl,pins = < MX6UL_PAD_LCD_DATA01__I2C3_SCL 0xb0 MX6UL_PAD_LCD_DATA00__I2C3_SDA 0xb0 >; }; pinctrl_i2c3_gpio: i2c3gpiogrp { fsl,pins = < MX6UL_PAD_LCD_DATA01__GPIO3_IO06 0xb0 MX6UL_PAD_LCD_DATA00__GPIO3_IO05 0xb0 >; }; pinctrl_i2c4: i2c4grp { fsl,pins = < MX6UL_PAD_LCD_DATA03__I2C4_SCL 0xb0 MX6UL_PAD_LCD_DATA02__I2C4_SDA 0xb0 >; }; pinctrl_i2c4_gpio: i2c4gpiogrp { fsl,pins = < MX6UL_PAD_LCD_DATA03__GPIO3_IO08 0xb0 MX6UL_PAD_LCD_DATA02__GPIO3_IO07 0xb0 >; }; pinctrl_pwm3: pwm3grp { fsl,pins = < MX6UL_PAD_GPIO1_IO04__PWM3_OUT 0x0b0b0 >; }; pinctrl_pwm6: pwm6grp { fsl,pins = < MX6UL_PAD_JTAG_TDI__PWM6_OUT 0x0b0b0 >; }; pinctrl_pwm7: pwm7grp { fsl,pins = < MX6UL_PAD_JTAG_TCK__PWM7_OUT 0x0b0b0 >; }; pinctrl_pwm8: pwm8grp { fsl,pins = < MX6UL_PAD_JTAG_TRST_B__PWM8_OUT 0x0b0b0 >; }; pinctrl_s25fl064_hold: s25fl064holdgrp { fsl,pins = < MX6UL_PAD_LCD_DATA12__GPIO3_IO17 0x100b1 >; }; pinctrl_sai2: sai2grp { fsl,pins = < MX6UL_PAD_JTAG_TDI__SAI2_TX_BCLK 0x17088 MX6UL_PAD_JTAG_TDO__SAI2_TX_SYNC 0x17088 MX6UL_PAD_JTAG_TRST_B__SAI2_TX_DATA 0x11088 MX6UL_PAD_JTAG_TCK__SAI2_RX_DATA 0x11088 MX6UL_PAD_JTAG_TMS__SAI2_MCLK 0x17088 >; }; pinctrl_uart3: uart3grp { fsl,pins = < MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX 0x1b0b1 MX6UL_PAD_UART3_RX_DATA__UART3_DCE_RX 0x1b0b1 >; }; pinctrl_uart4: uart4grp { fsl,pins = < MX6UL_PAD_LCD_CLK__UART4_DCE_TX 0x1b0b1 MX6UL_PAD_LCD_ENABLE__UART4_DCE_RX 0x1b0b1 MX6UL_PAD_LCD_HSYNC__GPIO3_IO02 0x1b0b1 >; }; pinctrl_uart5: uart5grp { fsl,pins = < MX6UL_PAD_UART5_TX_DATA__UART5_DCE_TX 0x1b0b1 MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX 0x1b0b1 >; }; pinctrl_uart7: uart7grp { fsl,pins = < MX6UL_PAD_LCD_DATA16__UART7_DCE_TX 0x1b0b1 MX6UL_PAD_LCD_DATA17__UART7_DCE_RX 0x1b0b1 >; }; pinctrl_usb_otg1: usbotg1grp { fsl,pins = < MX6UL_PAD_CSI_DATA06__GPIO4_IO27 0x80 >; }; pinctrl_usbotg1pwr: usbotg1pwrgrp { fsl,pins = < MX6UL_PAD_CSI_DATA07__GPIO4_IO28 0x17059 >; }; pinctrl_usdhc1: usdhc1grp { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10059 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059 MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059 >; }; pinctrl_usdhc1_100mhz: usdhc1100mhzgrp { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170b9 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100b9 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9 >; }; pinctrl_usdhc1_200mhz: usdhc1200mhzgrp { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170f9 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100f9 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170f9 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170f9 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170f9 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170f9 >; }; pinctrl_user_leds: userledsgrp { fsl,pins = < MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0x79 >; }; }; |