Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 3 | * Copyright (C) 2020-2023 Texas Instruments Incorporated - https://www.ti.com/ |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 8 | #include "k3-j7200-common-proc-board.dts" |
Kevin Scholz | 7a16fb5 | 2021-06-03 08:14:53 -0500 | [diff] [blame] | 9 | #include "k3-j7200-ddr-evm-lp4-2666.dtsi" |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 10 | #include "k3-j721e-ddr.dtsi" |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 11 | #include "k3-j7200-common-proc-board-u-boot.dtsi" |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | aliases { |
| 15 | remoteproc0 = &sysctrler; |
| 16 | remoteproc1 = &a72_0; |
| 17 | }; |
| 18 | |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 19 | a72_0: a72@0 { |
| 20 | compatible = "ti,am654-rproc"; |
| 21 | reg = <0x0 0x00a90000 0x0 0x10>; |
| 22 | power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, |
Manorit Chawdhry | 2806e83 | 2023-04-14 09:47:55 +0530 | [diff] [blame] | 23 | <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>, |
| 24 | <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 25 | resets = <&k3_reset 202 0>; |
Manorit Chawdhry | f23728b | 2024-10-15 16:22:19 +0530 | [diff] [blame^] | 26 | clocks = <&k3_clks 61 1>, <&k3_clks 202 2>; |
| 27 | clock-names = "gtc", "core"; |
Reid Tonking | 704ef10 | 2023-12-07 10:52:11 -0600 | [diff] [blame] | 28 | assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>, <&k3_clks 323 0>; |
| 29 | assigned-clock-parents= <0>, <0>, <&k3_clks 323 2>; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 30 | assigned-clock-rates = <2000000000>, <200000000>; |
| 31 | ti,sci = <&dmsc>; |
| 32 | ti,sci-proc-id = <32>; |
| 33 | ti,sci-host-id = <10>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 34 | bootph-pre-ram; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 35 | }; |
| 36 | |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 37 | dm_tifs: dm-tifs { |
| 38 | compatible = "ti,j721e-dm-sci"; |
| 39 | ti,host-id = <3>; |
| 40 | ti,secure-host; |
| 41 | mbox-names = "rx", "tx"; |
| 42 | mboxes = <&secure_proxy_mcu 21>, |
| 43 | <&secure_proxy_mcu 23>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 44 | bootph-pre-ram; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 45 | }; |
| 46 | }; |
| 47 | |
| 48 | &memorycontroller { |
| 49 | power-domains = <&k3_pds 8 TI_SCI_PD_SHARED>, |
| 50 | <&k3_pds 90 TI_SCI_PD_SHARED>; |
| 51 | clocks = <&k3_clks 8 5>, <&k3_clks 30 9>; |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 52 | bootph-pre-ram; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 53 | }; |
| 54 | |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 55 | &mcu_timer0 { |
Aniket Limaye | 264f228 | 2024-03-06 12:07:48 +0530 | [diff] [blame] | 56 | clock-frequency = <250000000>; |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 57 | bootph-pre-ram; |
| 58 | }; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 59 | |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 60 | &secure_proxy_mcu { |
| 61 | bootph-pre-ram; |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &cbass_mcu_wakeup { |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 66 | sysctrler: sysctrler { |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 67 | compatible = "ti,am654-system-controller"; |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 68 | mboxes= <&secure_proxy_mcu 4>, |
| 69 | <&secure_proxy_mcu 5>; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 70 | mbox-names = "tx", "rx"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 71 | bootph-pre-ram; |
Vignesh Raghavendra | 9818197 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 72 | }; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | &dmsc { |
Reid Tonking | 7a2826a | 2023-10-05 13:12:58 -0500 | [diff] [blame] | 76 | mboxes = <&secure_proxy_mcu 8>, |
| 77 | <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 78 | mbox-names = "tx", "rx", "notify"; |
| 79 | ti,host-id = <4>; |
| 80 | ti,secure-host; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-pre-ram; |
Dave Gerlach | fe50693 | 2020-08-05 22:44:29 +0530 | [diff] [blame] | 82 | }; |
| 83 | |
Gowtham Tammana | 5075bad | 2021-07-14 15:52:59 -0500 | [diff] [blame] | 84 | &wkup_vtm0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-pre-ram; |
Gowtham Tammana | 5075bad | 2021-07-14 15:52:59 -0500 | [diff] [blame] | 86 | }; |
Aniket Limaye | e49d5da | 2024-03-06 12:07:47 +0530 | [diff] [blame] | 87 | |
| 88 | &ospi0 { |
| 89 | reg = <0x0 0x47040000 0x0 0x100>, |
| 90 | <0x0 0x50000000 0x0 0x8000000>; |
| 91 | }; |
Aniket Limaye | 06ae6c4 | 2024-03-06 12:07:49 +0530 | [diff] [blame] | 92 | |
Jonathan Humphreys | beb3106 | 2024-08-09 18:01:55 -0500 | [diff] [blame] | 93 | &fss { |
| 94 | /* enable ranges missing from the FSS node */ |
| 95 | ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x00068400>, |
| 96 | <0x0 0x50000000 0x0 0x50000000 0x0 0x08000000>; |
| 97 | }; |
| 98 | |
Aniket Limaye | 06ae6c4 | 2024-03-06 12:07:49 +0530 | [diff] [blame] | 99 | &mcu_ringacc { |
| 100 | ti,sci = <&dm_tifs>; |
| 101 | }; |
| 102 | |
| 103 | &mcu_udmap { |
| 104 | ti,sci = <&dm_tifs>; |
| 105 | }; |