Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only OR MIT |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Source for J784S4 SoC Family MCU/WAKEUP Domain peripherals |
| 4 | * |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 5 | * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | &cbass_mcu_wakeup { |
| 9 | sms: system-controller@44083000 { |
| 10 | bootph-all; |
| 11 | compatible = "ti,k2g-sci"; |
| 12 | ti,host-id = <12>; |
| 13 | |
| 14 | mbox-names = "rx", "tx"; |
| 15 | |
| 16 | mboxes = <&secure_proxy_main 11>, |
| 17 | <&secure_proxy_main 13>; |
| 18 | |
| 19 | reg-names = "debug_messages"; |
| 20 | reg = <0x00 0x44083000 0x00 0x1000>; |
| 21 | |
| 22 | k3_pds: power-controller { |
| 23 | bootph-all; |
| 24 | compatible = "ti,sci-pm-domain"; |
| 25 | #power-domain-cells = <2>; |
| 26 | }; |
| 27 | |
| 28 | k3_clks: clock-controller { |
| 29 | bootph-all; |
| 30 | compatible = "ti,k2g-sci-clk"; |
| 31 | #clock-cells = <2>; |
| 32 | }; |
| 33 | |
| 34 | k3_reset: reset-controller { |
| 35 | bootph-all; |
| 36 | compatible = "ti,sci-reset"; |
| 37 | #reset-cells = <2>; |
| 38 | }; |
| 39 | }; |
| 40 | |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 41 | wkup_conf: bus@43000000 { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 42 | bootph-all; |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 43 | compatible = "simple-bus"; |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <1>; |
| 46 | ranges = <0x0 0x00 0x43000000 0x20000>; |
| 47 | |
| 48 | chipid: chipid@14 { |
| 49 | bootph-all; |
| 50 | compatible = "ti,am654-chipid"; |
| 51 | reg = <0x14 0x4>; |
| 52 | }; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 53 | }; |
| 54 | |
| 55 | secure_proxy_sa3: mailbox@43600000 { |
| 56 | compatible = "ti,am654-secure-proxy"; |
| 57 | #mbox-cells = <1>; |
| 58 | reg-names = "target_data", "rt", "scfg"; |
| 59 | reg = <0x00 0x43600000 0x00 0x10000>, |
| 60 | <0x00 0x44880000 0x00 0x20000>, |
| 61 | <0x00 0x44860000 0x00 0x20000>; |
| 62 | /* |
| 63 | * Marked Disabled: |
| 64 | * Node is incomplete as it is meant for bootloaders and |
| 65 | * firmware on non-MPU processors |
| 66 | */ |
| 67 | status = "disabled"; |
| 68 | }; |
| 69 | |
| 70 | mcu_ram: sram@41c00000 { |
| 71 | compatible = "mmio-sram"; |
| 72 | reg = <0x00 0x41c00000 0x00 0x100000>; |
| 73 | ranges = <0x00 0x00 0x41c00000 0x100000>; |
| 74 | #address-cells = <1>; |
| 75 | #size-cells = <1>; |
| 76 | }; |
| 77 | |
| 78 | wkup_pmx0: pinctrl@4301c000 { |
| 79 | compatible = "pinctrl-single"; |
| 80 | /* Proxy 0 addressing */ |
| 81 | reg = <0x00 0x4301c000 0x00 0x034>; |
| 82 | #pinctrl-cells = <1>; |
| 83 | pinctrl-single,register-width = <32>; |
| 84 | pinctrl-single,function-mask = <0xffffffff>; |
| 85 | }; |
| 86 | |
| 87 | wkup_pmx1: pinctrl@4301c038 { |
| 88 | compatible = "pinctrl-single"; |
| 89 | /* Proxy 0 addressing */ |
| 90 | reg = <0x00 0x4301c038 0x00 0x02c>; |
| 91 | #pinctrl-cells = <1>; |
| 92 | pinctrl-single,register-width = <32>; |
| 93 | pinctrl-single,function-mask = <0xffffffff>; |
| 94 | }; |
| 95 | |
| 96 | wkup_pmx2: pinctrl@4301c068 { |
| 97 | compatible = "pinctrl-single"; |
| 98 | /* Proxy 0 addressing */ |
| 99 | reg = <0x00 0x4301c068 0x00 0x120>; |
| 100 | #pinctrl-cells = <1>; |
| 101 | pinctrl-single,register-width = <32>; |
| 102 | pinctrl-single,function-mask = <0xffffffff>; |
| 103 | }; |
| 104 | |
| 105 | wkup_pmx3: pinctrl@4301c190 { |
| 106 | compatible = "pinctrl-single"; |
| 107 | /* Proxy 0 addressing */ |
| 108 | reg = <0x00 0x4301c190 0x00 0x004>; |
| 109 | #pinctrl-cells = <1>; |
| 110 | pinctrl-single,register-width = <32>; |
| 111 | pinctrl-single,function-mask = <0xffffffff>; |
| 112 | }; |
| 113 | |
| 114 | wkup_gpio_intr: interrupt-controller@42200000 { |
| 115 | compatible = "ti,sci-intr"; |
| 116 | reg = <0x00 0x42200000 0x00 0x400>; |
| 117 | ti,intr-trigger-type = <1>; |
| 118 | interrupt-controller; |
| 119 | interrupt-parent = <&gic500>; |
| 120 | #interrupt-cells = <1>; |
| 121 | ti,sci = <&sms>; |
| 122 | ti,sci-dev-id = <177>; |
| 123 | ti,interrupt-ranges = <16 960 16>; |
| 124 | }; |
| 125 | |
| 126 | /* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */ |
| 127 | mcu_timerio_input: pinctrl@40f04200 { |
| 128 | compatible = "pinctrl-single"; |
| 129 | reg = <0x00 0x40f04200 0x00 0x28>; |
| 130 | #pinctrl-cells = <1>; |
| 131 | pinctrl-single,register-width = <32>; |
| 132 | pinctrl-single,function-mask = <0x0000000f>; |
| 133 | /* Non-MPU Firmware usage */ |
| 134 | status = "reserved"; |
| 135 | }; |
| 136 | |
| 137 | /* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */ |
| 138 | mcu_timerio_output: pinctrl@40f04280 { |
| 139 | compatible = "pinctrl-single"; |
| 140 | reg = <0x00 0x40f04280 0x00 0x28>; |
| 141 | #pinctrl-cells = <1>; |
| 142 | pinctrl-single,register-width = <32>; |
| 143 | pinctrl-single,function-mask = <0x0000000f>; |
| 144 | /* Non-MPU Firmware usage */ |
| 145 | status = "reserved"; |
| 146 | }; |
| 147 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 148 | mcu_conf: bus@40f00000 { |
| 149 | compatible = "simple-bus"; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 150 | #address-cells = <1>; |
| 151 | #size-cells = <1>; |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 152 | ranges = <0x0 0x0 0x40f00000 0x20000>; |
| 153 | |
| 154 | cpsw_mac_syscon: ethernet-mac-syscon@200 { |
| 155 | compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; |
| 156 | reg = <0x200 0x8>; |
| 157 | }; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 158 | |
| 159 | phy_gmii_sel: phy@4040 { |
| 160 | compatible = "ti,am654-phy-gmii-sel"; |
| 161 | reg = <0x4040 0x4>; |
| 162 | #phy-cells = <1>; |
| 163 | }; |
| 164 | }; |
| 165 | |
| 166 | mcu_timer0: timer@40400000 { |
| 167 | compatible = "ti,am654-timer"; |
| 168 | reg = <0x00 0x40400000 0x00 0x400>; |
| 169 | interrupts = <GIC_SPI 816 IRQ_TYPE_LEVEL_HIGH>; |
| 170 | clocks = <&k3_clks 35 2>; |
| 171 | clock-names = "fck"; |
| 172 | assigned-clocks = <&k3_clks 35 2>; |
| 173 | assigned-clock-parents = <&k3_clks 35 3>; |
| 174 | power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; |
| 175 | ti,timer-pwm; |
| 176 | /* Non-MPU Firmware usage */ |
| 177 | status = "reserved"; |
| 178 | }; |
| 179 | |
| 180 | mcu_timer1: timer@40410000 { |
| 181 | bootph-all; |
| 182 | compatible = "ti,am654-timer"; |
| 183 | reg = <0x00 0x40410000 0x00 0x400>; |
| 184 | interrupts = <GIC_SPI 817 IRQ_TYPE_LEVEL_HIGH>; |
| 185 | clocks = <&k3_clks 117 2>; |
| 186 | clock-names = "fck"; |
| 187 | assigned-clocks = <&k3_clks 117 2>; |
| 188 | assigned-clock-parents = <&k3_clks 117 3>; |
| 189 | power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>; |
| 190 | ti,timer-pwm; |
| 191 | /* Non-MPU Firmware usage */ |
| 192 | status = "reserved"; |
| 193 | }; |
| 194 | |
| 195 | mcu_timer2: timer@40420000 { |
| 196 | compatible = "ti,am654-timer"; |
| 197 | reg = <0x00 0x40420000 0x00 0x400>; |
| 198 | interrupts = <GIC_SPI 818 IRQ_TYPE_LEVEL_HIGH>; |
| 199 | clocks = <&k3_clks 118 2>; |
| 200 | clock-names = "fck"; |
| 201 | assigned-clocks = <&k3_clks 118 2>; |
| 202 | assigned-clock-parents = <&k3_clks 118 3>; |
| 203 | power-domains = <&k3_pds 118 TI_SCI_PD_EXCLUSIVE>; |
| 204 | ti,timer-pwm; |
| 205 | /* Non-MPU Firmware usage */ |
| 206 | status = "reserved"; |
| 207 | }; |
| 208 | |
| 209 | mcu_timer3: timer@40430000 { |
| 210 | compatible = "ti,am654-timer"; |
| 211 | reg = <0x00 0x40430000 0x00 0x400>; |
| 212 | interrupts = <GIC_SPI 819 IRQ_TYPE_LEVEL_HIGH>; |
| 213 | clocks = <&k3_clks 119 2>; |
| 214 | clock-names = "fck"; |
| 215 | assigned-clocks = <&k3_clks 119 2>; |
| 216 | assigned-clock-parents = <&k3_clks 119 3>; |
| 217 | power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>; |
| 218 | ti,timer-pwm; |
| 219 | /* Non-MPU Firmware usage */ |
| 220 | status = "reserved"; |
| 221 | }; |
| 222 | |
| 223 | mcu_timer4: timer@40440000 { |
| 224 | compatible = "ti,am654-timer"; |
| 225 | reg = <0x00 0x40440000 0x00 0x400>; |
| 226 | interrupts = <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>; |
| 227 | clocks = <&k3_clks 120 2>; |
| 228 | clock-names = "fck"; |
| 229 | assigned-clocks = <&k3_clks 120 2>; |
| 230 | assigned-clock-parents = <&k3_clks 120 3>; |
| 231 | power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>; |
| 232 | ti,timer-pwm; |
| 233 | /* Non-MPU Firmware usage */ |
| 234 | status = "reserved"; |
| 235 | }; |
| 236 | |
| 237 | mcu_timer5: timer@40450000 { |
| 238 | compatible = "ti,am654-timer"; |
| 239 | reg = <0x00 0x40450000 0x00 0x400>; |
| 240 | interrupts = <GIC_SPI 821 IRQ_TYPE_LEVEL_HIGH>; |
| 241 | clocks = <&k3_clks 121 2>; |
| 242 | clock-names = "fck"; |
| 243 | assigned-clocks = <&k3_clks 121 2>; |
| 244 | assigned-clock-parents = <&k3_clks 121 3>; |
| 245 | power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>; |
| 246 | ti,timer-pwm; |
| 247 | /* Non-MPU Firmware usage */ |
| 248 | status = "reserved"; |
| 249 | }; |
| 250 | |
| 251 | mcu_timer6: timer@40460000 { |
| 252 | compatible = "ti,am654-timer"; |
| 253 | reg = <0x00 0x40460000 0x00 0x400>; |
| 254 | interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>; |
| 255 | clocks = <&k3_clks 122 2>; |
| 256 | clock-names = "fck"; |
| 257 | assigned-clocks = <&k3_clks 122 2>; |
| 258 | assigned-clock-parents = <&k3_clks 122 3>; |
| 259 | power-domains = <&k3_pds 122 TI_SCI_PD_EXCLUSIVE>; |
| 260 | ti,timer-pwm; |
| 261 | /* Non-MPU Firmware usage */ |
| 262 | status = "reserved"; |
| 263 | }; |
| 264 | |
| 265 | mcu_timer7: timer@40470000 { |
| 266 | compatible = "ti,am654-timer"; |
| 267 | reg = <0x00 0x40470000 0x00 0x400>; |
| 268 | interrupts = <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>; |
| 269 | clocks = <&k3_clks 123 2>; |
| 270 | clock-names = "fck"; |
| 271 | assigned-clocks = <&k3_clks 123 2>; |
| 272 | assigned-clock-parents = <&k3_clks 123 3>; |
| 273 | power-domains = <&k3_pds 123 TI_SCI_PD_EXCLUSIVE>; |
| 274 | ti,timer-pwm; |
| 275 | /* Non-MPU Firmware usage */ |
| 276 | status = "reserved"; |
| 277 | }; |
| 278 | |
| 279 | mcu_timer8: timer@40480000 { |
| 280 | compatible = "ti,am654-timer"; |
| 281 | reg = <0x00 0x40480000 0x00 0x400>; |
| 282 | interrupts = <GIC_SPI 824 IRQ_TYPE_LEVEL_HIGH>; |
| 283 | clocks = <&k3_clks 124 2>; |
| 284 | clock-names = "fck"; |
| 285 | assigned-clocks = <&k3_clks 124 2>; |
| 286 | assigned-clock-parents = <&k3_clks 124 3>; |
| 287 | power-domains = <&k3_pds 124 TI_SCI_PD_EXCLUSIVE>; |
| 288 | ti,timer-pwm; |
| 289 | /* Non-MPU Firmware usage */ |
| 290 | status = "reserved"; |
| 291 | }; |
| 292 | |
| 293 | mcu_timer9: timer@40490000 { |
| 294 | compatible = "ti,am654-timer"; |
| 295 | reg = <0x00 0x40490000 0x00 0x400>; |
| 296 | interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH>; |
| 297 | clocks = <&k3_clks 125 2>; |
| 298 | clock-names = "fck"; |
| 299 | assigned-clocks = <&k3_clks 125 2>; |
| 300 | assigned-clock-parents = <&k3_clks 125 3>; |
| 301 | power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>; |
| 302 | ti,timer-pwm; |
| 303 | /* Non-MPU Firmware usage */ |
| 304 | status = "reserved"; |
| 305 | }; |
| 306 | |
| 307 | wkup_uart0: serial@42300000 { |
| 308 | compatible = "ti,j721e-uart", "ti,am654-uart"; |
| 309 | reg = <0x00 0x42300000 0x00 0x200>; |
| 310 | interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 311 | clocks = <&k3_clks 397 0>; |
| 312 | clock-names = "fclk"; |
| 313 | power-domains = <&k3_pds 397 TI_SCI_PD_EXCLUSIVE>; |
| 314 | status = "disabled"; |
| 315 | }; |
| 316 | |
| 317 | mcu_uart0: serial@40a00000 { |
| 318 | compatible = "ti,j721e-uart", "ti,am654-uart"; |
| 319 | reg = <0x00 0x40a00000 0x00 0x200>; |
| 320 | interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 321 | clocks = <&k3_clks 149 0>; |
| 322 | clock-names = "fclk"; |
| 323 | power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; |
| 324 | status = "disabled"; |
| 325 | }; |
| 326 | |
| 327 | wkup_gpio0: gpio@42110000 { |
| 328 | compatible = "ti,j721e-gpio", "ti,keystone-gpio"; |
| 329 | reg = <0x00 0x42110000 0x00 0x100>; |
| 330 | gpio-controller; |
| 331 | #gpio-cells = <2>; |
| 332 | interrupt-parent = <&wkup_gpio_intr>; |
| 333 | interrupts = <103>, <104>, <105>, <106>, <107>, <108>; |
| 334 | interrupt-controller; |
| 335 | #interrupt-cells = <2>; |
| 336 | ti,ngpio = <89>; |
| 337 | ti,davinci-gpio-unbanked = <0>; |
| 338 | power-domains = <&k3_pds 167 TI_SCI_PD_EXCLUSIVE>; |
| 339 | clocks = <&k3_clks 167 0>; |
| 340 | clock-names = "gpio"; |
| 341 | status = "disabled"; |
| 342 | }; |
| 343 | |
| 344 | wkup_gpio1: gpio@42100000 { |
| 345 | compatible = "ti,j721e-gpio", "ti,keystone-gpio"; |
| 346 | reg = <0x00 0x42100000 0x00 0x100>; |
| 347 | gpio-controller; |
| 348 | #gpio-cells = <2>; |
| 349 | interrupt-parent = <&wkup_gpio_intr>; |
| 350 | interrupts = <112>, <113>, <114>, <115>, <116>, <117>; |
| 351 | interrupt-controller; |
| 352 | #interrupt-cells = <2>; |
| 353 | ti,ngpio = <89>; |
| 354 | ti,davinci-gpio-unbanked = <0>; |
| 355 | power-domains = <&k3_pds 168 TI_SCI_PD_EXCLUSIVE>; |
| 356 | clocks = <&k3_clks 168 0>; |
| 357 | clock-names = "gpio"; |
| 358 | status = "disabled"; |
| 359 | }; |
| 360 | |
| 361 | wkup_i2c0: i2c@42120000 { |
| 362 | compatible = "ti,j721e-i2c", "ti,omap4-i2c"; |
| 363 | reg = <0x00 0x42120000 0x00 0x100>; |
| 364 | interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>; |
| 365 | #address-cells = <1>; |
| 366 | #size-cells = <0>; |
| 367 | clocks = <&k3_clks 279 2>; |
| 368 | clock-names = "fck"; |
| 369 | power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>; |
| 370 | status = "disabled"; |
| 371 | }; |
| 372 | |
| 373 | mcu_i2c0: i2c@40b00000 { |
| 374 | compatible = "ti,j721e-i2c", "ti,omap4-i2c"; |
| 375 | reg = <0x00 0x40b00000 0x00 0x100>; |
| 376 | interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>; |
| 377 | #address-cells = <1>; |
| 378 | #size-cells = <0>; |
| 379 | clocks = <&k3_clks 277 2>; |
| 380 | clock-names = "fck"; |
| 381 | power-domains = <&k3_pds 277 TI_SCI_PD_EXCLUSIVE>; |
| 382 | status = "disabled"; |
| 383 | }; |
| 384 | |
| 385 | mcu_i2c1: i2c@40b10000 { |
| 386 | compatible = "ti,j721e-i2c", "ti,omap4-i2c"; |
| 387 | reg = <0x00 0x40b10000 0x00 0x100>; |
| 388 | interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>; |
| 389 | #address-cells = <1>; |
| 390 | #size-cells = <0>; |
| 391 | clocks = <&k3_clks 278 2>; |
| 392 | clock-names = "fck"; |
| 393 | power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>; |
| 394 | status = "disabled"; |
| 395 | }; |
| 396 | |
| 397 | mcu_mcan0: can@40528000 { |
| 398 | compatible = "bosch,m_can"; |
| 399 | reg = <0x00 0x40528000 0x00 0x200>, |
| 400 | <0x00 0x40500000 0x00 0x8000>; |
| 401 | reg-names = "m_can", "message_ram"; |
| 402 | power-domains = <&k3_pds 263 TI_SCI_PD_EXCLUSIVE>; |
| 403 | clocks = <&k3_clks 263 6>, <&k3_clks 263 1>; |
| 404 | clock-names = "hclk", "cclk"; |
| 405 | interrupts = <GIC_SPI 832 IRQ_TYPE_LEVEL_HIGH>, |
| 406 | <GIC_SPI 833 IRQ_TYPE_LEVEL_HIGH>; |
| 407 | interrupt-names = "int0", "int1"; |
| 408 | bosch,mram-cfg = <0x00 128 64 64 64 64 32 32>; |
| 409 | status = "disabled"; |
| 410 | }; |
| 411 | |
| 412 | mcu_mcan1: can@40568000 { |
| 413 | compatible = "bosch,m_can"; |
| 414 | reg = <0x00 0x40568000 0x00 0x200>, |
| 415 | <0x00 0x40540000 0x00 0x8000>; |
| 416 | reg-names = "m_can", "message_ram"; |
| 417 | power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>; |
| 418 | clocks = <&k3_clks 264 6>, <&k3_clks 264 1>; |
| 419 | clock-names = "hclk", "cclk"; |
| 420 | interrupts = <GIC_SPI 835 IRQ_TYPE_LEVEL_HIGH>, |
| 421 | <GIC_SPI 836 IRQ_TYPE_LEVEL_HIGH>; |
| 422 | interrupt-names = "int0", "int1"; |
| 423 | bosch,mram-cfg = <0x00 128 64 64 64 64 32 32>; |
| 424 | status = "disabled"; |
| 425 | }; |
| 426 | |
| 427 | mcu_spi0: spi@40300000 { |
| 428 | compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; |
| 429 | reg = <0x00 0x040300000 0x00 0x400>; |
| 430 | interrupts = <GIC_SPI 848 IRQ_TYPE_LEVEL_HIGH>; |
| 431 | #address-cells = <1>; |
| 432 | #size-cells = <0>; |
| 433 | power-domains = <&k3_pds 384 TI_SCI_PD_EXCLUSIVE>; |
| 434 | clocks = <&k3_clks 384 0>; |
| 435 | status = "disabled"; |
| 436 | }; |
| 437 | |
| 438 | mcu_spi1: spi@40310000 { |
| 439 | compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; |
| 440 | reg = <0x00 0x040310000 0x00 0x400>; |
| 441 | interrupts = <GIC_SPI 849 IRQ_TYPE_LEVEL_HIGH>; |
| 442 | #address-cells = <1>; |
| 443 | #size-cells = <0>; |
| 444 | power-domains = <&k3_pds 385 TI_SCI_PD_EXCLUSIVE>; |
| 445 | clocks = <&k3_clks 385 0>; |
| 446 | status = "disabled"; |
| 447 | }; |
| 448 | |
| 449 | mcu_spi2: spi@40320000 { |
| 450 | compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; |
| 451 | reg = <0x00 0x040320000 0x00 0x400>; |
| 452 | interrupts = <GIC_SPI 850 IRQ_TYPE_LEVEL_HIGH>; |
| 453 | #address-cells = <1>; |
| 454 | #size-cells = <0>; |
| 455 | power-domains = <&k3_pds 386 TI_SCI_PD_EXCLUSIVE>; |
| 456 | clocks = <&k3_clks 386 0>; |
| 457 | status = "disabled"; |
| 458 | }; |
| 459 | |
| 460 | mcu_navss: bus@28380000 { |
| 461 | bootph-all; |
| 462 | compatible = "simple-bus"; |
| 463 | #address-cells = <2>; |
| 464 | #size-cells = <2>; |
| 465 | ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>; |
| 466 | ti,sci-dev-id = <323>; |
| 467 | dma-coherent; |
| 468 | dma-ranges; |
| 469 | |
| 470 | mcu_ringacc: ringacc@2b800000 { |
| 471 | bootph-all; |
| 472 | compatible = "ti,am654-navss-ringacc"; |
| 473 | reg = <0x00 0x2b800000 0x00 0x400000>, |
| 474 | <0x00 0x2b000000 0x00 0x400000>, |
| 475 | <0x00 0x28590000 0x00 0x100>, |
| 476 | <0x00 0x2a500000 0x00 0x40000>, |
| 477 | <0x00 0x28440000 0x00 0x40000>; |
| 478 | reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg"; |
| 479 | ti,num-rings = <286>; |
| 480 | ti,sci-rm-range-gp-rings = <0x1>; |
| 481 | ti,sci = <&sms>; |
| 482 | ti,sci-dev-id = <328>; |
| 483 | msi-parent = <&main_udmass_inta>; |
| 484 | }; |
| 485 | |
| 486 | mcu_udmap: dma-controller@285c0000 { |
| 487 | bootph-all; |
| 488 | compatible = "ti,j721e-navss-mcu-udmap"; |
| 489 | reg = <0x00 0x285c0000 0x00 0x100>, |
| 490 | <0x00 0x2a800000 0x00 0x40000>, |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 491 | <0x00 0x2aa00000 0x00 0x40000>, |
| 492 | <0x00 0x284a0000 0x00 0x4000>, |
| 493 | <0x00 0x284c0000 0x00 0x4000>, |
| 494 | <0x00 0x28400000 0x00 0x2000>; |
| 495 | reg-names = "gcfg", "rchanrt", "tchanrt", |
| 496 | "tchan", "rchan", "rflow"; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 497 | msi-parent = <&main_udmass_inta>; |
| 498 | #dma-cells = <1>; |
| 499 | |
| 500 | ti,sci = <&sms>; |
| 501 | ti,sci-dev-id = <329>; |
| 502 | ti,ringacc = <&mcu_ringacc>; |
| 503 | ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */ |
| 504 | <0x0f>; /* TX_HCHAN */ |
| 505 | ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */ |
| 506 | <0x0b>; /* RX_HCHAN */ |
| 507 | ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */ |
| 508 | }; |
| 509 | }; |
| 510 | |
| 511 | secure_proxy_mcu: mailbox@2a480000 { |
| 512 | compatible = "ti,am654-secure-proxy"; |
| 513 | #mbox-cells = <1>; |
| 514 | reg-names = "target_data", "rt", "scfg"; |
| 515 | reg = <0x00 0x2a480000 0x00 0x80000>, |
| 516 | <0x00 0x2a380000 0x00 0x80000>, |
| 517 | <0x00 0x2a400000 0x00 0x80000>; |
| 518 | /* |
| 519 | * Marked Disabled: |
| 520 | * Node is incomplete as it is meant for bootloaders and |
| 521 | * firmware on non-MPU processors |
| 522 | */ |
| 523 | status = "disabled"; |
| 524 | }; |
| 525 | |
| 526 | mcu_cpsw: ethernet@46000000 { |
| 527 | compatible = "ti,j721e-cpsw-nuss"; |
| 528 | #address-cells = <2>; |
| 529 | #size-cells = <2>; |
| 530 | reg = <0x00 0x46000000 0x00 0x200000>; |
| 531 | reg-names = "cpsw_nuss"; |
| 532 | ranges = <0x00 0x00 0x00 0x46000000 0x00 0x200000>; |
| 533 | dma-coherent; |
| 534 | clocks = <&k3_clks 63 0>; |
| 535 | clock-names = "fck"; |
| 536 | power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>; |
| 537 | |
| 538 | dmas = <&mcu_udmap 0xf000>, |
| 539 | <&mcu_udmap 0xf001>, |
| 540 | <&mcu_udmap 0xf002>, |
| 541 | <&mcu_udmap 0xf003>, |
| 542 | <&mcu_udmap 0xf004>, |
| 543 | <&mcu_udmap 0xf005>, |
| 544 | <&mcu_udmap 0xf006>, |
| 545 | <&mcu_udmap 0xf007>, |
| 546 | <&mcu_udmap 0x7000>; |
| 547 | dma-names = "tx0", "tx1", "tx2", "tx3", |
| 548 | "tx4", "tx5", "tx6", "tx7", |
| 549 | "rx"; |
| 550 | status = "disabled"; |
| 551 | |
| 552 | ethernet-ports { |
| 553 | #address-cells = <1>; |
| 554 | #size-cells = <0>; |
| 555 | |
| 556 | mcu_cpsw_port1: port@1 { |
| 557 | reg = <1>; |
| 558 | ti,mac-only; |
| 559 | label = "port1"; |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 560 | ti,syscon-efuse = <&cpsw_mac_syscon 0x0>; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 561 | phys = <&phy_gmii_sel 1>; |
| 562 | }; |
| 563 | }; |
| 564 | |
| 565 | davinci_mdio: mdio@f00 { |
| 566 | compatible = "ti,cpsw-mdio","ti,davinci_mdio"; |
| 567 | reg = <0x00 0xf00 0x00 0x100>; |
| 568 | #address-cells = <1>; |
| 569 | #size-cells = <0>; |
| 570 | clocks = <&k3_clks 63 0>; |
| 571 | clock-names = "fck"; |
| 572 | bus_freq = <1000000>; |
| 573 | }; |
| 574 | |
| 575 | cpts@3d000 { |
| 576 | compatible = "ti,am65-cpts"; |
| 577 | reg = <0x00 0x3d000 0x00 0x400>; |
| 578 | clocks = <&k3_clks 63 3>; |
| 579 | clock-names = "cpts"; |
| 580 | assigned-clocks = <&k3_clks 63 3>; /* CPTS_RFT_CLK */ |
| 581 | assigned-clock-parents = <&k3_clks 63 5>; /* MAIN_0_HSDIV6_CLK */ |
| 582 | interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>; |
| 583 | interrupt-names = "cpts"; |
| 584 | ti,cpts-ext-ts-inputs = <4>; |
| 585 | ti,cpts-periodic-outputs = <2>; |
| 586 | }; |
| 587 | }; |
| 588 | |
| 589 | mcu_r5fss0: r5fss@41000000 { |
| 590 | compatible = "ti,j721s2-r5fss"; |
| 591 | ti,cluster-mode = <1>; |
| 592 | #address-cells = <1>; |
| 593 | #size-cells = <1>; |
| 594 | ranges = <0x41000000 0x00 0x41000000 0x20000>, |
| 595 | <0x41400000 0x00 0x41400000 0x20000>; |
| 596 | power-domains = <&k3_pds 345 TI_SCI_PD_EXCLUSIVE>; |
| 597 | |
| 598 | mcu_r5fss0_core0: r5f@41000000 { |
| 599 | compatible = "ti,j721s2-r5f"; |
| 600 | reg = <0x41000000 0x00010000>, |
| 601 | <0x41010000 0x00010000>; |
| 602 | reg-names = "atcm", "btcm"; |
| 603 | ti,sci = <&sms>; |
| 604 | ti,sci-dev-id = <346>; |
| 605 | ti,sci-proc-ids = <0x01 0xff>; |
| 606 | resets = <&k3_reset 346 1>; |
| 607 | firmware-name = "j784s4-mcu-r5f0_0-fw"; |
| 608 | ti,atcm-enable = <1>; |
| 609 | ti,btcm-enable = <1>; |
| 610 | ti,loczrama = <1>; |
| 611 | }; |
| 612 | |
| 613 | mcu_r5fss0_core1: r5f@41400000 { |
| 614 | compatible = "ti,j721s2-r5f"; |
| 615 | reg = <0x41400000 0x00010000>, |
| 616 | <0x41410000 0x00010000>; |
| 617 | reg-names = "atcm", "btcm"; |
| 618 | ti,sci = <&sms>; |
| 619 | ti,sci-dev-id = <347>; |
| 620 | ti,sci-proc-ids = <0x02 0xff>; |
| 621 | resets = <&k3_reset 347 1>; |
| 622 | firmware-name = "j784s4-mcu-r5f0_1-fw"; |
| 623 | ti,atcm-enable = <1>; |
| 624 | ti,btcm-enable = <1>; |
| 625 | ti,loczrama = <1>; |
| 626 | }; |
| 627 | }; |
| 628 | |
| 629 | wkup_vtm0: temperature-sensor@42040000 { |
| 630 | compatible = "ti,j7200-vtm"; |
| 631 | reg = <0x00 0x42040000 0x00 0x350>, |
| 632 | <0x00 0x42050000 0x00 0x350>; |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 633 | power-domains = <&k3_pds 243 TI_SCI_PD_SHARED>; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 634 | #thermal-sensor-cells = <1>; |
| 635 | }; |
| 636 | |
| 637 | tscadc0: tscadc@40200000 { |
| 638 | compatible = "ti,am3359-tscadc"; |
| 639 | reg = <0x00 0x40200000 0x00 0x1000>; |
| 640 | interrupts = <GIC_SPI 860 IRQ_TYPE_LEVEL_HIGH>; |
| 641 | power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>; |
| 642 | clocks = <&k3_clks 0 0>; |
| 643 | assigned-clocks = <&k3_clks 0 2>; |
| 644 | assigned-clock-rates = <60000000>; |
| 645 | clock-names = "fck"; |
| 646 | dmas = <&main_udmap 0x7400>, |
| 647 | <&main_udmap 0x7401>; |
| 648 | dma-names = "fifo0", "fifo1"; |
| 649 | status = "disabled"; |
| 650 | |
| 651 | adc { |
| 652 | #io-channel-cells = <1>; |
| 653 | compatible = "ti,am3359-adc"; |
| 654 | }; |
| 655 | }; |
| 656 | |
| 657 | tscadc1: tscadc@40210000 { |
| 658 | compatible = "ti,am3359-tscadc"; |
| 659 | reg = <0x00 0x40210000 0x00 0x1000>; |
| 660 | interrupts = <GIC_SPI 861 IRQ_TYPE_LEVEL_HIGH>; |
| 661 | power-domains = <&k3_pds 1 TI_SCI_PD_EXCLUSIVE>; |
| 662 | clocks = <&k3_clks 1 0>; |
| 663 | assigned-clocks = <&k3_clks 1 2>; |
| 664 | assigned-clock-rates = <60000000>; |
| 665 | clock-names = "fck"; |
| 666 | dmas = <&main_udmap 0x7402>, |
| 667 | <&main_udmap 0x7403>; |
| 668 | dma-names = "fifo0", "fifo1"; |
| 669 | status = "disabled"; |
| 670 | |
| 671 | adc { |
| 672 | #io-channel-cells = <1>; |
| 673 | compatible = "ti,am3359-adc"; |
| 674 | }; |
| 675 | }; |
| 676 | |
| 677 | fss: bus@47000000 { |
| 678 | compatible = "simple-bus"; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 679 | #address-cells = <2>; |
| 680 | #size-cells = <2>; |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 681 | ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */ |
| 682 | <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */ |
| 683 | <0x0 0x47050000 0x0 0x47050000 0x0 0x100>, /* OSPI1 Control */ |
| 684 | <0x5 0x00000000 0x5 0x00000000 0x1 0x0000000>, /* OSPI0 Memory */ |
| 685 | <0x7 0x00000000 0x7 0x00000000 0x1 0x0000000>; /* OSPI1 Memory */ |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 686 | |
| 687 | ospi0: spi@47040000 { |
| 688 | compatible = "ti,am654-ospi", "cdns,qspi-nor"; |
| 689 | reg = <0x00 0x47040000 0x00 0x100>, |
| 690 | <0x05 0x0000000 0x01 0x0000000>; |
| 691 | interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>; |
| 692 | cdns,fifo-depth = <256>; |
| 693 | cdns,fifo-width = <4>; |
| 694 | cdns,trigger-address = <0x0>; |
| 695 | clocks = <&k3_clks 161 7>; |
| 696 | assigned-clocks = <&k3_clks 161 7>; |
| 697 | assigned-clock-parents = <&k3_clks 161 9>; |
| 698 | assigned-clock-rates = <166666666>; |
| 699 | power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>; |
| 700 | #address-cells = <1>; |
| 701 | #size-cells = <0>; |
| 702 | status = "disabled"; |
| 703 | }; |
| 704 | |
| 705 | ospi1: spi@47050000 { |
| 706 | compatible = "ti,am654-ospi", "cdns,qspi-nor"; |
| 707 | reg = <0x00 0x47050000 0x00 0x100>, |
| 708 | <0x07 0x0000000 0x01 0x0000000>; |
| 709 | interrupts = <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>; |
| 710 | cdns,fifo-depth = <256>; |
| 711 | cdns,fifo-width = <4>; |
| 712 | cdns,trigger-address = <0x0>; |
| 713 | clocks = <&k3_clks 162 7>; |
| 714 | power-domains = <&k3_pds 162 TI_SCI_PD_EXCLUSIVE>; |
| 715 | #address-cells = <1>; |
| 716 | #size-cells = <0>; |
| 717 | status = "disabled"; |
| 718 | }; |
| 719 | }; |
| 720 | |
| 721 | mcu_esm: esm@40800000 { |
| 722 | compatible = "ti,j721e-esm"; |
| 723 | reg = <0x00 0x40800000 0x00 0x1000>; |
| 724 | ti,esm-pins = <95>; |
| 725 | bootph-pre-ram; |
| 726 | }; |
| 727 | |
| 728 | wkup_esm: esm@42080000 { |
| 729 | compatible = "ti,j721e-esm"; |
| 730 | reg = <0x00 0x42080000 0x00 0x1000>; |
| 731 | ti,esm-pins = <63>; |
| 732 | bootph-pre-ram; |
| 733 | }; |
| 734 | |
| 735 | /* |
| 736 | * The 2 RTI instances are couple with MCU R5Fs so keeping them |
| 737 | * reserved as these will be used by their respective firmware |
| 738 | */ |
| 739 | mcu_watchdog0: watchdog@40600000 { |
| 740 | compatible = "ti,j7-rti-wdt"; |
| 741 | reg = <0x00 0x40600000 0x00 0x100>; |
| 742 | clocks = <&k3_clks 367 1>; |
| 743 | power-domains = <&k3_pds 367 TI_SCI_PD_EXCLUSIVE>; |
| 744 | assigned-clocks = <&k3_clks 367 0>; |
| 745 | assigned-clock-parents = <&k3_clks 367 4>; |
| 746 | /* reserved for MCU_R5F0_0 */ |
| 747 | status = "reserved"; |
| 748 | }; |
| 749 | |
| 750 | mcu_watchdog1: watchdog@40610000 { |
| 751 | compatible = "ti,j7-rti-wdt"; |
| 752 | reg = <0x00 0x40610000 0x00 0x100>; |
| 753 | clocks = <&k3_clks 368 1>; |
| 754 | power-domains = <&k3_pds 368 TI_SCI_PD_EXCLUSIVE>; |
| 755 | assigned-clocks = <&k3_clks 368 0>; |
| 756 | assigned-clock-parents = <&k3_clks 368 4>; |
| 757 | /* reserved for MCU_R5F0_1 */ |
| 758 | status = "reserved"; |
| 759 | }; |
| 760 | }; |