1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright 2024 NXP 4 */ 5 6 /dts-v1/; 7 8 #include <dt-bindings/usb/pd.h> 9 #include "imx93.dtsi" 10 11 / { 12 model = "NXP i.MX93 14X14 EVK board"; 13 compatible = "fsl,imx93-14x14-evk", "f 14 15 chosen { 16 stdout-path = &lpuart1; 17 }; 18 19 reserved-memory { 20 #address-cells = <2>; 21 #size-cells = <2>; 22 ranges; 23 24 linux,cma { 25 compatible = "shared-d 26 reusable; 27 alloc-ranges = <0 0x80 28 size = <0 0x10000000>; 29 linux,cma-default; 30 }; 31 32 vdev0vring0: vdev0vring0@a4000 33 reg = <0 0xa4000000 0 34 no-map; 35 }; 36 37 vdev0vring1: vdev0vring1@a4008 38 reg = <0 0xa4008000 0 39 no-map; 40 }; 41 42 vdev1vring0: vdev1vring0@a4010 43 reg = <0 0xa4010000 0 44 no-map; 45 }; 46 47 vdev1vring1: vdev1vring1@a4018 48 reg = <0 0xa4018000 0 49 no-map; 50 }; 51 52 rsc_table: rsc-table@2021e000 53 reg = <0 0x2021e000 0 54 no-map; 55 }; 56 57 vdevbuffer: vdevbuffer@a402000 58 compatible = "shared-d 59 reg = <0 0xa4020000 0 60 no-map; 61 }; 62 }; 63 64 reg_can1_stby: regulator-can1-stby { 65 compatible = "regulator-fixed" 66 regulator-name = "can1-stby"; 67 regulator-min-microvolt = <330 68 regulator-max-microvolt = <330 69 gpio = <&pcal6524_2 10 GPIO_AC 70 enable-active-high; 71 vin-supply = <®_can1_en>; 72 }; 73 74 reg_can1_en: regulator-can1-en { 75 compatible = "regulator-fixed" 76 regulator-name = "can1-en"; 77 regulator-min-microvolt = <330 78 regulator-max-microvolt = <330 79 gpio = <&pcal6524_2 12 GPIO_AC 80 enable-active-high; 81 }; 82 83 reg_can2_stby: regulator-can2-stby { 84 compatible = "regulator-fixed" 85 regulator-name = "can2-stby"; 86 regulator-min-microvolt = <330 87 regulator-max-microvolt = <330 88 gpio = <&pcal6524_2 11 GPIO_AC 89 enable-active-high; 90 vin-supply = <®_can2_en>; 91 }; 92 93 reg_can2_en: regulator-can2-en { 94 compatible = "regulator-fixed" 95 regulator-name = "can2-en"; 96 regulator-min-microvolt = <330 97 regulator-max-microvolt = <330 98 gpio = <&pcal6524_2 13 GPIO_AC 99 enable-active-high; 100 }; 101 102 reg_usdhc2_vmmc: regulator-usdhc2 { 103 compatible = "regulator-fixed" 104 pinctrl-names = "default"; 105 pinctrl-0 = <&pinctrl_reg_usdh 106 regulator-name = "VSD_3V3"; 107 regulator-min-microvolt = <330 108 regulator-max-microvolt = <330 109 gpio = <&gpio3 7 GPIO_ACTIVE_H 110 enable-active-high; 111 off-on-delay-us = <12000>; 112 }; 113 114 reg_vdd_12v: regulator-vdd-12v { 115 compatible = "regulator-fixed" 116 regulator-name = "reg_vdd_12v" 117 regulator-min-microvolt = <120 118 regulator-max-microvolt = <120 119 gpio = <&pcal6524 14 GPIO_ACTI 120 enable-active-high; 121 }; 122 123 reg_vref_1v8: regulator-adc-vref { 124 compatible = "regulator-fixed" 125 regulator-name = "vref_1v8"; 126 regulator-min-microvolt = <180 127 regulator-max-microvolt = <180 128 }; 129 }; 130 131 &adc1 { 132 vref-supply = <®_vref_1v8>; 133 status = "okay"; 134 }; 135 136 &cm33 { 137 mbox-names = "tx", "rx", "rxdb"; 138 mboxes = <&mu1 0 1>, 139 <&mu1 1 1>, 140 <&mu1 3 1>; 141 memory-region = <&vdevbuffer>, <&vdev0 142 <&vdev1vring0>, <&vdev 143 status = "okay"; 144 }; 145 146 &fec { 147 pinctrl-names = "default"; 148 pinctrl-0 = <&pinctrl_fec>; 149 phy-mode = "rgmii-id"; 150 phy-handle = <ðphy2>; 151 fsl,magic-packet; 152 status = "okay"; 153 154 mdio { 155 #address-cells = <1>; 156 #size-cells = <0>; 157 clock-frequency = <5000000>; 158 159 ethphy2: ethernet-phy@2 { 160 compatible = "ethernet 161 reg = <2>; 162 eee-broken-1000t; 163 reset-gpios = <&pcal65 164 reset-assert-us = <100 165 reset-deassert-us = <8 166 realtek,clkout-disable 167 }; 168 }; 169 }; 170 171 &flexcan1 { 172 pinctrl-names = "default"; 173 pinctrl-0 = <&pinctrl_flexcan1>; 174 xceiver-supply = <®_can1_stby>; 175 status = "okay"; 176 }; 177 178 &flexcan2 { 179 pinctrl-names = "default"; 180 pinctrl-0 = <&pinctrl_flexcan2>; 181 xceiver-supply = <®_can2_stby>; 182 status = "okay"; 183 }; 184 185 &lpi2c1 { 186 clock-frequency = <400000>; 187 pinctrl-names = "default"; 188 pinctrl-0 = <&pinctrl_lpi2c1>; 189 status = "okay"; 190 191 lsm6dsm@6a { 192 compatible = "st,lsm6dso"; 193 reg = <0x6a>; 194 }; 195 }; 196 197 &lpi2c2 { 198 clock-frequency = <400000>; 199 pinctrl-names = "default"; 200 pinctrl-0 = <&pinctrl_lpi2c2>; 201 status = "okay"; 202 203 pcal6524_2: gpio@20 { 204 compatible = "nxp,pcal6524"; 205 reg = <0x20>; 206 gpio-controller; 207 #gpio-cells = <2>; 208 }; 209 210 pcal6524: gpio@22 { 211 compatible = "nxp,pcal6524"; 212 pinctrl-names = "default"; 213 pinctrl-0 = <&pinctrl_pcal6524 214 reg = <0x22>; 215 gpio-controller; 216 #gpio-cells = <2>; 217 interrupt-controller; 218 #interrupt-cells = <2>; 219 interrupt-parent = <&gpio3>; 220 interrupts = <27 IRQ_TYPE_LEVE 221 }; 222 }; 223 224 &lpi2c3 { 225 clock-frequency = <400000>; 226 pinctrl-names = "default"; 227 pinctrl-0 = <&pinctrl_lpi2c3>; 228 status = "okay"; 229 }; 230 231 &lpuart1 { /* console */ 232 pinctrl-names = "default"; 233 pinctrl-0 = <&pinctrl_uart1>; 234 status = "okay"; 235 }; 236 237 &mu1 { 238 status = "okay"; 239 }; 240 241 &mu2 { 242 status = "okay"; 243 }; 244 245 &usbotg1 { 246 dr_mode = "otg"; 247 hnp-disable; 248 srp-disable; 249 adp-disable; 250 disable-over-current; 251 samsung,picophy-pre-emp-curr-control = 252 samsung,picophy-dc-vol-level-adjust = 253 status = "okay"; 254 }; 255 256 &usbotg2 { 257 dr_mode = "host"; 258 disable-over-current; 259 samsung,picophy-pre-emp-curr-control = 260 samsung,picophy-dc-vol-level-adjust = 261 status = "okay"; 262 }; 263 264 &usdhc1 { 265 pinctrl-names = "default", "state_100m 266 pinctrl-0 = <&pinctrl_usdhc1>; 267 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 268 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 269 bus-width = <8>; 270 non-removable; 271 status = "okay"; 272 }; 273 274 &usdhc2 { 275 pinctrl-names = "default", "state_100m 276 pinctrl-0 = <&pinctrl_usdhc2>, <&pinct 277 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, 278 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, 279 cd-gpios = <&gpio3 00 GPIO_ACTIVE_LOW> 280 vmmc-supply = <®_usdhc2_vmmc>; 281 bus-width = <4>; 282 no-mmc; 283 status = "okay"; 284 }; 285 286 &wdog3 { 287 status = "okay"; 288 }; 289 290 &iomuxc { 291 pinctrl_flexcan1: flexcan1grp { 292 fsl,pins = < 293 MX93_PAD_PDM_CLK__CAN1 294 MX93_PAD_PDM_BIT_STREA 295 >; 296 }; 297 298 pinctrl_flexcan2: flexcan2grp { 299 fsl,pins = < 300 MX93_PAD_GPIO_IO25__CA 301 MX93_PAD_GPIO_IO27__CA 302 >; 303 }; 304 305 pinctrl_lpi2c1: lpi2c1grp { 306 fsl,pins = < 307 MX93_PAD_I2C1_SCL__LPI 308 MX93_PAD_I2C1_SDA__LPI 309 >; 310 }; 311 312 pinctrl_lpi2c2: lpi2c2grp { 313 fsl,pins = < 314 MX93_PAD_I2C2_SCL__LPI 315 MX93_PAD_I2C2_SDA__LPI 316 >; 317 }; 318 319 pinctrl_lpi2c3: lpi2c3grp { 320 fsl,pins = < 321 MX93_PAD_GPIO_IO28__LP 322 MX93_PAD_GPIO_IO29__LP 323 >; 324 }; 325 326 pinctrl_pcal6524: pcal6524grp { 327 fsl,pins = < 328 MX93_PAD_CCM_CLKO2__GP 329 >; 330 }; 331 332 pinctrl_fec: fecgrp { 333 fsl,pins = < 334 MX93_PAD_ENET2_MDC__EN 335 MX93_PAD_ENET2_MDIO__E 336 MX93_PAD_ENET2_RD0__EN 337 MX93_PAD_ENET2_RD1__EN 338 MX93_PAD_ENET2_RD2__EN 339 MX93_PAD_ENET2_RD3__EN 340 MX93_PAD_ENET2_RXC__EN 341 MX93_PAD_ENET2_RX_CTL_ 342 MX93_PAD_ENET2_TD0__EN 343 MX93_PAD_ENET2_TD1__EN 344 MX93_PAD_ENET2_TD2__EN 345 MX93_PAD_ENET2_TD3__EN 346 MX93_PAD_ENET2_TXC__EN 347 MX93_PAD_ENET2_TX_CTL_ 348 >; 349 }; 350 351 pinctrl_uart1: uart1grp { 352 fsl,pins = < 353 MX93_PAD_UART1_RXD__LP 354 MX93_PAD_UART1_TXD__LP 355 >; 356 }; 357 358 pinctrl_uart5: uart5grp { 359 fsl,pins = < 360 MX93_PAD_DAP_TDO_TRACE 361 MX93_PAD_DAP_TDI__LPUA 362 MX93_PAD_DAP_TMS_SWDIO 363 MX93_PAD_DAP_TCLK_SWCL 364 >; 365 }; 366 367 /* need to config the SION for data an 368 pinctrl_usdhc1: usdhc1grp { 369 fsl,pins = < 370 MX93_PAD_SD1_CLK__USDH 371 MX93_PAD_SD1_CMD__USDH 372 MX93_PAD_SD1_DATA0__US 373 MX93_PAD_SD1_DATA1__US 374 MX93_PAD_SD1_DATA2__US 375 MX93_PAD_SD1_DATA3__US 376 MX93_PAD_SD1_DATA4__US 377 MX93_PAD_SD1_DATA5__US 378 MX93_PAD_SD1_DATA6__US 379 MX93_PAD_SD1_DATA7__US 380 MX93_PAD_SD1_STROBE__U 381 >; 382 }; 383 384 /* need to config the SION for data an 385 pinctrl_usdhc1_100mhz: usdhc1-100mhzgr 386 fsl,pins = < 387 MX93_PAD_SD1_CLK__USDH 388 MX93_PAD_SD1_CMD__USDH 389 MX93_PAD_SD1_DATA0__US 390 MX93_PAD_SD1_DATA1__US 391 MX93_PAD_SD1_DATA2__US 392 MX93_PAD_SD1_DATA3__US 393 MX93_PAD_SD1_DATA4__US 394 MX93_PAD_SD1_DATA5__US 395 MX93_PAD_SD1_DATA6__US 396 MX93_PAD_SD1_DATA7__US 397 MX93_PAD_SD1_STROBE__U 398 >; 399 }; 400 401 /* need to config the SION for data an 402 pinctrl_usdhc1_200mhz: usdhc1-200mhzgr 403 fsl,pins = < 404 MX93_PAD_SD1_CLK__USDH 405 MX93_PAD_SD1_CMD__USDH 406 MX93_PAD_SD1_DATA0__US 407 MX93_PAD_SD1_DATA1__US 408 MX93_PAD_SD1_DATA2__US 409 MX93_PAD_SD1_DATA3__US 410 MX93_PAD_SD1_DATA4__US 411 MX93_PAD_SD1_DATA5__US 412 MX93_PAD_SD1_DATA6__US 413 MX93_PAD_SD1_DATA7__US 414 MX93_PAD_SD1_STROBE__U 415 >; 416 }; 417 418 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc 419 fsl,pins = < 420 MX93_PAD_SD2_RESET_B__ 421 >; 422 }; 423 424 pinctrl_usdhc2_gpio: usdhc2gpiogrp { 425 fsl,pins = < 426 MX93_PAD_SD2_CD_B__GPI 427 >; 428 }; 429 430 /* need to config the SION for data an 431 pinctrl_usdhc2: usdhc2grp { 432 fsl,pins = < 433 MX93_PAD_SD2_CLK__USDH 434 MX93_PAD_SD2_CMD__USDH 435 MX93_PAD_SD2_DATA0__US 436 MX93_PAD_SD2_DATA1__US 437 MX93_PAD_SD2_DATA2__US 438 MX93_PAD_SD2_DATA3__US 439 MX93_PAD_SD2_VSELECT__ 440 >; 441 }; 442 443 /* need to config the SION for data an 444 pinctrl_usdhc2_100mhz: usdhc2-100mhzgr 445 fsl,pins = < 446 MX93_PAD_SD2_CLK__USDH 447 MX93_PAD_SD2_CMD__USDH 448 MX93_PAD_SD2_DATA0__US 449 MX93_PAD_SD2_DATA1__US 450 MX93_PAD_SD2_DATA2__US 451 MX93_PAD_SD2_DATA3__US 452 MX93_PAD_SD2_VSELECT__ 453 >; 454 }; 455 456 /* need to config the SION for data an 457 pinctrl_usdhc2_200mhz: usdhc2-200mhzgr 458 fsl,pins = < 459 MX93_PAD_SD2_CLK__USDH 460 MX93_PAD_SD2_CMD__USDH 461 MX93_PAD_SD2_DATA0__US 462 MX93_PAD_SD2_DATA1__US 463 MX93_PAD_SD2_DATA2__US 464 MX93_PAD_SD2_DATA3__US 465 MX93_PAD_SD2_VSELECT__ 466 >; 467 }; 468 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.