Sinthu Raja | 58d61fb | 2022-02-09 15:06:55 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "k3-j721e.dtsi" |
| 9 | #include <dt-bindings/gpio/gpio.h> |
| 10 | #include <dt-bindings/input/input.h> |
| 11 | #include <dt-bindings/net/ti-dp83867.h> |
| 12 | |
| 13 | / { |
| 14 | compatible = "ti,j721e-sk", "ti,j721e"; |
| 15 | model = "Texas Instruments J721E SK A72"; |
| 16 | |
| 17 | chosen { |
| 18 | stdout-path = "serial2:115200n8"; |
| 19 | bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; |
| 20 | }; |
| 21 | |
| 22 | memory@80000000 { |
| 23 | device_type = "memory"; |
| 24 | /* 4G RAM */ |
| 25 | reg = <0x00000000 0x80000000 0x00000000 0x80000000>, |
| 26 | <0x00000008 0x80000000 0x00000000 0x80000000>; |
| 27 | }; |
| 28 | |
| 29 | reserved_memory: reserved-memory { |
| 30 | #address-cells = <2>; |
| 31 | #size-cells = <2>; |
| 32 | ranges; |
| 33 | |
| 34 | secure_ddr: optee@9e800000 { |
| 35 | reg = <0x00 0x9e800000 0x00 0x01800000>; |
| 36 | alignment = <0x1000>; |
| 37 | no-map; |
| 38 | }; |
| 39 | |
| 40 | mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { |
| 41 | compatible = "shared-dma-pool"; |
| 42 | reg = <0x00 0xa0000000 0x00 0x100000>; |
| 43 | no-map; |
| 44 | }; |
| 45 | |
| 46 | mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 { |
| 47 | compatible = "shared-dma-pool"; |
| 48 | reg = <0x00 0xa0100000 0x00 0xf00000>; |
| 49 | no-map; |
| 50 | }; |
| 51 | |
| 52 | mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { |
| 53 | compatible = "shared-dma-pool"; |
| 54 | reg = <0x00 0xa1000000 0x00 0x100000>; |
| 55 | no-map; |
| 56 | }; |
| 57 | |
| 58 | mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 { |
| 59 | compatible = "shared-dma-pool"; |
| 60 | reg = <0x00 0xa1100000 0x00 0xf00000>; |
| 61 | no-map; |
| 62 | }; |
| 63 | |
| 64 | main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 { |
| 65 | compatible = "shared-dma-pool"; |
| 66 | reg = <0x00 0xa2000000 0x00 0x100000>; |
| 67 | no-map; |
| 68 | }; |
| 69 | |
| 70 | main_r5fss0_core0_memory_region: r5f-memory@a2100000 { |
| 71 | compatible = "shared-dma-pool"; |
| 72 | reg = <0x00 0xa2100000 0x00 0xf00000>; |
| 73 | no-map; |
| 74 | }; |
| 75 | |
| 76 | main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 { |
| 77 | compatible = "shared-dma-pool"; |
| 78 | reg = <0x00 0xa3000000 0x00 0x100000>; |
| 79 | no-map; |
| 80 | }; |
| 81 | |
| 82 | main_r5fss0_core1_memory_region: r5f-memory@a3100000 { |
| 83 | compatible = "shared-dma-pool"; |
| 84 | reg = <0x00 0xa3100000 0x00 0xf00000>; |
| 85 | no-map; |
| 86 | }; |
| 87 | |
| 88 | main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a4000000 { |
| 89 | compatible = "shared-dma-pool"; |
| 90 | reg = <0x00 0xa4000000 0x00 0x100000>; |
| 91 | no-map; |
| 92 | }; |
| 93 | |
| 94 | main_r5fss1_core0_memory_region: r5f-memory@a4100000 { |
| 95 | compatible = "shared-dma-pool"; |
| 96 | reg = <0x00 0xa4100000 0x00 0xf00000>; |
| 97 | no-map; |
| 98 | }; |
| 99 | |
| 100 | main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a5000000 { |
| 101 | compatible = "shared-dma-pool"; |
| 102 | reg = <0x00 0xa5000000 0x00 0x100000>; |
| 103 | no-map; |
| 104 | }; |
| 105 | |
| 106 | main_r5fss1_core1_memory_region: r5f-memory@a5100000 { |
| 107 | compatible = "shared-dma-pool"; |
| 108 | reg = <0x00 0xa5100000 0x00 0xf00000>; |
| 109 | no-map; |
| 110 | }; |
| 111 | |
| 112 | c66_1_dma_memory_region: c66-dma-memory@a6000000 { |
| 113 | compatible = "shared-dma-pool"; |
| 114 | reg = <0x00 0xa6000000 0x00 0x100000>; |
| 115 | no-map; |
| 116 | }; |
| 117 | |
| 118 | c66_0_memory_region: c66-memory@a6100000 { |
| 119 | compatible = "shared-dma-pool"; |
| 120 | reg = <0x00 0xa6100000 0x00 0xf00000>; |
| 121 | no-map; |
| 122 | }; |
| 123 | |
| 124 | c66_0_dma_memory_region: c66-dma-memory@a7000000 { |
| 125 | compatible = "shared-dma-pool"; |
| 126 | reg = <0x00 0xa7000000 0x00 0x100000>; |
| 127 | no-map; |
| 128 | }; |
| 129 | |
| 130 | c66_1_memory_region: c66-memory@a7100000 { |
| 131 | compatible = "shared-dma-pool"; |
| 132 | reg = <0x00 0xa7100000 0x00 0xf00000>; |
| 133 | no-map; |
| 134 | }; |
| 135 | |
| 136 | c71_0_dma_memory_region: c71-dma-memory@a8000000 { |
| 137 | compatible = "shared-dma-pool"; |
| 138 | reg = <0x00 0xa8000000 0x00 0x100000>; |
| 139 | no-map; |
| 140 | }; |
| 141 | |
| 142 | c71_0_memory_region: c71-memory@a8100000 { |
| 143 | compatible = "shared-dma-pool"; |
| 144 | reg = <0x00 0xa8100000 0x00 0xf00000>; |
| 145 | no-map; |
| 146 | }; |
| 147 | |
| 148 | rtos_ipc_memory_region: ipc-memories@aa000000 { |
| 149 | reg = <0x00 0xaa000000 0x00 0x01c00000>; |
| 150 | alignment = <0x1000>; |
| 151 | no-map; |
| 152 | }; |
| 153 | }; |
| 154 | |
| 155 | vusb_main: fixedregulator-vusb-main5v0 { |
| 156 | /* USB MAIN INPUT 5V DC */ |
| 157 | compatible = "regulator-fixed"; |
| 158 | regulator-name = "vusb-main5v0"; |
| 159 | regulator-min-microvolt = <5000000>; |
| 160 | regulator-max-microvolt = <5000000>; |
| 161 | regulator-always-on; |
| 162 | regulator-boot-on; |
| 163 | }; |
| 164 | |
| 165 | vsys_3v3: fixedregulator-vsys3v3 { |
| 166 | /* Output of LM5141 */ |
| 167 | compatible = "regulator-fixed"; |
| 168 | regulator-name = "vsys_3v3"; |
| 169 | regulator-min-microvolt = <3300000>; |
| 170 | regulator-max-microvolt = <3300000>; |
| 171 | vin-supply = <&vusb_main>; |
| 172 | regulator-always-on; |
| 173 | regulator-boot-on; |
| 174 | }; |
| 175 | |
| 176 | vdd_mmc1: fixedregulator-sd { |
| 177 | compatible = "regulator-fixed"; |
| 178 | pinctrl-names = "default"; |
| 179 | pinctrl-0 = <&vdd_mmc1_en_pins_default>; |
| 180 | regulator-name = "vdd_mmc1"; |
| 181 | regulator-min-microvolt = <3300000>; |
| 182 | regulator-max-microvolt = <3300000>; |
| 183 | regulator-boot-on; |
| 184 | enable-active-high; |
| 185 | vin-supply = <&vsys_3v3>; |
| 186 | gpio = <&wkup_gpio0 8 GPIO_ACTIVE_HIGH>; |
| 187 | }; |
| 188 | |
| 189 | vdd_sd_dv_alt: gpio-regulator-tps659411 { |
| 190 | compatible = "regulator-gpio"; |
| 191 | pinctrl-names = "default"; |
| 192 | pinctrl-0 = <&vdd_sd_dv_alt_pins_default>; |
| 193 | regulator-name = "tps659411"; |
| 194 | regulator-min-microvolt = <1800000>; |
| 195 | regulator-max-microvolt = <3300000>; |
| 196 | regulator-boot-on; |
| 197 | vin-supply = <&vsys_3v3>; |
| 198 | gpios = <&wkup_gpio0 9 GPIO_ACTIVE_LOW>; |
| 199 | states = <3300000 0x0>, |
| 200 | <1800000 0x1>; |
| 201 | }; |
| 202 | }; |
| 203 | |
| 204 | &main_pmx0 { |
| 205 | main_mmc1_pins_default: main-mmc1-pins-default { |
| 206 | pinctrl-single,pins = < |
| 207 | J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */ |
| 208 | J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */ |
| 209 | J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */ |
| 210 | J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */ |
| 211 | J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */ |
| 212 | J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */ |
| 213 | J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */ |
| 214 | J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */ |
| 215 | >; |
| 216 | }; |
| 217 | |
| 218 | main_uart0_pins_default: main-uart0-pins-default { |
| 219 | pinctrl-single,pins = < |
| 220 | J721E_IOPAD(0x1f0, PIN_INPUT, 0) /* (AC2) UART0_CTSn */ |
| 221 | J721E_IOPAD(0x1f4, PIN_OUTPUT, 0) /* (AB1) UART0_RTSn */ |
| 222 | J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */ |
| 223 | J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */ |
| 224 | >; |
| 225 | }; |
| 226 | |
| 227 | main_i2c0_pins_default: main-i2c0-pins-default { |
| 228 | pinctrl-single,pins = < |
| 229 | J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */ |
| 230 | J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */ |
| 231 | >; |
| 232 | }; |
| 233 | |
| 234 | main_i2c1_pins_default: main-i2c1-pins-default { |
| 235 | pinctrl-single,pins = < |
| 236 | J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */ |
| 237 | J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */ |
| 238 | >; |
| 239 | }; |
| 240 | |
| 241 | main_i2c3_pins_default: main-i2c3-pins-default { |
| 242 | pinctrl-single,pins = < |
| 243 | J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */ |
| 244 | J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */ |
| 245 | >; |
| 246 | }; |
| 247 | |
| 248 | mcu_i2c0_pins_default: mcu-i2c0-pins-default { |
| 249 | pinctrl-single,pins = < |
| 250 | J721E_WKUP_IOPAD(0x100, PIN_INPUT, 0) /* (J26) MCU_I2C0_SCL */ |
| 251 | J721E_WKUP_IOPAD(0x104, PIN_INPUT, 0) /* (H25) MCU_I2C0_SDA */ |
| 252 | >; |
| 253 | }; |
| 254 | |
| 255 | main_usbss0_pins_default: main-usbss0-pins-default { |
| 256 | pinctrl-single,pins = < |
| 257 | J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */ |
| 258 | J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */ |
| 259 | >; |
| 260 | }; |
| 261 | |
| 262 | main_usbss1_pins_default: main-usbss1-pins-default { |
| 263 | pinctrl-single,pins = < |
| 264 | J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */ |
| 265 | >; |
| 266 | }; |
| 267 | }; |
| 268 | |
| 269 | &wkup_pmx0 { |
| 270 | mcu_cpsw_pins_default: mcu-cpsw-pins-default { |
| 271 | pinctrl-single,pins = < |
| 272 | J721E_WKUP_IOPAD(0x84, PIN_INPUT, 0) /* (B24) MCU_RGMII1_RD0 */ |
| 273 | J721E_WKUP_IOPAD(0x80, PIN_INPUT, 0) /* (A24) MCU_RGMII1_RD1 */ |
| 274 | J721E_WKUP_IOPAD(0x7c, PIN_INPUT, 0) /* (D24) MCU_RGMII1_RD2 */ |
| 275 | J721E_WKUP_IOPAD(0x78, PIN_INPUT, 0) /* (A25) MCU_RGMII1_RD3 */ |
| 276 | J721E_WKUP_IOPAD(0x74, PIN_INPUT, 0) /* (C24) MCU_RGMII1_RXC */ |
| 277 | J721E_WKUP_IOPAD(0x5c, PIN_INPUT, 0) /* (C25) MCU_RGMII1_RX_CTL */ |
| 278 | J721E_WKUP_IOPAD(0x6c, PIN_OUTPUT, 0) /* (B25) MCU_RGMII1_TD0 */ |
| 279 | J721E_WKUP_IOPAD(0x68, PIN_OUTPUT, 0) /* (A26) MCU_RGMII1_TD1 */ |
| 280 | J721E_WKUP_IOPAD(0x64, PIN_OUTPUT, 0) /* (A27) MCU_RGMII1_TD2 */ |
| 281 | J721E_WKUP_IOPAD(0x60, PIN_OUTPUT, 0) /* (A28) MCU_RGMII1_TD3 */ |
| 282 | J721E_WKUP_IOPAD(0x70, PIN_OUTPUT, 0) /* (B26) MCU_RGMII1_TXC */ |
| 283 | J721E_WKUP_IOPAD(0x58, PIN_OUTPUT, 0) /* (B27) MCU_RGMII1_TX_CTL */ |
| 284 | >; |
| 285 | }; |
| 286 | |
| 287 | mcu_mdio_pins_default: mcu-mdio1-pins-default { |
| 288 | pinctrl-single,pins = < |
| 289 | J721E_WKUP_IOPAD(0x8c, PIN_OUTPUT, 0) /* (F23) MCU_MDIO0_MDC */ |
| 290 | J721E_WKUP_IOPAD(0x88, PIN_INPUT, 0) /* (E23) MCU_MDIO0_MDIO */ |
| 291 | >; |
| 292 | }; |
| 293 | |
| 294 | mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { |
| 295 | pinctrl-single,pins = < |
| 296 | J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 0) /* (E20) MCU_OSPI0_CLK */ |
| 297 | J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 0) /* (F19) MCU_OSPI0_CSn0 */ |
| 298 | J721E_WKUP_IOPAD(0xc, PIN_INPUT, 0) /* (D20) MCU_OSPI0_D0 */ |
| 299 | J721E_WKUP_IOPAD(0x10, PIN_INPUT, 0) /* (G19) MCU_OSPI0_D1 */ |
| 300 | J721E_WKUP_IOPAD(0x14, PIN_INPUT, 0) /* (G20) MCU_OSPI0_D2 */ |
| 301 | J721E_WKUP_IOPAD(0x18, PIN_INPUT, 0) /* (F20) MCU_OSPI0_D3 */ |
| 302 | J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 0) /* (F21) MCU_OSPI0_D4 */ |
| 303 | J721E_WKUP_IOPAD(0x20, PIN_INPUT, 0) /* (E21) MCU_OSPI0_D5 */ |
| 304 | J721E_WKUP_IOPAD(0x24, PIN_INPUT, 0) /* (B22) MCU_OSPI0_D6 */ |
| 305 | J721E_WKUP_IOPAD(0x28, PIN_INPUT, 0) /* (G21) MCU_OSPI0_D7 */ |
| 306 | J721E_WKUP_IOPAD(0x8, PIN_INPUT, 0) /* (D21) MCU_OSPI0_DQS */ |
| 307 | >; |
| 308 | }; |
| 309 | |
| 310 | vdd_mmc1_en_pins_default: vdd-mmc1-en-pins-default { |
| 311 | pinctrl-single,pins = < |
| 312 | J721E_WKUP_IOPAD(0xd0, PIN_OUTPUT, 7) /* (G27) WKUP_GPIO0_8 */ |
| 313 | >; |
| 314 | }; |
| 315 | |
| 316 | vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-pins-default { |
| 317 | pinctrl-single,pins = < |
| 318 | J721E_WKUP_IOPAD(0xd4, PIN_OUTPUT, 7) /* (G26) WKUP_GPIO0_9 */ |
| 319 | >; |
| 320 | }; |
| 321 | |
| 322 | wkup_i2c0_pins_default: wkup-i2c0-pins-default { |
| 323 | pinctrl-single,pins = < |
| 324 | J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */ |
| 325 | J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */ |
| 326 | >; |
| 327 | }; |
| 328 | }; |
| 329 | |
| 330 | &wkup_uart0 { |
| 331 | /* Wakeup UART is used by System firmware */ |
| 332 | status = "reserved"; |
| 333 | }; |
| 334 | |
| 335 | &main_uart0 { |
| 336 | pinctrl-names = "default"; |
| 337 | pinctrl-0 = <&main_uart0_pins_default>; |
| 338 | /* Shared with ATF on this platform */ |
| 339 | power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; |
| 340 | }; |
| 341 | |
| 342 | &main_uart2 { |
| 343 | /* Brought out on RPi header */ |
| 344 | status = "disabled"; |
| 345 | }; |
| 346 | |
| 347 | &main_uart3 { |
| 348 | /* UART not brought out */ |
| 349 | status = "disabled"; |
| 350 | }; |
| 351 | |
| 352 | &main_uart5 { |
| 353 | /* UART not brought out */ |
| 354 | status = "disabled"; |
| 355 | }; |
| 356 | |
| 357 | &main_uart6 { |
| 358 | /* UART not brought out */ |
| 359 | status = "disabled"; |
| 360 | }; |
| 361 | |
| 362 | &main_uart7 { |
| 363 | /* UART not brought out */ |
| 364 | status = "disabled"; |
| 365 | }; |
| 366 | |
| 367 | &main_uart8 { |
| 368 | /* UART not brought out */ |
| 369 | status = "disabled"; |
| 370 | }; |
| 371 | |
| 372 | &main_uart9 { |
| 373 | /* Brought out on M.2 E Key */ |
| 374 | status = "disabled"; |
| 375 | }; |
| 376 | |
| 377 | &main_sdhci0 { |
| 378 | /* Unused */ |
| 379 | status = "disabled"; |
| 380 | }; |
| 381 | |
| 382 | &main_sdhci1 { |
| 383 | /* SD Card */ |
| 384 | vmmc-supply = <&vdd_mmc1>; |
| 385 | vqmmc-supply = <&vdd_sd_dv_alt>; |
| 386 | pinctrl-names = "default"; |
| 387 | pinctrl-0 = <&main_mmc1_pins_default>; |
| 388 | ti,driver-strength-ohm = <50>; |
| 389 | disable-wp; |
| 390 | }; |
| 391 | |
| 392 | &main_sdhci2 { |
| 393 | /* Unused */ |
| 394 | status = "disabled"; |
| 395 | }; |
| 396 | |
| 397 | &ospi0 { |
| 398 | pinctrl-names = "default"; |
| 399 | pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; |
| 400 | |
| 401 | flash@0{ |
| 402 | compatible = "jedec,spi-nor"; |
| 403 | reg = <0x0>; |
| 404 | spi-tx-bus-width = <8>; |
| 405 | spi-rx-bus-width = <8>; |
| 406 | spi-max-frequency = <25000000>; |
| 407 | cdns,tshsl-ns = <60>; |
| 408 | cdns,tsd2d-ns = <60>; |
| 409 | cdns,tchsh-ns = <60>; |
| 410 | cdns,tslch-ns = <60>; |
| 411 | cdns,read-delay = <4>; |
| 412 | cdns,phy-mode; |
| 413 | cdns,phy-tx-start = <18>; |
| 414 | #address-cells = <1>; |
| 415 | #size-cells = <1>; |
| 416 | }; |
| 417 | }; |
| 418 | |
| 419 | &ospi1 { |
| 420 | /* Unused */ |
| 421 | status = "disabled"; |
| 422 | }; |
| 423 | |
| 424 | &main_i2c0 { |
| 425 | pinctrl-names = "default"; |
| 426 | pinctrl-0 = <&main_i2c0_pins_default>; |
| 427 | clock-frequency = <400000>; |
| 428 | }; |
| 429 | |
| 430 | &main_i2c1 { |
| 431 | pinctrl-names = "default"; |
| 432 | pinctrl-0 = <&main_i2c1_pins_default>; |
| 433 | clock-frequency = <400000>; |
| 434 | }; |
| 435 | |
| 436 | &main_i2c3 { |
| 437 | pinctrl-names = "default"; |
| 438 | pinctrl-0 = <&main_i2c3_pins_default>; |
| 439 | clock-frequency = <400000>; |
| 440 | }; |
| 441 | |
| 442 | &main_i2c4 { |
| 443 | /* Unused */ |
| 444 | status = "disabled"; |
| 445 | }; |
| 446 | |
| 447 | &main_i2c5 { |
| 448 | /* Brought out on RPi Header */ |
| 449 | status = "disabled"; |
| 450 | }; |
| 451 | |
| 452 | &main_i2c6 { |
| 453 | /* Unused */ |
| 454 | status = "disabled"; |
| 455 | }; |
| 456 | |
| 457 | &mcu_i2c0 { |
| 458 | pinctrl-names = "default"; |
| 459 | pinctrl-0 = <&mcu_i2c0_pins_default>; |
| 460 | clock-frequency = <400000>; |
| 461 | }; |
| 462 | |
| 463 | &usb_serdes_mux { |
| 464 | idle-states = <1>, <1>; /* USB0 to SERDES3, USB1 to SERDES2 */ |
| 465 | }; |
| 466 | |
| 467 | &serdes_ln_ctrl { |
| 468 | idle-states = <J721E_SERDES0_LANE0_PCIE0_LANE0>, <J721E_SERDES0_LANE1_IP4_UNUSED>, |
| 469 | <J721E_SERDES1_LANE0_PCIE1_LANE0>, <J721E_SERDES1_LANE1_PCIE1_LANE1>, |
| 470 | <J721E_SERDES2_LANE0_IP1_UNUSED>, <J721E_SERDES2_LANE1_USB3_1>, |
| 471 | <J721E_SERDES3_LANE0_USB3_0_SWAP>, <J721E_SERDES3_LANE1_USB3_0>, |
| 472 | <J721E_SERDES4_LANE0_EDP_LANE0>, <J721E_SERDES4_LANE1_EDP_LANE1>, |
| 473 | <J721E_SERDES4_LANE2_EDP_LANE2>, <J721E_SERDES4_LANE3_EDP_LANE3>; |
| 474 | }; |
| 475 | |
| 476 | &serdes_wiz3 { |
| 477 | typec-dir-gpios = <&main_gpio1 3 GPIO_ACTIVE_HIGH>; |
| 478 | typec-dir-debounce-ms = <700>; /* TUSB321, tCCB_DEFAULT 133 ms */ |
| 479 | }; |
| 480 | |
| 481 | &serdes3 { |
| 482 | serdes3_usb_link: link@0 { |
| 483 | reg = <0>; |
| 484 | cdns,num-lanes = <2>; |
| 485 | #phy-cells = <0>; |
| 486 | cdns,phy-type = <PHY_TYPE_USB3>; |
| 487 | resets = <&serdes_wiz3 1>, <&serdes_wiz3 2>; |
| 488 | }; |
| 489 | }; |
| 490 | |
| 491 | &usbss0 { |
| 492 | pinctrl-names = "default"; |
| 493 | pinctrl-0 = <&main_usbss0_pins_default>; |
| 494 | ti,vbus-divider; |
| 495 | }; |
| 496 | |
| 497 | &usb0 { |
| 498 | dr_mode = "otg"; |
| 499 | maximum-speed = "super-speed"; |
| 500 | phys = <&serdes3_usb_link>; |
| 501 | phy-names = "cdns3,usb3-phy"; |
| 502 | }; |
| 503 | |
| 504 | &serdes2 { |
| 505 | serdes2_usb_link: link@1 { |
| 506 | reg = <1>; |
| 507 | cdns,num-lanes = <1>; |
| 508 | #phy-cells = <0>; |
| 509 | cdns,phy-type = <PHY_TYPE_USB3>; |
| 510 | resets = <&serdes_wiz2 2>; |
| 511 | }; |
| 512 | }; |
| 513 | |
| 514 | &usbss1 { |
| 515 | pinctrl-names = "default"; |
| 516 | pinctrl-0 = <&main_usbss1_pins_default>; |
| 517 | ti,vbus-divider; |
| 518 | }; |
| 519 | |
| 520 | &usb1 { |
| 521 | dr_mode = "host"; |
| 522 | maximum-speed = "super-speed"; |
| 523 | phys = <&serdes2_usb_link>; |
| 524 | phy-names = "cdns3,usb3-phy"; |
| 525 | }; |
| 526 | |
| 527 | &tscadc0 { |
| 528 | /* Unused */ |
| 529 | status = "disabled"; |
| 530 | }; |
| 531 | |
| 532 | &tscadc1 { |
| 533 | /* Unused */ |
| 534 | status = "disabled"; |
| 535 | }; |
| 536 | |
| 537 | &mcu_cpsw { |
| 538 | pinctrl-names = "default"; |
| 539 | pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; |
| 540 | }; |
| 541 | |
| 542 | &davinci_mdio { |
| 543 | phy0: ethernet-phy@0 { |
| 544 | reg = <0>; |
| 545 | ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; |
| 546 | ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 547 | }; |
| 548 | }; |
| 549 | |
| 550 | &cpsw_port1 { |
| 551 | phy-mode = "rgmii-rxid"; |
| 552 | phy-handle = <&phy0>; |
| 553 | }; |
| 554 | |
| 555 | &dss { |
| 556 | assigned-clocks = <&k3_clks 152 1>, /* VP 1 pixel clock */ |
| 557 | <&k3_clks 152 4>, /* VP 2 pixel clock */ |
| 558 | <&k3_clks 152 9>, /* VP 3 pixel clock */ |
| 559 | <&k3_clks 152 13>; /* VP 4 pixel clock */ |
| 560 | assigned-clock-parents = <&k3_clks 152 2>, /* PLL16_HSDIV0 */ |
| 561 | <&k3_clks 152 6>, /* DPI0_EXT_CLKSEL_OUT0 */ |
| 562 | <&k3_clks 152 11>, /* PLL18_HSDIV0 */ |
| 563 | <&k3_clks 152 18>; /* DPI1_EXT_CLKSEL_OUT0 */ |
| 564 | }; |
| 565 | |
| 566 | &mcasp0 { |
| 567 | /* Unused */ |
| 568 | status = "disabled"; |
| 569 | }; |
| 570 | |
| 571 | &mcasp1 { |
| 572 | /* Unused */ |
| 573 | status = "disabled"; |
| 574 | }; |
| 575 | |
| 576 | &mcasp2 { |
| 577 | /* Unused */ |
| 578 | status = "disabled"; |
| 579 | }; |
| 580 | |
| 581 | &mcasp3 { |
| 582 | /* Unused */ |
| 583 | status = "disabled"; |
| 584 | }; |
| 585 | |
| 586 | &mcasp4 { |
| 587 | /* Unused */ |
| 588 | status = "disabled"; |
| 589 | }; |
| 590 | |
| 591 | &mcasp5 { |
| 592 | /* Unused */ |
| 593 | status = "disabled"; |
| 594 | }; |
| 595 | |
| 596 | &mcasp6 { |
| 597 | /* Brought out on RPi header */ |
| 598 | status = "disabled"; |
| 599 | }; |
| 600 | |
| 601 | &mcasp7 { |
| 602 | /* Unused */ |
| 603 | status = "disabled"; |
| 604 | }; |
| 605 | |
| 606 | &mcasp8 { |
| 607 | /* Unused */ |
| 608 | status = "disabled"; |
| 609 | }; |
| 610 | |
| 611 | &mcasp9 { |
| 612 | /* Unused */ |
| 613 | status = "disabled"; |
| 614 | }; |
| 615 | |
| 616 | &mcasp10 { |
| 617 | /* Unused */ |
| 618 | status = "disabled"; |
| 619 | }; |
| 620 | |
| 621 | &mcasp11 { |
| 622 | /* Brought out on M.2 E Key */ |
| 623 | status = "disabled"; |
| 624 | }; |
| 625 | |
| 626 | &pcie2_rc { |
| 627 | /* Unused */ |
| 628 | status = "disabled"; |
| 629 | }; |
| 630 | |
| 631 | &pcie2_ep { |
| 632 | /* Unused */ |
| 633 | status = "disabled"; |
| 634 | }; |
| 635 | |
| 636 | &pcie3_rc { |
| 637 | /* Unused */ |
| 638 | status = "disabled"; |
| 639 | }; |
| 640 | |
| 641 | &pcie3_ep { |
| 642 | /* Unused */ |
| 643 | status = "disabled"; |
| 644 | }; |
| 645 | |
| 646 | &mailbox0_cluster0 { |
| 647 | interrupts = <436>; |
| 648 | |
| 649 | mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { |
| 650 | ti,mbox-rx = <0 0 0>; |
| 651 | ti,mbox-tx = <1 0 0>; |
| 652 | }; |
| 653 | |
| 654 | mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { |
| 655 | ti,mbox-rx = <2 0 0>; |
| 656 | ti,mbox-tx = <3 0 0>; |
| 657 | }; |
| 658 | }; |
| 659 | |
| 660 | &mailbox0_cluster1 { |
| 661 | interrupts = <432>; |
| 662 | |
| 663 | mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { |
| 664 | ti,mbox-rx = <0 0 0>; |
| 665 | ti,mbox-tx = <1 0 0>; |
| 666 | }; |
| 667 | |
| 668 | mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { |
| 669 | ti,mbox-rx = <2 0 0>; |
| 670 | ti,mbox-tx = <3 0 0>; |
| 671 | }; |
| 672 | }; |
| 673 | |
| 674 | &mailbox0_cluster2 { |
| 675 | interrupts = <428>; |
| 676 | |
| 677 | mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { |
| 678 | ti,mbox-rx = <0 0 0>; |
| 679 | ti,mbox-tx = <1 0 0>; |
| 680 | }; |
| 681 | |
| 682 | mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { |
| 683 | ti,mbox-rx = <2 0 0>; |
| 684 | ti,mbox-tx = <3 0 0>; |
| 685 | }; |
| 686 | }; |
| 687 | |
| 688 | &mailbox0_cluster3 { |
| 689 | interrupts = <424>; |
| 690 | |
| 691 | mbox_c66_0: mbox-c66-0 { |
| 692 | ti,mbox-rx = <0 0 0>; |
| 693 | ti,mbox-tx = <1 0 0>; |
| 694 | }; |
| 695 | |
| 696 | mbox_c66_1: mbox-c66-1 { |
| 697 | ti,mbox-rx = <2 0 0>; |
| 698 | ti,mbox-tx = <3 0 0>; |
| 699 | }; |
| 700 | }; |
| 701 | |
| 702 | &mailbox0_cluster4 { |
| 703 | interrupts = <420>; |
| 704 | |
| 705 | mbox_c71_0: mbox-c71-0 { |
| 706 | ti,mbox-rx = <0 0 0>; |
| 707 | ti,mbox-tx = <1 0 0>; |
| 708 | }; |
| 709 | }; |
| 710 | |
| 711 | &mailbox0_cluster5 { |
| 712 | status = "disabled"; |
| 713 | }; |
| 714 | |
| 715 | &mailbox0_cluster6 { |
| 716 | status = "disabled"; |
| 717 | }; |
| 718 | |
| 719 | &mailbox0_cluster7 { |
| 720 | status = "disabled"; |
| 721 | }; |
| 722 | |
| 723 | &mailbox0_cluster8 { |
| 724 | status = "disabled"; |
| 725 | }; |
| 726 | |
| 727 | &mailbox0_cluster9 { |
| 728 | status = "disabled"; |
| 729 | }; |
| 730 | |
| 731 | &mailbox0_cluster10 { |
| 732 | status = "disabled"; |
| 733 | }; |
| 734 | |
| 735 | &mailbox0_cluster11 { |
| 736 | status = "disabled"; |
| 737 | }; |
| 738 | |
| 739 | &mcu_r5fss0_core0 { |
| 740 | mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; |
| 741 | memory-region = <&mcu_r5fss0_core0_dma_memory_region>, |
| 742 | <&mcu_r5fss0_core0_memory_region>; |
| 743 | }; |
| 744 | |
| 745 | &mcu_r5fss0_core1 { |
| 746 | mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; |
| 747 | memory-region = <&mcu_r5fss0_core1_dma_memory_region>, |
| 748 | <&mcu_r5fss0_core1_memory_region>; |
| 749 | }; |
| 750 | |
| 751 | &main_r5fss0_core0 { |
| 752 | mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; |
| 753 | memory-region = <&main_r5fss0_core0_dma_memory_region>, |
| 754 | <&main_r5fss0_core0_memory_region>; |
| 755 | }; |
| 756 | |
| 757 | &main_r5fss0_core1 { |
| 758 | mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; |
| 759 | memory-region = <&main_r5fss0_core1_dma_memory_region>, |
| 760 | <&main_r5fss0_core1_memory_region>; |
| 761 | }; |
| 762 | |
| 763 | &main_r5fss1_core0 { |
| 764 | mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; |
| 765 | memory-region = <&main_r5fss1_core0_dma_memory_region>, |
| 766 | <&main_r5fss1_core0_memory_region>; |
| 767 | }; |
| 768 | |
| 769 | &main_r5fss1_core1 { |
| 770 | mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; |
| 771 | memory-region = <&main_r5fss1_core1_dma_memory_region>, |
| 772 | <&main_r5fss1_core1_memory_region>; |
| 773 | }; |
| 774 | |
| 775 | &c66_0 { |
| 776 | mboxes = <&mailbox0_cluster3 &mbox_c66_0>; |
| 777 | memory-region = <&c66_0_dma_memory_region>, |
| 778 | <&c66_0_memory_region>; |
| 779 | }; |
| 780 | |
| 781 | &c66_1 { |
| 782 | mboxes = <&mailbox0_cluster3 &mbox_c66_1>; |
| 783 | memory-region = <&c66_1_dma_memory_region>, |
| 784 | <&c66_1_memory_region>; |
| 785 | }; |
| 786 | |
| 787 | &c71_0 { |
| 788 | mboxes = <&mailbox0_cluster4 &mbox_c71_0>; |
| 789 | memory-region = <&c71_0_dma_memory_region>, |
| 790 | <&c71_0_memory_region>; |
| 791 | }; |