Manorit Chawdhry | 4928d74 | 2024-10-24 15:30:04 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /* |
| 3 | * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | chosen { |
| 8 | tick-timer = &mcu_timer0; |
| 9 | }; |
| 10 | |
| 11 | aliases { |
| 12 | remoteproc0 = &sysctrler; |
| 13 | remoteproc1 = &a72_0; |
| 14 | }; |
| 15 | |
| 16 | a72_0: a72@0 { |
| 17 | compatible = "ti,am654-rproc"; |
| 18 | reg = <0x0 0x00a90000 0x0 0x10>; |
| 19 | power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, |
| 20 | <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>; |
| 21 | resets = <&k3_reset 202 0>; |
| 22 | clocks = <&k3_clks 61 0>, <&k3_clks 202 0>; |
| 23 | clock-names = "gtc", "core"; |
| 24 | assigned-clocks = <&k3_clks 61 0>, <&k3_clks 202 0>; |
| 25 | assigned-clock-parents = <&k3_clks 61 2>; |
| 26 | assigned-clock-rates = <200000000>, <2000000000>; |
| 27 | ti,sci = <&sms>; |
| 28 | ti,sci-proc-id = <32>; |
| 29 | ti,sci-host-id = <10>; |
| 30 | bootph-pre-ram; |
| 31 | }; |
| 32 | |
| 33 | dm_tifs: dm-tifs { |
| 34 | compatible = "ti,j721e-dm-sci"; |
| 35 | ti,host-id = <3>; |
| 36 | ti,secure-host; |
| 37 | mbox-names = "rx", "tx"; |
| 38 | mboxes= <&secure_proxy_mcu 21>, <&secure_proxy_mcu 23>; |
| 39 | bootph-pre-ram; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | &mcu_timer0 { |
| 44 | status = "okay"; |
| 45 | clock-frequency = <250000000>; |
| 46 | bootph-pre-ram; |
| 47 | }; |
| 48 | |
| 49 | &secure_proxy_sa3 { |
| 50 | status = "okay"; |
| 51 | bootph-pre-ram; |
| 52 | }; |
| 53 | |
| 54 | &secure_proxy_mcu { |
| 55 | status = "okay"; |
| 56 | bootph-pre-ram; |
| 57 | }; |
| 58 | |
| 59 | &cbass_mcu_wakeup { |
| 60 | sysctrler: sysctrler { |
| 61 | compatible = "ti,am654-system-controller"; |
| 62 | mboxes= <&secure_proxy_mcu 4>, |
| 63 | <&secure_proxy_mcu 5>, |
| 64 | <&secure_proxy_sa3 5>; |
| 65 | mbox-names = "tx", "rx", "boot_notify"; |
| 66 | bootph-pre-ram; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &sms { |
| 71 | mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>; |
| 72 | mbox-names = "tx", "rx", "notify"; |
| 73 | ti,host-id = <4>; |
| 74 | ti,secure-host; |
| 75 | bootph-pre-ram; |
| 76 | }; |
| 77 | |
| 78 | /* WKUP UART0 is used for DM firmware logs */ |
| 79 | &wkup_uart0 { |
| 80 | bootph-pre-ram; |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | &ospi0 { |
| 85 | reg = <0x0 0x47040000 0x0 0x100>, |
| 86 | <0x0 0x50000000 0x0 0x8000000>; |
| 87 | }; |
| 88 | |
| 89 | &ospi1 { |
| 90 | reg = <0x0 0x47050000 0x0 0x100>, |
| 91 | <0x0 0x58000000 0x0 0x8000000>; |
| 92 | }; |
| 93 | |
| 94 | &fss { |
| 95 | /* enable ranges missing from the FSS node */ |
| 96 | ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x00068400>, |
| 97 | <0x0 0x50000000 0x0 0x50000000 0x0 0x08000000>; |
| 98 | }; |
| 99 | |
| 100 | &mcu_ringacc { |
| 101 | ti,sci = <&dm_tifs>; |
| 102 | }; |
| 103 | |
| 104 | &mcu_udmap { |
| 105 | ti,sci = <&dm_tifs>; |
| 106 | }; |