1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * Copyright 2017~2018 NXP 4 */ 5 6 /dts-v1/; 7 8 #include "imx8qxp.dtsi" 9 #include <dt-bindings/usb/pd.h> 10 11 / { 12 model = "Freescale i.MX8QXP MEK"; 13 compatible = "fsl,imx8qxp-mek", "fsl,i 14 15 chosen { 16 stdout-path = &lpuart0; 17 }; 18 19 memory@80000000 { 20 device_type = "memory"; 21 reg = <0x00000000 0x80000000 0 22 }; 23 24 reg_usdhc2_vmmc: usdhc2-vmmc { 25 compatible = "regulator-fixed" 26 regulator-name = "SD1_SPWR"; 27 regulator-min-microvolt = <300 28 regulator-max-microvolt = <300 29 gpio = <&lsio_gpio4 19 GPIO_AC 30 enable-active-high; 31 }; 32 33 gpio-sbu-mux { 34 compatible = "nxp,cbdtu02043", 35 pinctrl-names = "default"; 36 pinctrl-0 = <&pinctrl_typec_mu 37 select-gpios = <&lsio_gpio5 9 38 enable-gpios = <&pca9557_a 7 G 39 orientation-switch; 40 41 port { 42 usb3_data_ss: endpoint 43 remote-endpoin 44 }; 45 }; 46 }; 47 48 sound-wm8960 { 49 compatible = "fsl,imx-audio-wm 50 model = "wm8960-audio"; 51 audio-cpu = <&sai1>; 52 audio-codec = <&wm8960>; 53 hp-det-gpio = <&lsio_gpio1 0 G 54 audio-routing = "Headphone Jac 55 "Headphone Jac 56 "Ext Spk", "SP 57 "Ext Spk", "SP 58 "Ext Spk", "SP 59 "Ext Spk", "SP 60 "LINPUT1", "Mi 61 "Mic Jack", "M 62 }; 63 }; 64 65 &dsp { 66 memory-region = <&dsp_reserved>; 67 status = "okay"; 68 }; 69 70 &dsp_reserved { 71 status = "okay"; 72 }; 73 74 &fec1 { 75 pinctrl-names = "default"; 76 pinctrl-0 = <&pinctrl_fec1>; 77 phy-mode = "rgmii-id"; 78 phy-handle = <ðphy0>; 79 fsl,magic-packet; 80 status = "okay"; 81 82 mdio { 83 #address-cells = <1>; 84 #size-cells = <0>; 85 86 ethphy0: ethernet-phy@0 { 87 compatible = "ethernet 88 reg = <0>; 89 }; 90 }; 91 }; 92 93 &i2c1 { 94 #address-cells = <1>; 95 #size-cells = <0>; 96 clock-frequency = <100000>; 97 pinctrl-names = "default"; 98 pinctrl-0 = <&pinctrl_lpi2c1 &pinctrl_ 99 status = "okay"; 100 101 i2c-mux@71 { 102 compatible = "nxp,pca9646", "n 103 #address-cells = <1>; 104 #size-cells = <0>; 105 reg = <0x71>; 106 reset-gpios = <&lsio_gpio1 1 G 107 108 i2c@0 { 109 #address-cells = <1>; 110 #size-cells = <0>; 111 reg = <0>; 112 113 max7322: gpio@68 { 114 compatible = " 115 reg = <0x68>; 116 gpio-controlle 117 #gpio-cells = 118 }; 119 }; 120 121 i2c@1 { 122 #address-cells = <1>; 123 #size-cells = <0>; 124 reg = <1>; 125 }; 126 127 i2c@2 { 128 #address-cells = <1>; 129 #size-cells = <0>; 130 reg = <2>; 131 132 pressure-sensor@60 { 133 compatible = " 134 reg = <0x60>; 135 }; 136 }; 137 138 i2c@3 { 139 #address-cells = <1>; 140 #size-cells = <0>; 141 reg = <3>; 142 143 pca9557_a: gpio@1a { 144 compatible = " 145 reg = <0x1a>; 146 gpio-controlle 147 #gpio-cells = 148 }; 149 150 pca9557_b: gpio@1d { 151 compatible = " 152 reg = <0x1d>; 153 gpio-controlle 154 #gpio-cells = 155 }; 156 157 light-sensor@44 { 158 pinctrl-names 159 pinctrl-0 = <& 160 compatible = " 161 reg = <0x44>; 162 interrupt-pare 163 interrupts = < 164 }; 165 }; 166 }; 167 168 ptn5110: tcpc@50 { 169 compatible = "nxp,ptn5110", "t 170 pinctrl-names = "default"; 171 pinctrl-0 = <&pinctrl_typec>; 172 reg = <0x50>; 173 interrupt-parent = <&lsio_gpio 174 interrupts = <3 IRQ_TYPE_LEVEL 175 176 usb_con1: connector { 177 compatible = "usb-c-co 178 label = "USB-C"; 179 power-role = "source"; 180 data-role = "dual"; 181 source-pdos = <PDO_FIX 182 183 ports { 184 #address-cells 185 #size-cells = 186 187 port@0 { 188 reg = 189 190 typec_ 191 192 }; 193 }; 194 195 port@1 { 196 reg = 197 198 typec_ 199 200 }; 201 }; 202 }; 203 }; 204 }; 205 206 }; 207 208 &cm40_i2c { 209 #address-cells = <1>; 210 #size-cells = <0>; 211 clock-frequency = <100000>; 212 pinctrl-names = "default", "gpio"; 213 pinctrl-0 = <&pinctrl_cm40_i2c>; 214 pinctrl-1 = <&pinctrl_cm40_i2c_gpio>; 215 scl-gpios = <&lsio_gpio1 10 GPIO_ACTIV 216 sda-gpios = <&lsio_gpio1 9 GPIO_ACTIVE 217 status = "okay"; 218 219 wm8960: audio-codec@1a { 220 compatible = "wlf,wm8960"; 221 reg = <0x1a>; 222 clocks = <&mclkout0_lpcg IMX_L 223 clock-names = "mclk"; 224 assigned-clocks = <&clk IMX_SC 225 <&clk IMX_SC 226 <&clk IMX_SC 227 <&mclkout0_l 228 assigned-clock-rates = <786432 229 <491520 230 <122880 231 <122880 232 wlf,shared-lrclk; 233 wlf,hp-cfg = <2 2 3>; 234 wlf,gpio-cfg = <1 3>; 235 }; 236 237 pca6416: gpio@20 { 238 compatible = "ti,tca6416"; 239 reg = <0x20>; 240 gpio-controller; 241 #gpio-cells = <2>; 242 }; 243 }; 244 245 &cm40_intmux { 246 status = "okay"; 247 }; 248 249 &lpuart0 { 250 pinctrl-names = "default"; 251 pinctrl-0 = <&pinctrl_lpuart0>; 252 status = "okay"; 253 }; 254 255 &lpuart2 { 256 pinctrl-names = "default"; 257 pinctrl-0 = <&pinctrl_lpuart2>; 258 status = "okay"; 259 }; 260 261 &lpuart3 { 262 pinctrl-names = "default"; 263 pinctrl-0 = <&pinctrl_lpuart3>; 264 status = "okay"; 265 }; 266 267 &mu_m0 { 268 status = "okay"; 269 }; 270 271 &mu1_m0 { 272 status = "okay"; 273 }; 274 275 &scu_key { 276 status = "okay"; 277 }; 278 279 &sai0 { 280 #sound-dai-cells = <0>; 281 assigned-clocks = <&clk IMX_SC_R_AUDIO 282 <&clk IMX_SC_R_AUDIO 283 <&clk IMX_SC_R_AUDIO 284 <&sai0_lpcg IMX_LPCG 285 assigned-clock-rates = <786432000>, <4 286 pinctrl-names = "default"; 287 pinctrl-0 = <&pinctrl_sai0>; 288 status = "okay"; 289 }; 290 291 &sai1 { 292 assigned-clocks = <&clk IMX_SC_R_AUDIO 293 <&clk IMX_SC_R_AUDIO 294 <&clk IMX_SC_R_AUDIO 295 <&sai1_lpcg IMX_LPCG 296 assigned-clock-rates = <786432000>, <4 297 pinctrl-names = "default"; 298 pinctrl-0 = <&pinctrl_sai1>; 299 status = "okay"; 300 }; 301 302 &sai4 { 303 assigned-clocks = <&acm IMX_ADMA_ACM_S 304 <&clk IMX_SC_R_AUDIO 305 <&clk IMX_SC_R_AUDIO 306 <&clk IMX_SC_R_AUDIO 307 <&sai4_lpcg IMX_LPCG 308 assigned-clock-parents = <&aud_pll_div 309 assigned-clock-rates = <0>, <786432000 310 fsl,sai-asynchronous; 311 status = "okay"; 312 }; 313 314 &sai5 { 315 assigned-clocks = <&acm IMX_ADMA_ACM_S 316 <&clk IMX_SC_R_AUDIO 317 <&clk IMX_SC_R_AUDIO 318 <&clk IMX_SC_R_AUDIO 319 <&sai5_lpcg IMX_LPCG 320 assigned-clock-parents = <&aud_pll_div 321 assigned-clock-rates = <0>, <786432000 322 fsl,sai-asynchronous; 323 status = "okay"; 324 }; 325 326 &thermal_zones { 327 pmic-thermal { 328 polling-delay-passive = <250>; 329 polling-delay = <2000>; 330 thermal-sensors = <&tsens IMX_ 331 332 trips { 333 pmic_alert0: trip0 { 334 temperature = 335 hysteresis = < 336 type = "passiv 337 }; 338 339 pmic_crit0: trip1 { 340 temperature = 341 hysteresis = < 342 type = "critic 343 }; 344 }; 345 346 cooling-maps { 347 map0 { 348 trip = <&pmic_ 349 cooling-device 350 <&A35_ 351 <&A35_ 352 <&A35_ 353 <&A35_ 354 }; 355 }; 356 }; 357 }; 358 359 &usdhc1 { 360 assigned-clocks = <&clk IMX_SC_R_SDHC_ 361 assigned-clock-rates = <200000000>; 362 pinctrl-names = "default"; 363 pinctrl-0 = <&pinctrl_usdhc1>; 364 bus-width = <8>; 365 no-sd; 366 no-sdio; 367 non-removable; 368 status = "okay"; 369 }; 370 371 &usdhc2 { 372 assigned-clocks = <&clk IMX_SC_R_SDHC_ 373 assigned-clock-rates = <200000000>; 374 pinctrl-names = "default"; 375 pinctrl-0 = <&pinctrl_usdhc2>; 376 bus-width = <4>; 377 vmmc-supply = <®_usdhc2_vmmc>; 378 cd-gpios = <&lsio_gpio4 22 GPIO_ACTIVE 379 wp-gpios = <&lsio_gpio4 21 GPIO_ACTIVE 380 status = "okay"; 381 }; 382 383 &usb3_phy { 384 status = "okay"; 385 }; 386 387 &usbotg3 { 388 status = "okay"; 389 }; 390 391 &usbotg3_cdns3 { 392 dr_mode = "otg"; 393 usb-role-switch; 394 status = "okay"; 395 396 port { 397 usb3_drd_sw: endpoint { 398 remote-endpoint = <&ty 399 }; 400 }; 401 }; 402 403 404 &vpu { 405 compatible = "nxp,imx8qxp-vpu"; 406 status = "okay"; 407 }; 408 409 &vpu_core0 { 410 reg = <0x2d040000 0x10000>; 411 memory-region = <&decoder_boot>, <&dec 412 status = "okay"; 413 }; 414 415 &vpu_core1 { 416 reg = <0x2d050000 0x10000>; 417 memory-region = <&encoder_boot>, <&enc 418 status = "okay"; 419 }; 420 421 &iomuxc { 422 423 pinctrl_cm40_i2c: cm40i2cgrp { 424 fsl,pins = < 425 IMX8QXP_ADC_IN1_M40_I2 426 IMX8QXP_ADC_IN0_M40_I2 427 >; 428 }; 429 430 pinctrl_cm40_i2c_gpio: cm40i2cgpio-grp 431 fsl,pins = < 432 IMX8QXP_ADC_IN1_LSIO_G 433 IMX8QXP_ADC_IN0_LSIO_G 434 >; 435 }; 436 437 pinctrl_fec1: fec1grp { 438 fsl,pins = < 439 IMX8QXP_ENET0_MDC_CONN 440 IMX8QXP_ENET0_MDIO_CON 441 IMX8QXP_ENET0_RGMII_TX 442 IMX8QXP_ENET0_RGMII_TX 443 IMX8QXP_ENET0_RGMII_TX 444 IMX8QXP_ENET0_RGMII_TX 445 IMX8QXP_ENET0_RGMII_TX 446 IMX8QXP_ENET0_RGMII_TX 447 IMX8QXP_ENET0_RGMII_RX 448 IMX8QXP_ENET0_RGMII_RX 449 IMX8QXP_ENET0_RGMII_RX 450 IMX8QXP_ENET0_RGMII_RX 451 IMX8QXP_ENET0_RGMII_RX 452 IMX8QXP_ENET0_RGMII_RX 453 >; 454 }; 455 456 pinctrl_ioexp_rst: ioexprstgrp { 457 fsl,pins = < 458 IMX8QXP_SPI2_SDO_LSIO_ 459 >; 460 }; 461 462 pinctrl_isl29023: isl29023grp { 463 fsl,pins = < 464 IMX8QXP_SPI2_SDI_LSIO_ 465 >; 466 }; 467 468 pinctrl_lpi2c1: lpi2c1grp { 469 fsl,pins = < 470 IMX8QXP_USB_SS3_TC1_AD 471 IMX8QXP_USB_SS3_TC3_AD 472 >; 473 }; 474 475 pinctrl_lpuart0: lpuart0grp { 476 fsl,pins = < 477 IMX8QXP_UART0_RX_ADMA_ 478 IMX8QXP_UART0_TX_ADMA_ 479 >; 480 }; 481 482 pinctrl_lpuart2: lpuart2grp { 483 fsl,pins = < 484 IMX8QXP_UART2_TX_ADMA_ 485 IMX8QXP_UART2_RX_ADMA_ 486 >; 487 }; 488 489 pinctrl_lpuart3: lpuart3grp { 490 fsl,pins = < 491 IMX8QXP_FLEXCAN2_TX_AD 492 IMX8QXP_FLEXCAN2_RX_AD 493 >; 494 }; 495 496 pinctrl_typec: typecgrp { 497 fsl,pins = < 498 IMX8QXP_SPI2_SCK_LSIO_ 499 >; 500 }; 501 502 pinctrl_typec_mux: typecmuxgrp { 503 fsl,pins = < 504 IMX8QXP_ENET0_REFCLK_1 505 >; 506 }; 507 508 pinctrl_sai0: sai0grp { 509 fsl,pins = < 510 IMX8QXP_SAI0_TXD_ADMA_ 511 IMX8QXP_SAI0_RXD_ADMA_ 512 IMX8QXP_SAI0_TXC_ADMA_ 513 IMX8QXP_SAI0_TXFS_ADMA 514 >; 515 }; 516 517 pinctrl_sai1: sai1grp { 518 fsl,pins = < 519 IMX8QXP_SAI1_RXD_ADMA_ 520 IMX8QXP_SAI1_RXC_ADMA_ 521 IMX8QXP_SAI1_RXFS_ADMA 522 IMX8QXP_SPI0_CS1_ADMA_ 523 IMX8QXP_SPI2_CS0_LSIO_ 524 >; 525 }; 526 527 pinctrl_usdhc1: usdhc1grp { 528 fsl,pins = < 529 IMX8QXP_EMMC0_CLK_CONN 530 IMX8QXP_EMMC0_CMD_CONN 531 IMX8QXP_EMMC0_DATA0_CO 532 IMX8QXP_EMMC0_DATA1_CO 533 IMX8QXP_EMMC0_DATA2_CO 534 IMX8QXP_EMMC0_DATA3_CO 535 IMX8QXP_EMMC0_DATA4_CO 536 IMX8QXP_EMMC0_DATA5_CO 537 IMX8QXP_EMMC0_DATA6_CO 538 IMX8QXP_EMMC0_DATA7_CO 539 IMX8QXP_EMMC0_STROBE_C 540 >; 541 }; 542 543 pinctrl_usdhc2: usdhc2grp { 544 fsl,pins = < 545 IMX8QXP_USDHC1_CLK_CON 546 IMX8QXP_USDHC1_CMD_CON 547 IMX8QXP_USDHC1_DATA0_C 548 IMX8QXP_USDHC1_DATA1_C 549 IMX8QXP_USDHC1_DATA2_C 550 IMX8QXP_USDHC1_DATA3_C 551 IMX8QXP_USDHC1_VSELECT 552 >; 553 }; 554 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.