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 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright 2022 Toradex */ #include <dt-bindings/pwm/pwm.h> / { chosen { stdout-path = &lpuart1; }; /* Apalis BKL1 */ backlight: backlight { compatible = "pwm-backlight"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_bkl_on>; brightness-levels = <0 45 63 88 119 158 203 255>; default-brightness-level = <4>; enable-gpios = <&lsio_gpio1 4 GPIO_ACTIVE_HIGH>; /* Apalis BKL1_ON */ /* TODO: hook-up to Apalis BKL1_PWM */ status = "disabled"; }; gpio_fan: gpio-fan { compatible = "gpio-fan"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio8>; gpios = <&lsio_gpio3 28 GPIO_ACTIVE_HIGH>; gpio-fan,speed-map = < 0 0 3000 1>; }; /* TODO: LVDS Panel */ /* TODO: Shared PCIe/SATA Reference Clock */ /* TODO: PCIe Wi-Fi Reference Clock */ /* * Power management bus used to control LDO1OUT of the * second PMIC PF8100. This is used for controlling voltage levels of * typespecific RGMII signals and Apalis UART2_RTS UART2_CTS. * * IMX_SC_R_BOARD_R1 for 3.3V * IMX_SC_R_BOARD_R2 for 1.8V * IMX_SC_R_BOARD_R3 for 2.5V * Note that for 2.5V operation the pad muxing needs to be changed, * compare with PSW_OVR field of IMX8QM_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA_PAD. * * those power domains are mutually exclusive. */ reg_ext_rgmii: regulator-ext-rgmii { compatible = "regulator-fixed"; power-domains = <&pd IMX_SC_R_BOARD_R1>; regulator-max-microvolt = <3300000>; regulator-min-microvolt = <3300000>; regulator-name = "VDD_EXT_RGMII (LDO1)"; regulator-state-mem { regulator-off-in-suspend; }; }; reg_module_3v3: regulator-module-3v3 { compatible = "regulator-fixed"; regulator-max-microvolt = <3300000>; regulator-min-microvolt = <3300000>; regulator-name = "+V3.3"; }; reg_module_3v3_avdd: regulator-module-3v3-avdd { compatible = "regulator-fixed"; regulator-max-microvolt = <3300000>; regulator-min-microvolt = <3300000>; regulator-name = "+V3.3_AUDIO"; }; reg_module_wifi: regulator-module-wifi { compatible = "regulator-fixed"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wifi_pdn>; gpio = <&lsio_gpio1 28 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; regulator-name = "wifi_pwrdn_fake_regulator"; regulator-settling-time-us = <100>; }; reg_pcie_switch: regulator-pcie-switch { compatible = "regulator-fixed"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio7>; gpio = <&lsio_gpio3 26 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-max-microvolt = <1800000>; regulator-min-microvolt = <1800000>; regulator-name = "pcie_switch"; startup-delay-us = <100000>; }; reg_usb_host_vbus: regulator-usb-host-vbus { compatible = "regulator-fixed"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh_en>; /* Apalis USBH_EN */ gpio = <&lsio_gpio4 4 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; regulator-max-microvolt = <5000000>; regulator-min-microvolt = <5000000>; regulator-name = "usb-host-vbus"; }; reg_usb_hsic: regulator-usb-hsic { compatible = "regulator-fixed"; regulator-max-microvolt = <3000000>; regulator-min-microvolt = <3000000>; regulator-name = "usb-hsic-dummy"; }; reg_usb_phy: regulator-usb-hsic1 { compatible = "regulator-fixed"; regulator-max-microvolt = <3000000>; regulator-min-microvolt = <3000000>; regulator-name = "usb-phy-dummy"; }; reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; decoder_boot: decoder-boot@84000000 { reg = <0 0x84000000 0 0x2000000>; no-map; }; encoder1_boot: encoder1-boot@86000000 { reg = <0 0x86000000 0 0x200000>; no-map; }; encoder2_boot: encoder2-boot@86200000 { reg = <0 0x86200000 0 0x200000>; no-map; }; /* * reserved-memory layout * 0x8800_0000 ~ 0x8FFF_FFFF is reserved for M4 * Shouldn't be used at A core and Linux side. * */ m4_reserved: m4@88000000 { reg = <0 0x88000000 0 0x8000000>; no-map; }; rpmsg_reserved: rpmsg@90200000 { reg = <0 0x90200000 0 0x200000>; no-map; }; vdevbuffer: vdevbuffer@90400000 { compatible = "shared-dma-pool"; reg = <0 0x90400000 0 0x100000>; no-map; }; decoder_rpc: decoder-rpc@92000000 { reg = <0 0x92000000 0 0x200000>; no-map; }; dsp_reserved: dsp@92400000 { reg = <0 0x92400000 0 0x2000000>; no-map; }; encoder1_rpc: encoder1-rpc@94400000 { reg = <0 0x94400000 0 0x700000>; no-map; }; encoder2_rpc: encoder2-rpc@94b00000 { reg = <0 0x94b00000 0 0x700000>; no-map; }; /* global autoconfigured region for contiguous allocations */ linux,cma { compatible = "shared-dma-pool"; alloc-ranges = <0 0xc0000000 0 0x3c000000>; linux,cma-default; reusable; size = <0 0x3c000000>; }; }; /* TODO: Apalis Analogue Audio */ /* TODO: HDMI Audio */ /* TODO: Apalis SPDIF1 */ touchscreen: touchscreen { compatible = "toradex,vf50-touchscreen"; interrupt-parent = <&lsio_gpio3>; interrupts = <22 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "idle", "default"; pinctrl-0 = <&pinctrl_touchctrl_idle>, <&pinctrl_touchctrl_gpios>; pinctrl-1 = <&pinctrl_adc1>, <&pinctrl_touchctrl_gpios>; io-channels = <&adc1 2>, <&adc1 1>, <&adc1 0>, <&adc1 3>; vf50-ts-min-pressure = <200>; xp-gpios = <&lsio_gpio2 4 GPIO_ACTIVE_LOW>; xm-gpios = <&lsio_gpio2 5 GPIO_ACTIVE_HIGH>; yp-gpios = <&lsio_gpio2 17 GPIO_ACTIVE_LOW>; ym-gpios = <&lsio_gpio2 21 GPIO_ACTIVE_HIGH>; /* * NOTE: you must remove the pinctrl-adc1 from the adc1 * node below to use the touchscreen */ status = "disabled"; }; }; &adc0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_adc0>; }; &adc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_adc1>; }; /* TODO: Asynchronous Sample Rate Converter (ASRC) */ /* Apalis ETH1 */ &fec1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_fec1>; pinctrl-1 = <&pinctrl_fec1_sleep>; fsl,magic-packet; phy-handle = <ðphy0>; phy-mode = "rgmii-id"; mdio { #address-cells = <1>; #size-cells = <0>; ethphy0: ethernet-phy@7 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <7>; interrupt-parent = <&lsio_gpio1>; interrupts = <29 IRQ_TYPE_LEVEL_LOW>; micrel,led-mode = <0>; reset-assert-us = <2>; reset-deassert-us = <2>; reset-gpios = <&lsio_gpio1 11 GPIO_ACTIVE_LOW>; }; }; }; /* Apalis CAN1 */ &flexcan1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>; }; /* Apalis CAN2 */ &flexcan2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan2>; }; /* Apalis CAN3 (optional) */ &flexcan3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan3>; }; /* TODO: Apalis HDMI1 */ /* On-module I2C */ &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpi2c1>; #address-cells = <1>; #size-cells = <0>; clock-frequency = <100000>; status = "okay"; /* TODO: Audio Codec */ /* USB3503A */ usb-hub@8 { compatible = "smsc,usb3503a"; reg = <0x08>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb3503a>; connect-gpios = <&lsio_gpio0 31 GPIO_ACTIVE_LOW>; initial-mode = <1>; intn-gpios = <&lsio_gpio1 1 GPIO_ACTIVE_HIGH>; refclk-frequency = <25000000>; reset-gpios = <&lsio_gpio1 2 GPIO_ACTIVE_LOW>; }; }; /* Apalis I2C1 */ &i2c2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpi2c2>; #address-cells = <1>; #size-cells = <0>; clock-frequency = <100000>; atmel_mxt_ts: touch@4a { compatible = "atmel,maxtouch"; reg = <0x4a>; interrupt-parent = <&lsio_gpio4>; interrupts = <1 IRQ_TYPE_EDGE_FALLING>; /* Apalis GPIO5 */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio5>, <&pinctrl_gpio6>; reset-gpios = <&lsio_gpio4 2 GPIO_ACTIVE_LOW>; /* Apalis GPIO6 */ status = "disabled"; }; /* M41T0M6 real time clock on carrier board */ rtc_i2c: rtc@68 { compatible = "st,m41t0"; reg = <0x68>; status = "disabled"; }; }; /* Apalis I2C3 (CAM) */ &i2c3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpi2c3>; #address-cells = <1>; #size-cells = <0>; clock-frequency = <100000>; }; &jpegdec { status = "okay"; }; &jpegenc { status = "okay"; }; /* TODO: Apalis LVDS1 */ /* Apalis SPI1 */ &lpspi0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpspi0>; #address-cells = <1>; #size-cells = <0>; cs-gpios = <&lsio_gpio3 5 GPIO_ACTIVE_LOW>; }; /* Apalis SPI2 */ &lpspi2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpspi2>; #address-cells = <1>; #size-cells = <0>; cs-gpios = <&lsio_gpio3 10 GPIO_ACTIVE_LOW>; }; /* Apalis UART3 */ &lpuart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart0>; }; /* Apalis UART1 */ &lpuart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart1>; }; /* Apalis UART4 */ &lpuart2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart2>; }; /* Apalis UART2 */ &lpuart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart3>; }; &lsio_gpio0 { gpio-line-names = "MXM3_279", "MXM3_277", "MXM3_135", "MXM3_203", "MXM3_201", "MXM3_275", "MXM3_110", "MXM3_120", "MXM3_1/GPIO1", "MXM3_3/GPIO2", "MXM3_124", "MXM3_122", "MXM3_5/GPIO3", "MXM3_7/GPIO4", "", "", "MXM3_4", "MXM3_211", "MXM3_209", "MXM3_2", "MXM3_136", "MXM3_134", "MXM3_6", "MXM3_8", "MXM3_112", "MXM3_118", "MXM3_114", "MXM3_116"; }; &lsio_gpio1 { gpio-line-names = "", "", "", "", "MXM3_286", "", "MXM3_87", "MXM3_99", "MXM3_138", "MXM3_140", "MXM3_239", "", "MXM3_281", "MXM3_283", "MXM3_126", "MXM3_132", "", "", "", "", "MXM3_173", "MXM3_175", "MXM3_123"; hdmi-ctrl-hog { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hdmi_ctrl>; gpio-hog; gpios = <30 GPIO_ACTIVE_HIGH>; line-name = "CONNECTOR_IS_HDMI"; /* Set signals depending on HDP device type, 0 DP, 1 HDMI */ output-high; }; }; &lsio_gpio2 { gpio-line-names = "", "", "", "", "", "", "", "MXM3_198", "MXM3_35", "MXM3_164", "", "", "", "", "MXM3_217", "MXM3_215", "", "", "MXM3_193", "MXM3_194", "MXM3_37", "", "MXM3_271", "MXM3_273", "MXM3_195", "MXM3_197", "MXM3_177", "MXM3_179", "MXM3_181", "MXM3_183", "MXM3_185", "MXM3_187"; pcie-wifi-hog { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie_wifi_refclk>; gpio-hog; gpios = <11 GPIO_ACTIVE_HIGH>; line-name = "PCIE_WIFI_CLK"; output-high; }; }; &lsio_gpio3 { gpio-line-names = "MXM3_191", "", "MXM3_221", "MXM3_225", "MXM3_223", "MXM3_227", "MXM3_200", "MXM3_235", "MXM3_231", "MXM3_229", "MXM3_233", "MXM3_204", "MXM3_196", "", "MXM3_202", "", "", "", "MXM3_305", "MXM3_307", "MXM3_309", "MXM3_311", "MXM3_315", "MXM3_317", "MXM3_319", "MXM3_321", "MXM3_15/GPIO7", "MXM3_63", "MXM3_17/GPIO8", "MXM3_12", "MXM3_14", "MXM3_16"; }; &lsio_gpio4 { gpio-line-names = "MXM3_18", "MXM3_11/GPIO5", "MXM3_13/GPIO6", "MXM3_274", "MXM3_84", "MXM3_262", "MXM3_96", "", "", "", "", "", "MXM3_190", "", "", "", "MXM3_269", "MXM3_251", "MXM3_253", "MXM3_295", "MXM3_299", "MXM3_301", "MXM3_297", "MXM3_293", "MXM3_291", "MXM3_289", "MXM3_287"; /* Enable pcie root / sata ref clock unconditionally */ pcie-sata-hog { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie_sata_refclk>; gpio-hog; gpios = <11 GPIO_ACTIVE_HIGH>; line-name = "PCIE_SATA_CLK"; output-high; }; }; &lsio_gpio5 { gpio-line-names = "", "", "", "", "", "", "", "", "", "", "", "", "", "", "MXM3_150", "MXM3_160", "MXM3_162", "MXM3_144", "MXM3_146", "MXM3_148", "MXM3_152", "MXM3_156", "MXM3_158", "MXM3_159", "MXM3_184", "MXM3_180", "MXM3_186", "MXM3_188", "MXM3_176", "MXM3_178"; }; &lsio_gpio6 { gpio-line-names = "", "", "", "", "", "", "", "", "", "", "MXM3_261", "MXM3_263", "MXM3_259", "MXM3_257", "MXM3_255", "MXM3_128", "MXM3_130", "MXM3_265", "MXM3_249", "MXM3_247", "MXM3_245", "MXM3_243"; }; /* Apalis PWM3, MXM3 pin 6 */ &lsio_pwm0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm0>; #pwm-cells = <3>; }; /* Apalis PWM4, MXM3 pin 8 */ &lsio_pwm1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; #pwm-cells = <3>; }; /* Apalis PWM1, MXM3 pin 2 */ &lsio_pwm2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm2>; #pwm-cells = <3>; }; /* Apalis PWM2, MXM3 pin 4 */ &lsio_pwm3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; #pwm-cells = <3>; }; /* Messaging Units */ &mu_m0 { status = "okay"; }; &mu1_m0 { status = "okay"; }; &mu2_m0 { status = "okay"; }; /* TODO: Apalis PCIE1 */ /* TODO: On-module Wi-Fi */ /* TODO: Apalis BKL1_PWM */ /* TODO: Apalis DAP1 */ /* TODO: Analogue Audio */ /* TODO: Apalis SATA1 */ /* TODO: Apalis SPDIF1 */ /* TODO: Thermal Zones */ /* TODO: Apalis USBH2, Apalis USBH3 and on-module Wi-Fi via on-module HSIC Hub */ /* TODO: Apalis USBH4 */ /* Apalis USBO1 */ &usbphy1 { phy-3p0-supply = <®_usb_phy>; status = "okay"; }; &usbotg1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbotg1>; adp-disable; hnp-disable; over-current-active-low; power-active-high; srp-disable; }; /* On-module eMMC */ &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; pinctrl-1 = <&pinctrl_usdhc1_100mhz>; pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <8>; non-removable; status = "okay"; }; /* Apalis MMC1 */ &usdhc2 { pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc2_4bit>, <&pinctrl_usdhc2_8bit>, <&pinctrl_mmc1_cd>; pinctrl-1 = <&pinctrl_usdhc2_4bit_100mhz>, <&pinctrl_usdhc2_8bit_100mhz>, <&pinctrl_mmc1_cd>; pinctrl-2 = <&pinctrl_usdhc2_4bit_200mhz>, <&pinctrl_usdhc2_8bit_200mhz>, <&pinctrl_mmc1_cd>; pinctrl-3 = <&pinctrl_usdhc2_4bit_sleep>, <&pinctrl_usdhc2_8bit_sleep>, <&pinctrl_mmc1_cd_sleep>; bus-width = <8>; cd-gpios = <&lsio_gpio2 9 GPIO_ACTIVE_LOW>; /* Apalis MMC1_CD# */ no-1-8-v; }; /* Apalis SD1 */ &usdhc3 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc3>, <&pinctrl_sd1_cd>; pinctrl-1 = <&pinctrl_usdhc3_100mhz>, <&pinctrl_sd1_cd>; pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_sd1_cd>; bus-width = <4>; cd-gpios = <&lsio_gpio4 12 GPIO_ACTIVE_LOW>; /* Apalis SD1_CD# */ no-1-8-v; }; /* Video Processing Unit */ &vpu { compatible = "nxp,imx8qm-vpu"; status = "okay"; }; &vpu_core0 { reg = <0x2d080000 0x10000>; memory-region = <&decoder_boot>, <&decoder_rpc>; status = "okay"; }; &vpu_core1 { reg = <0x2d090000 0x10000>; memory-region = <&encoder1_boot>, <&encoder1_rpc>; status = "okay"; }; &vpu_core2 { reg = <0x2d0a0000 0x10000>; memory-region = <&encoder2_boot>, <&encoder2_rpc>; status = "okay"; }; &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_cam1_gpios>, <&pinctrl_dap1_gpios>, <&pinctrl_esai0_gpios>, <&pinctrl_fec2_gpios>, <&pinctrl_gpio3>, <&pinctrl_gpio4>, <&pinctrl_gpio_keys>, <&pinctrl_gpio_usbh_oc_n>, <&pinctrl_lpuart1ctrl>, <&pinctrl_lvds0_i2c0_gpio>, <&pinctrl_lvds1_i2c0_gpios>, <&pinctrl_mipi_dsi_0_1_en>, <&pinctrl_mipi_dsi1_gpios>, <&pinctrl_mlb_gpios>, <&pinctrl_qspi1a_gpios>, <&pinctrl_sata1_act>, <&pinctrl_sim0_gpios>, <&pinctrl_usdhc1_gpios>; /* Apalis AN1_ADC */ pinctrl_adc0: adc0grp { fsl,pins = /* Apalis AN1_ADC0 */ <IMX8QM_ADC_IN0_DMA_ADC0_IN0 0xc0000060>, /* Apalis AN1_ADC1 */ <IMX8QM_ADC_IN1_DMA_ADC0_IN1 0xc0000060>, /* Apalis AN1_ADC2 */ <IMX8QM_ADC_IN2_DMA_ADC0_IN2 0xc0000060>, /* Apalis AN1_TSWIP_ADC3 */ <IMX8QM_ADC_IN3_DMA_ADC0_IN3 0xc0000060>; }; /* Apalis AN1_TS */ pinctrl_adc1: adc1grp { fsl,pins = /* Apalis AN1_TSPX */ <IMX8QM_ADC_IN4_DMA_ADC1_IN0 0xc0000060>, /* Apalis AN1_TSMX */ <IMX8QM_ADC_IN5_DMA_ADC1_IN1 0xc0000060>, /* Apalis AN1_TSPY */ <IMX8QM_ADC_IN6_DMA_ADC1_IN2 0xc0000060>, /* Apalis AN1_TSMY */ <IMX8QM_ADC_IN7_DMA_ADC1_IN3 0xc0000060>; }; /* Apalis CAM1 */ pinctrl_cam1_gpios: cam1gpiosgrp { fsl,pins = /* Apalis CAM1_D7 */ <IMX8QM_MIPI_DSI1_I2C0_SCL_LSIO_GPIO1_IO20 0x00000021>, /* Apalis CAM1_D6 */ <IMX8QM_MIPI_DSI1_I2C0_SDA_LSIO_GPIO1_IO21 0x00000021>, /* Apalis CAM1_D5 */ <IMX8QM_ESAI0_TX0_LSIO_GPIO2_IO26 0x00000021>, /* Apalis CAM1_D4 */ <IMX8QM_ESAI0_TX1_LSIO_GPIO2_IO27 0x00000021>, /* Apalis CAM1_D3 */ <IMX8QM_ESAI0_TX2_RX3_LSIO_GPIO2_IO28 0x00000021>, /* Apalis CAM1_D2 */ <IMX8QM_ESAI0_TX3_RX2_LSIO_GPIO2_IO29 0x00000021>, /* Apalis CAM1_D1 */ <IMX8QM_ESAI0_TX4_RX1_LSIO_GPIO2_IO30 0x00000021>, /* Apalis CAM1_D0 */ <IMX8QM_ESAI0_TX5_RX0_LSIO_GPIO2_IO31 0x00000021>, /* Apalis CAM1_PCLK */ <IMX8QM_MCLK_IN0_LSIO_GPIO3_IO00 0x00000021>, /* Apalis CAM1_MCLK */ <IMX8QM_SPI3_SDO_LSIO_GPIO2_IO18 0x00000021>, /* Apalis CAM1_VSYNC */ <IMX8QM_ESAI0_SCKR_LSIO_GPIO2_IO24 0x00000021>, /* Apalis CAM1_HSYNC */ <IMX8QM_ESAI0_SCKT_LSIO_GPIO2_IO25 0x00000021>; }; /* Apalis DAP1 */ pinctrl_dap1_gpios: dap1gpiosgrp { fsl,pins = /* Apalis DAP1_MCLK */ <IMX8QM_SPI3_SDI_LSIO_GPIO2_IO19 0x00000021>, /* Apalis DAP1_D_OUT */ <IMX8QM_SAI1_RXC_LSIO_GPIO3_IO12 0x00000021>, /* Apalis DAP1_RESET */ <IMX8QM_ESAI1_SCKT_LSIO_GPIO2_IO07 0x00000021>, /* Apalis DAP1_BIT_CLK */ <IMX8QM_SPI0_CS1_LSIO_GPIO3_IO06 0x00000021>, /* Apalis DAP1_D_IN */ <IMX8QM_SAI1_RXFS_LSIO_GPIO3_IO14 0x00000021>, /* Apalis DAP1_SYNC */ <IMX8QM_SPI2_CS1_LSIO_GPIO3_IO11 0x00000021>, /* On-module Wi-Fi_I2S_EN# */ <IMX8QM_ESAI1_TX5_RX0_LSIO_GPIO2_IO13 0x00000021>; }; /* Apalis LCD1_G1+2 */ pinctrl_esai0_gpios: esai0gpiosgrp { fsl,pins = /* Apalis LCD1_G1 */ <IMX8QM_ESAI0_FSR_LSIO_GPIO2_IO22 0x00000021>, /* Apalis LCD1_G2 */ <IMX8QM_ESAI0_FST_LSIO_GPIO2_IO23 0x00000021>; }; /* On-module Gigabit Ethernet PHY Micrel KSZ9031 for Apalis GLAN */ pinctrl_fec1: fec1grp { fsl,pins = /* Use pads in 3.3V mode */ <IMX8QM_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB_PAD 0x000014a0>, <IMX8QM_ENET0_MDC_CONN_ENET0_MDC 0x06000020>, <IMX8QM_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020>, <IMX8QM_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x06000020>, <IMX8QM_ENET0_RGMII_TXC_CONN_ENET0_RGMII_TXC 0x06000020>, <IMX8QM_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0 0x06000020>, <IMX8QM_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1 0x06000020>, <IMX8QM_ENET0_RGMII_TXD2_CONN_ENET0_RGMII_TXD2 0x06000020>, <IMX8QM_ENET0_RGMII_TXD3_CONN_ENET0_RGMII_TXD3 0x06000020>, <IMX8QM_ENET0_RGMII_RXC_CONN_ENET0_RGMII_RXC 0x06000020>, <IMX8QM_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL 0x06000020>, <IMX8QM_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0 0x06000020>, <IMX8QM_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x06000020>, <IMX8QM_ENET0_RGMII_RXD2_CONN_ENET0_RGMII_RXD2 0x06000020>, <IMX8QM_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x06000020>, <IMX8QM_ENET0_REFCLK_125M_25M_CONN_ENET0_REFCLK_125M_25M 0x06000020>, /* On-module ETH_RESET# */ <IMX8QM_LVDS1_GPIO01_LSIO_GPIO1_IO11 0x06000020>, /* On-module ETH_INT# */ <IMX8QM_MIPI_CSI1_MCLK_OUT_LSIO_GPIO1_IO29 0x04000060>; }; pinctrl_fec1_sleep: fec1-sleepgrp { fsl,pins = <IMX8QM_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB_PAD 0x000014a0>, <IMX8QM_ENET0_MDC_LSIO_GPIO4_IO14 0x04000040>, <IMX8QM_ENET0_MDIO_LSIO_GPIO4_IO13 0x04000040>, <IMX8QM_ENET0_RGMII_TX_CTL_LSIO_GPIO5_IO31 0x04000040>, <IMX8QM_ENET0_RGMII_TXC_LSIO_GPIO5_IO30 0x04000040>, <IMX8QM_ENET0_RGMII_TXD0_LSIO_GPIO6_IO00 0x04000040>, <IMX8QM_ENET0_RGMII_TXD1_LSIO_GPIO6_IO01 0x04000040>, <IMX8QM_ENET0_RGMII_TXD2_LSIO_GPIO6_IO02 0x04000040>, <IMX8QM_ENET0_RGMII_TXD3_LSIO_GPIO6_IO03 0x04000040>, <IMX8QM_ENET0_RGMII_RXC_LSIO_GPIO6_IO04 0x04000040>, <IMX8QM_ENET0_RGMII_RX_CTL_LSIO_GPIO6_IO05 0x04000040>, <IMX8QM_ENET0_RGMII_RXD0_LSIO_GPIO6_IO06 0x04000040>, <IMX8QM_ENET0_RGMII_RXD1_LSIO_GPIO6_IO07 0x04000040>, <IMX8QM_ENET0_RGMII_RXD2_LSIO_GPIO6_IO08 0x04000040>, <IMX8QM_ENET0_RGMII_RXD3_LSIO_GPIO6_IO09 0x04000040>, <IMX8QM_ENET0_REFCLK_125M_25M_LSIO_GPIO4_IO15 0x04000040>, <IMX8QM_LVDS1_GPIO01_LSIO_GPIO1_IO11 0x06000020>, <IMX8QM_MIPI_CSI1_MCLK_OUT_LSIO_GPIO1_IO29 0x04000040>; }; /* Apalis LCD1_ */ pinctrl_fec2_gpios: fec2gpiosgrp { fsl,pins = <IMX8QM_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA_PAD 0x000014a0>, /* Apalis LCD1_R1 */ <IMX8QM_ENET1_MDC_LSIO_GPIO4_IO18 0x00000021>, /* Apalis LCD1_R0 */ <IMX8QM_ENET1_MDIO_LSIO_GPIO4_IO17 0x00000021>, /* Apalis LCD1_G0 */ <IMX8QM_ENET1_REFCLK_125M_25M_LSIO_GPIO4_IO16 0x00000021>, /* Apalis LCD1_R7 */ <IMX8QM_ENET1_RGMII_RX_CTL_LSIO_GPIO6_IO17 0x00000021>, /* Apalis LCD1_DE */ <IMX8QM_ENET1_RGMII_RXD0_LSIO_GPIO6_IO18 0x00000021>, /* Apalis LCD1_HSYNC */ <IMX8QM_ENET1_RGMII_RXD1_LSIO_GPIO6_IO19 0x00000021>, /* Apalis LCD1_VSYNC */ <IMX8QM_ENET1_RGMII_RXD2_LSIO_GPIO6_IO20 0x00000021>, /* Apalis LCD1_PCLK */ <IMX8QM_ENET1_RGMII_RXD3_LSIO_GPIO6_IO21 0x00000021>, /* Apalis LCD1_R6 */ <IMX8QM_ENET1_RGMII_TX_CTL_LSIO_GPIO6_IO11 0x00000021>, /* Apalis LCD1_R5 */ <IMX8QM_ENET1_RGMII_TXC_LSIO_GPIO6_IO10 0x00000021>, /* Apalis LCD1_R4 */ <IMX8QM_ENET1_RGMII_TXD0_LSIO_GPIO6_IO12 0x00000021>, /* Apalis LCD1_R3 */ <IMX8QM_ENET1_RGMII_TXD1_LSIO_GPIO6_IO13 0x00000021>, /* Apalis LCD1_R2 */ <IMX8QM_ENET1_RGMII_TXD2_LSIO_GPIO6_IO14 0x00000021>; }; /* Apalis CAN1 */ pinctrl_flexcan1: flexcan0grp { fsl,pins = <IMX8QM_FLEXCAN0_TX_DMA_FLEXCAN0_TX 0x00000021>, <IMX8QM_FLEXCAN0_RX_DMA_FLEXCAN0_RX 0x00000021>; }; /* Apalis CAN2 */ pinctrl_flexcan2: flexcan1grp { fsl,pins = <IMX8QM_FLEXCAN1_TX_DMA_FLEXCAN1_TX 0x00000021>, <IMX8QM_FLEXCAN1_RX_DMA_FLEXCAN1_RX 0x00000021>; }; /* Apalis CAN3 (optional) */ pinctrl_flexcan3: flexcan2grp { fsl,pins = <IMX8QM_FLEXCAN2_TX_DMA_FLEXCAN2_TX 0x00000021>, <IMX8QM_FLEXCAN2_RX_DMA_FLEXCAN2_RX 0x00000021>; }; /* Apalis GPIO1 */ pinctrl_gpio1: gpio1grp { fsl,pins = <IMX8QM_M40_GPIO0_00_LSIO_GPIO0_IO08 0x06000021>; }; /* Apalis GPIO2 */ pinctrl_gpio2: gpio2grp { fsl,pins = <IMX8QM_M40_GPIO0_01_LSIO_GPIO0_IO09 0x06000021>; }; /* Apalis GPIO3 */ pinctrl_gpio3: gpio3grp { fsl,pins = <IMX8QM_M41_GPIO0_00_LSIO_GPIO0_IO12 0x06000021>; }; /* Apalis GPIO4 */ pinctrl_gpio4: gpio4grp { fsl,pins = <IMX8QM_M41_GPIO0_01_LSIO_GPIO0_IO13 0x06000021>; }; /* Apalis GPIO5 */ pinctrl_gpio5: gpio5grp { fsl,pins = <IMX8QM_FLEXCAN2_RX_LSIO_GPIO4_IO01 0x06000021>; }; /* Apalis GPIO6 */ pinctrl_gpio6: gpio6grp { fsl,pins = <IMX8QM_FLEXCAN2_TX_LSIO_GPIO4_IO02 0x00000021>; }; /* Apalis GPIO7 */ pinctrl_gpio7: gpio7grp { fsl,pins = <IMX8QM_MLB_SIG_LSIO_GPIO3_IO26 0x00000021>; }; /* Apalis GPIO8 */ pinctrl_gpio8: gpio8grp { fsl,pins = <IMX8QM_MLB_DATA_LSIO_GPIO3_IO28 0x00000021>; }; /* Apalis BKL1_ON */ pinctrl_gpio_bkl_on: gpiobklongrp { fsl,pins = <IMX8QM_LVDS0_GPIO00_LSIO_GPIO1_IO04 0x00000021>; }; /* Apalis WAKE1_MICO */ pinctrl_gpio_keys: gpiokeysgrp { fsl,pins = <IMX8QM_SPI3_CS0_LSIO_GPIO2_IO20 0x06700021>; }; /* Apalis USBH_OC# */ pinctrl_gpio_usbh_oc_n: gpiousbhocngrp { fsl,pins = <IMX8QM_USB_SS3_TC3_LSIO_GPIO4_IO06 0x04000021>; }; /* On-module HDMI_CTRL */ pinctrl_hdmi_ctrl: hdmictrlgrp { fsl,pins = <IMX8QM_MIPI_CSI1_GPIO0_00_LSIO_GPIO1_IO30 0x00000061>; }; /* On-module I2C */ pinctrl_lpi2c1: lpi2c1grp { fsl,pins = <IMX8QM_GPT0_CLK_DMA_I2C1_SCL 0x04000020>, <IMX8QM_GPT0_CAPTURE_DMA_I2C1_SDA 0x04000020>; }; /* Apalis I2C1 */ pinctrl_lpi2c2: lpi2c2grp { fsl,pins = <IMX8QM_GPT1_CLK_DMA_I2C2_SCL 0x04000020>, <IMX8QM_GPT1_CAPTURE_DMA_I2C2_SDA 0x04000020>; }; /* Apalis I2C3 (CAM) */ pinctrl_lpi2c3: lpi2c3grp { fsl,pins = <IMX8QM_SIM0_PD_DMA_I2C3_SCL 0x04000020>, <IMX8QM_SIM0_POWER_EN_DMA_I2C3_SDA 0x04000020>; }; /* Apalis SPI1 */ pinctrl_lpspi0: lpspi0grp { fsl,pins = <IMX8QM_SPI0_SCK_DMA_SPI0_SCK 0x0600004c>, <IMX8QM_SPI0_SDO_DMA_SPI0_SDO 0x0600004c>, <IMX8QM_SPI0_SDI_DMA_SPI0_SDI 0x0600004c>, <IMX8QM_SPI0_CS0_LSIO_GPIO3_IO05 0x0600004c>; }; /* Apalis SPI2 */ pinctrl_lpspi2: lpspi2grp { fsl,pins = <IMX8QM_SPI2_SCK_DMA_SPI2_SCK 0x0600004c>, <IMX8QM_SPI2_SDO_DMA_SPI2_SDO 0x0600004c>, <IMX8QM_SPI2_SDI_DMA_SPI2_SDI 0x0600004c>, <IMX8QM_SPI2_CS0_LSIO_GPIO3_IO10 0x0600004c>; }; /* Apalis UART3 */ pinctrl_lpuart0: lpuart0grp { fsl,pins = <IMX8QM_UART0_RX_DMA_UART0_RX 0x06000020>, <IMX8QM_UART0_TX_DMA_UART0_TX 0x06000020>; }; /* Apalis UART1 */ pinctrl_lpuart1: lpuart1grp { fsl,pins = <IMX8QM_UART1_RX_DMA_UART1_RX 0x06000020>, <IMX8QM_UART1_TX_DMA_UART1_TX 0x06000020>, <IMX8QM_UART1_CTS_B_DMA_UART1_CTS_B 0x06000020>, <IMX8QM_UART1_RTS_B_DMA_UART1_RTS_B 0x06000020>; }; /* Apalis UART1 */ pinctrl_lpuart1ctrl: lpuart1ctrlgrp { fsl,pins = /* Apalis UART1_DTR */ <IMX8QM_M40_I2C0_SCL_LSIO_GPIO0_IO06 0x00000021>, /* Apalis UART1_DSR */ <IMX8QM_M40_I2C0_SDA_LSIO_GPIO0_IO07 0x00000021>, /* Apalis UART1_DCD */ <IMX8QM_M41_I2C0_SCL_LSIO_GPIO0_IO10 0x00000021>, /* Apalis UART1_RI */ <IMX8QM_M41_I2C0_SDA_LSIO_GPIO0_IO11 0x00000021>; }; /* Apalis UART4 */ pinctrl_lpuart2: lpuart2grp { fsl,pins = <IMX8QM_LVDS0_I2C1_SCL_DMA_UART2_TX 0x06000020>, <IMX8QM_LVDS0_I2C1_SDA_DMA_UART2_RX 0x06000020>; }; /* Apalis UART2 */ pinctrl_lpuart3: lpuart3grp { fsl,pins = <IMX8QM_LVDS1_I2C1_SCL_DMA_UART3_TX 0x06000020>, <IMX8QM_LVDS1_I2C1_SDA_DMA_UART3_RX 0x06000020>, <IMX8QM_ENET1_RGMII_TXD3_DMA_UART3_RTS_B 0x06000020>, <IMX8QM_ENET1_RGMII_RXC_DMA_UART3_CTS_B 0x06000020>; }; /* Apalis TS_2 */ pinctrl_lvds0_i2c0_gpio: lvds0i2c0gpiogrp { fsl,pins = <IMX8QM_LVDS0_I2C0_SCL_LSIO_GPIO1_IO06 0x00000021>; }; /* Apalis LCD1_G6+7 */ pinctrl_lvds1_i2c0_gpios: lvds1i2c0gpiosgrp { fsl,pins = /* Apalis LCD1_G6 */ <IMX8QM_LVDS1_I2C0_SCL_LSIO_GPIO1_IO12 0x00000021>, /* Apalis LCD1_G7 */ <IMX8QM_LVDS1_I2C0_SDA_LSIO_GPIO1_IO13 0x00000021>; }; /* Apalis TS_3 */ pinctrl_mipi_dsi_0_1_en: mipidsi0-1engrp { fsl,pins = <IMX8QM_LVDS0_I2C0_SDA_LSIO_GPIO1_IO07 0x00000021>; }; /* Apalis TS_4 */ pinctrl_mipi_dsi1_gpios: mipidsi1gpiosgrp { fsl,pins = <IMX8QM_MIPI_DSI1_GPIO0_00_LSIO_GPIO1_IO22 0x00000021>; }; /* Apalis TS_1 */ pinctrl_mlb_gpios: mlbgpiosgrp { fsl,pins = <IMX8QM_MLB_CLK_LSIO_GPIO3_IO27 0x00000021>; }; /* Apalis MMC1_CD# */ pinctrl_mmc1_cd: mmc1cdgrp { fsl,pins = <IMX8QM_ESAI1_TX1_LSIO_GPIO2_IO09 0x00000021>; }; pinctrl_mmc1_cd_sleep: mmc1cdsleepgrp { fsl,pins = <IMX8QM_ESAI1_TX1_LSIO_GPIO2_IO09 0x04000021>; }; /* On-module PCIe_Wi-Fi */ pinctrl_pcieb: pciebgrp { fsl,pins = <IMX8QM_PCIE_CTRL1_CLKREQ_B_LSIO_GPIO4_IO30 0x00000021>, <IMX8QM_PCIE_CTRL1_WAKE_B_LSIO_GPIO4_IO31 0x00000021>, <IMX8QM_PCIE_CTRL1_PERST_B_LSIO_GPIO5_IO00 0x00000021>; }; /* On-module PCIe_CLK_EN1 */ pinctrl_pcie_sata_refclk: pciesatarefclkgrp { fsl,pins = <IMX8QM_USDHC2_WP_LSIO_GPIO4_IO11 0x00000021>; }; /* On-module PCIe_CLK_EN2 */ pinctrl_pcie_wifi_refclk: pciewifirefclkgrp { fsl,pins = <IMX8QM_ESAI1_TX3_RX2_LSIO_GPIO2_IO11 0x00000021>; }; /* Apalis PWM3 */ pinctrl_pwm0: pwm0grp { fsl,pins = <IMX8QM_UART0_RTS_B_LSIO_PWM0_OUT 0x00000020>; }; /* Apalis PWM4 */ pinctrl_pwm1: pwm1grp { fsl,pins = <IMX8QM_UART0_CTS_B_LSIO_PWM1_OUT 0x00000020>; }; /* Apalis PWM1 */ pinctrl_pwm2: pwm2grp { fsl,pins = <IMX8QM_GPT1_COMPARE_LSIO_PWM2_OUT 0x00000020>; }; /* Apalis PWM2 */ pinctrl_pwm3: pwm3grp { fsl,pins = <IMX8QM_GPT0_COMPARE_LSIO_PWM3_OUT 0x00000020>; }; /* Apalis BKL1_PWM */ pinctrl_pwm_bkl: pwmbklgrp { fsl,pins = <IMX8QM_LVDS1_GPIO00_LVDS1_PWM0_OUT 0x00000020>; }; /* Apalis LCD1_ */ pinctrl_qspi1a_gpios: qspi1agpiosgrp { fsl,pins = /* Apalis LCD1_B0 */ <IMX8QM_QSPI1A_DATA0_LSIO_GPIO4_IO26 0x00000021>, /* Apalis LCD1_B1 */ <IMX8QM_QSPI1A_DATA1_LSIO_GPIO4_IO25 0x00000021>, /* Apalis LCD1_B2 */ <IMX8QM_QSPI1A_DATA2_LSIO_GPIO4_IO24 0x00000021>, /* Apalis LCD1_B3 */ <IMX8QM_QSPI1A_DATA3_LSIO_GPIO4_IO23 0x00000021>, /* Apalis LCD1_B5 */ <IMX8QM_QSPI1A_DQS_LSIO_GPIO4_IO22 0x00000021>, /* Apalis LCD1_B7 */ <IMX8QM_QSPI1A_SCLK_LSIO_GPIO4_IO21 0x00000021>, /* Apalis LCD1_B4 */ <IMX8QM_QSPI1A_SS0_B_LSIO_GPIO4_IO19 0x00000021>, /* Apalis LCD1_B6 */ <IMX8QM_QSPI1A_SS1_B_LSIO_GPIO4_IO20 0x00000021>; }; /* On-module RESET_MOCI#_DRV */ pinctrl_reset_moci: resetmocigrp { fsl,pins = <IMX8QM_SCU_GPIO0_02_LSIO_GPIO0_IO30 0x00000021>; }; /* On-module I2S SGTL5000 for Apalis Analogue Audio */ pinctrl_sai1: sai1grp { fsl,pins = <IMX8QM_SAI1_TXD_AUD_SAI1_TXD 0xc600006c>, <IMX8QM_SAI1_RXD_AUD_SAI1_RXD 0xc600004c>, <IMX8QM_SAI1_TXC_AUD_SAI1_TXC 0xc600004c>, <IMX8QM_SAI1_TXFS_AUD_SAI1_TXFS 0xc600004c>; }; /* Apalis SATA1_ACT# */ pinctrl_sata1_act: sata1actgrp { fsl,pins = <IMX8QM_ESAI1_TX0_LSIO_GPIO2_IO08 0x00000021>; }; /* Apalis SD1_CD# */ pinctrl_sd1_cd: sd1cdgrp { fsl,pins = <IMX8QM_USDHC2_CD_B_LSIO_GPIO4_IO12 0x00000021>; }; /* On-module I2S SGTL5000 SYS_MCLK */ pinctrl_sgtl5000: sgtl5000grp { fsl,pins = <IMX8QM_MCLK_OUT0_AUD_ACM_MCLK_OUT0 0xc600004c>; }; /* Apalis LCD1_ */ pinctrl_sim0_gpios: sim0gpiosgrp { fsl,pins = /* Apalis LCD1_G5 */ <IMX8QM_SIM0_CLK_LSIO_GPIO0_IO00 0x00000021>, /* Apalis LCD1_G3 */ <IMX8QM_SIM0_GPIO0_00_LSIO_GPIO0_IO05 0x00000021>, /* Apalis TS_5 */ <IMX8QM_SIM0_IO_LSIO_GPIO0_IO02 0x00000021>, /* Apalis LCD1_G4 */ <IMX8QM_SIM0_RST_LSIO_GPIO0_IO01 0x00000021>; }; /* Apalis SPDIF */ pinctrl_spdif0: spdif0grp { fsl,pins = <IMX8QM_SPDIF0_TX_AUD_SPDIF0_TX 0xc6000040>, <IMX8QM_SPDIF0_RX_AUD_SPDIF0_RX 0xc6000040>; }; pinctrl_touchctrl_gpios: touchctrlgpiosgrp { fsl,pins = <IMX8QM_ESAI1_FSR_LSIO_GPIO2_IO04 0x00000021>, <IMX8QM_ESAI1_FST_LSIO_GPIO2_IO05 0x00000041>, <IMX8QM_SPI3_SCK_LSIO_GPIO2_IO17 0x00000021>, <IMX8QM_SPI3_CS1_LSIO_GPIO2_IO21 0x00000041>; }; pinctrl_touchctrl_idle: touchctrlidlegrp { fsl,pins = <IMX8QM_ADC_IN4_LSIO_GPIO3_IO22 0x00000021>, <IMX8QM_ADC_IN5_LSIO_GPIO3_IO23 0x00000021>, <IMX8QM_ADC_IN6_LSIO_GPIO3_IO24 0x00000021>, <IMX8QM_ADC_IN7_LSIO_GPIO3_IO25 0x00000021>; }; /* On-module USB HSIC HUB (active) */ pinctrl_usb_hsic_active: usbh1activegrp { fsl,pins = <IMX8QM_USB_HSIC0_DATA_CONN_USB_HSIC0_DATA 0x000000cf>, <IMX8QM_USB_HSIC0_STROBE_CONN_USB_HSIC0_STROBE 0x000000ff>; }; /* On-module USB HSIC HUB (idle) */ pinctrl_usb_hsic_idle: usbh1idlegrp { fsl,pins = <IMX8QM_USB_HSIC0_DATA_CONN_USB_HSIC0_DATA 0x000000cf>, <IMX8QM_USB_HSIC0_STROBE_CONN_USB_HSIC0_STROBE 0x000000cf>; }; /* On-module USB HSIC HUB */ pinctrl_usb3503a: usb3503agrp { fsl,pins = /* On-module HSIC_HUB_CONNECT */ <IMX8QM_SCU_GPIO0_03_LSIO_GPIO0_IO31 0x00000041>, /* On-module HSIC_INT_N */ <IMX8QM_SCU_GPIO0_05_LSIO_GPIO1_IO01 0x00000021>, /* On-module HSIC_RESET_N */ <IMX8QM_SCU_GPIO0_06_LSIO_GPIO1_IO02 0x00000041>; }; /* Apalis USBH_EN */ pinctrl_usbh_en: usbhengrp { fsl,pins = <IMX8QM_USB_SS3_TC1_LSIO_GPIO4_IO04 0x00000021>; }; /* Apalis USBO1 */ pinctrl_usbotg1: usbotg1grp { fsl,pins = /* Apalis USBO1_EN */ <IMX8QM_USB_SS3_TC0_CONN_USB_OTG1_PWR 0x00000021>, /* Apalis USBO1_OC# */ <IMX8QM_USB_SS3_TC2_CONN_USB_OTG1_OC 0x04000021>; }; /* On-module eMMC */ pinctrl_usdhc1: usdhc1grp { fsl,pins = <IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041>, <IMX8QM_EMMC0_CMD_CONN_EMMC0_CMD 0x00000021>, <IMX8QM_EMMC0_DATA0_CONN_EMMC0_DATA0 0x00000021>, <IMX8QM_EMMC0_DATA1_CONN_EMMC0_DATA1 0x00000021>, <IMX8QM_EMMC0_DATA2_CONN_EMMC0_DATA2 0x00000021>, <IMX8QM_EMMC0_DATA3_CONN_EMMC0_DATA3 0x00000021>, <IMX8QM_EMMC0_DATA4_CONN_EMMC0_DATA4 0x00000021>, <IMX8QM_EMMC0_DATA5_CONN_EMMC0_DATA5 0x00000021>, <IMX8QM_EMMC0_DATA6_CONN_EMMC0_DATA6 0x00000021>, <IMX8QM_EMMC0_DATA7_CONN_EMMC0_DATA7 0x00000021>, <IMX8QM_EMMC0_STROBE_CONN_EMMC0_STROBE 0x06000041>, <IMX8QM_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x00000021>; }; pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { fsl,pins = <IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000040>, <IMX8QM_EMMC0_CMD_CONN_EMMC0_CMD 0x00000020>, <IMX8QM_EMMC0_DATA0_CONN_EMMC0_DATA0 0x00000020>, <IMX8QM_EMMC0_DATA1_CONN_EMMC0_DATA1 0x00000020>, <IMX8QM_EMMC0_DATA2_CONN_EMMC0_DATA2 0x00000020>, <IMX8QM_EMMC0_DATA3_CONN_EMMC0_DATA3 0x00000020>, <IMX8QM_EMMC0_DATA4_CONN_EMMC0_DATA4 0x00000020>, <IMX8QM_EMMC0_DATA5_CONN_EMMC0_DATA5 0x00000020>, <IMX8QM_EMMC0_DATA6_CONN_EMMC0_DATA6 0x00000020>, <IMX8QM_EMMC0_DATA7_CONN_EMMC0_DATA7 0x00000020>, <IMX8QM_EMMC0_STROBE_CONN_EMMC0_STROBE 0x06000040>, <IMX8QM_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x00000020>; }; pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { fsl,pins = <IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000040>, <IMX8QM_EMMC0_CMD_CONN_EMMC0_CMD 0x00000020>, <IMX8QM_EMMC0_DATA0_CONN_EMMC0_DATA0 0x00000020>, <IMX8QM_EMMC0_DATA1_CONN_EMMC0_DATA1 0x00000020>, <IMX8QM_EMMC0_DATA2_CONN_EMMC0_DATA2 0x00000020>, <IMX8QM_EMMC0_DATA3_CONN_EMMC0_DATA3 0x00000020>, <IMX8QM_EMMC0_DATA4_CONN_EMMC0_DATA4 0x00000020>, <IMX8QM_EMMC0_DATA5_CONN_EMMC0_DATA5 0x00000020>, <IMX8QM_EMMC0_DATA6_CONN_EMMC0_DATA6 0x00000020>, <IMX8QM_EMMC0_DATA7_CONN_EMMC0_DATA7 0x00000020>, <IMX8QM_EMMC0_STROBE_CONN_EMMC0_STROBE 0x06000040>, <IMX8QM_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x00000020>; }; /* Apalis TS_6 */ pinctrl_usdhc1_gpios: usdhc1gpiosgrp { fsl,pins = <IMX8QM_USDHC1_STROBE_LSIO_GPIO5_IO23 0x00000021>; }; /* Apalis MMC1 */ pinctrl_usdhc2_4bit: usdhc2grp4bitgrp { fsl,pins = <IMX8QM_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041>, <IMX8QM_USDHC1_CMD_CONN_USDHC1_CMD 0x00000021>, <IMX8QM_USDHC1_DATA0_CONN_USDHC1_DATA0 0x00000021>, <IMX8QM_USDHC1_DATA1_CONN_USDHC1_DATA1 0x00000021>, <IMX8QM_USDHC1_DATA2_CONN_USDHC1_DATA2 0x00000021>, <IMX8QM_USDHC1_DATA3_CONN_USDHC1_DATA3 0x00000021>, /* On-module PMIC use */ <IMX8QM_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x00000021>; }; pinctrl_usdhc2_4bit_100mhz: usdhc2-4bit100mhzgrp { fsl,pins = <IMX8QM_USDHC1_CLK_CONN_USDHC1_CLK 0x06000040>, <IMX8QM_USDHC1_CMD_CONN_USDHC1_CMD 0x00000020>, <IMX8QM_USDHC1_DATA0_CONN_USDHC1_DATA0 0x00000020>, <IMX8QM_USDHC1_DATA1_CONN_USDHC1_DATA1 0x00000020>, <IMX8QM_USDHC1_DATA2_CONN_USDHC1_DATA2 0x00000020>, <IMX8QM_USDHC1_DATA3_CONN_USDHC1_DATA3 0x00000020>, /* On-module PMIC use */ <IMX8QM_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x00000021>; }; pinctrl_usdhc2_4bit_200mhz: usdhc2-4bit200mhzgrp { fsl,pins = <IMX8QM_USDHC1_CLK_CONN_USDHC1_CLK 0x06000040>, <IMX8QM_USDHC1_CMD_CONN_USDHC1_CMD 0x00000020>, <IMX8QM_USDHC1_DATA0_CONN_USDHC1_DATA0 0x00000020>, <IMX8QM_USDHC1_DATA1_CONN_USDHC1_DATA1 0x00000020>, <IMX8QM_USDHC1_DATA2_CONN_USDHC1_DATA2 0x00000020>, <IMX8QM_USDHC1_DATA3_CONN_USDHC1_DATA3 0x00000020>, /* On-module PMIC use */ <IMX8QM_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x00000021>; }; pinctrl_usdhc2_8bit: usdhc2grp8bitgrp { fsl,pins = <IMX8QM_USDHC1_DATA4_CONN_USDHC1_DATA4 0x00000021>, <IMX8QM_USDHC1_DATA5_CONN_USDHC1_DATA5 0x00000021>, <IMX8QM_USDHC1_DATA6_CONN_USDHC1_DATA6 0x00000021>, <IMX8QM_USDHC1_DATA7_CONN_USDHC1_DATA7 0x00000021>; }; pinctrl_usdhc2_8bit_100mhz: usdhc2-8bit100mhzgrp { fsl,pins = <IMX8QM_USDHC1_DATA4_CONN_USDHC1_DATA4 0x00000020>, <IMX8QM_USDHC1_DATA5_CONN_USDHC1_DATA5 0x00000020>, <IMX8QM_USDHC1_DATA6_CONN_USDHC1_DATA6 0x00000020>, <IMX8QM_USDHC1_DATA7_CONN_USDHC1_DATA7 0x00000020>; }; pinctrl_usdhc2_8bit_200mhz: usdhc2-8bit200mhzgrp { fsl,pins = <IMX8QM_USDHC1_DATA4_CONN_USDHC1_DATA4 0x00000020>, <IMX8QM_USDHC1_DATA5_CONN_USDHC1_DATA5 0x00000020>, <IMX8QM_USDHC1_DATA6_CONN_USDHC1_DATA6 0x00000020>, <IMX8QM_USDHC1_DATA7_CONN_USDHC1_DATA7 0x00000020>; }; pinctrl_usdhc2_4bit_sleep: usdhc2-4bitsleepgrp { fsl,pins = <IMX8QM_USDHC1_CLK_CONN_USDHC1_CLK 0x04000061>, <IMX8QM_USDHC1_CMD_CONN_USDHC1_CMD 0x04000061>, <IMX8QM_USDHC1_DATA0_CONN_USDHC1_DATA0 0x04000061>, <IMX8QM_USDHC1_DATA1_CONN_USDHC1_DATA1 0x04000061>, <IMX8QM_USDHC1_DATA2_CONN_USDHC1_DATA2 0x04000061>, <IMX8QM_USDHC1_DATA3_CONN_USDHC1_DATA3 0x04000061>, /* On-module PMIC use */ <IMX8QM_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x00000021>; }; pinctrl_usdhc2_8bit_sleep: usdhc2-8bitsleepgrp { fsl,pins = <IMX8QM_USDHC1_DATA4_CONN_USDHC1_DATA4 0x04000061>, <IMX8QM_USDHC1_DATA5_CONN_USDHC1_DATA5 0x04000061>, <IMX8QM_USDHC1_DATA6_CONN_USDHC1_DATA6 0x04000061>, <IMX8QM_USDHC1_DATA7_CONN_USDHC1_DATA7 0x04000061>; }; /* Apalis SD1 */ pinctrl_usdhc3: usdhc3grp { fsl,pins = <IMX8QM_USDHC2_CLK_CONN_USDHC2_CLK 0x06000041>, <IMX8QM_USDHC2_CMD_CONN_USDHC2_CMD 0x00000021>, <IMX8QM_USDHC2_DATA0_CONN_USDHC2_DATA0 0x00000021>, <IMX8QM_USDHC2_DATA1_CONN_USDHC2_DATA1 0x00000021>, <IMX8QM_USDHC2_DATA2_CONN_USDHC2_DATA2 0x00000021>, <IMX8QM_USDHC2_DATA3_CONN_USDHC2_DATA3 0x00000021>, /* On-module PMIC use */ <IMX8QM_USDHC2_VSELECT_CONN_USDHC2_VSELECT 0x00000021>; }; pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { fsl,pins = <IMX8QM_USDHC2_CLK_CONN_USDHC2_CLK 0x06000041>, <IMX8QM_USDHC2_CMD_CONN_USDHC2_CMD 0x00000021>, <IMX8QM_USDHC2_DATA0_CONN_USDHC2_DATA0 0x00000021>, <IMX8QM_USDHC2_DATA1_CONN_USDHC2_DATA1 0x00000021>, <IMX8QM_USDHC2_DATA2_CONN_USDHC2_DATA2 0x00000021>, <IMX8QM_USDHC2_DATA3_CONN_USDHC2_DATA3 0x00000021>, /* On-module PMIC use */ <IMX8QM_USDHC2_VSELECT_CONN_USDHC2_VSELECT 0x00000021>; }; pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { fsl,pins = <IMX8QM_USDHC2_CLK_CONN_USDHC2_CLK 0x06000041>, <IMX8QM_USDHC2_CMD_CONN_USDHC2_CMD 0x00000021>, <IMX8QM_USDHC2_DATA0_CONN_USDHC2_DATA0 0x00000021>, <IMX8QM_USDHC2_DATA1_CONN_USDHC2_DATA1 0x00000021>, <IMX8QM_USDHC2_DATA2_CONN_USDHC2_DATA2 0x00000021>, <IMX8QM_USDHC2_DATA3_CONN_USDHC2_DATA3 0x00000021>, /* On-module PMIC use */ <IMX8QM_USDHC2_VSELECT_CONN_USDHC2_VSELECT 0x00000021>; }; /* On-module Wi-Fi */ pinctrl_wifi: wifigrp { fsl,pins = /* On-module Wi-Fi_SUSCLK_32k */ <IMX8QM_SCU_GPIO0_07_SCU_DSC_RTC_CLOCK_OUTPUT_32K 0x06000021>, /* On-module Wi-Fi_PCIE_W_DISABLE */ <IMX8QM_MIPI_CSI0_MCLK_OUT_LSIO_GPIO1_IO24 0x06000021>; }; pinctrl_wifi_pdn: wifipdngrp { fsl,pins = /* On-module Wi-Fi_POWER_DOWN */ <IMX8QM_MIPI_CSI0_GPIO0_01_LSIO_GPIO1_IO28 0x06000021>; }; }; |