Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 3 | * Copyright (C) 2021-2023 Texas Instruments Incorporated - https://www.ti.com/ |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 8 | #include "k3-j721s2-common-proc-board.dts" |
Aswath Govindraju | 886284f | 2022-01-25 20:56:44 +0530 | [diff] [blame] | 9 | #include "k3-j721s2-ddr-evm-lp4-4266.dtsi" |
| 10 | #include "k3-j721s2-ddr.dtsi" |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 11 | #include "k3-j721s2-common-proc-board-u-boot.dtsi" |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | chosen { |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 15 | tick-timer = &mcu_timer0; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | aliases { |
| 19 | remoteproc0 = &sysctrler; |
| 20 | remoteproc1 = &a72_0; |
| 21 | }; |
| 22 | |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 23 | a72_0: a72@0 { |
| 24 | compatible = "ti,am654-rproc"; |
| 25 | reg = <0x0 0x00a90000 0x0 0x10>; |
| 26 | power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, |
Manorit Chawdhry | 5ba1159 | 2023-04-14 09:47:52 +0530 | [diff] [blame] | 27 | <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>, |
| 28 | <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 29 | resets = <&k3_reset 202 0>; |
| 30 | clocks = <&k3_clks 61 1>; |
| 31 | assigned-clocks = <&k3_clks 61 1>, <&k3_clks 202 0>; |
| 32 | assigned-clock-parents = <&k3_clks 61 2>; |
| 33 | assigned-clock-rates = <200000000>, <2000000000>; |
| 34 | ti,sci = <&sms>; |
| 35 | ti,sci-proc-id = <32>; |
| 36 | ti,sci-host-id = <10>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 37 | bootph-pre-ram; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 38 | }; |
| 39 | |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 40 | dm_tifs: dm-tifs { |
| 41 | compatible = "ti,j721e-dm-sci"; |
| 42 | ti,host-id = <3>; |
| 43 | ti,secure-host; |
| 44 | mbox-names = "rx", "tx"; |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 45 | mboxes= <&secure_proxy_mcu 21>, |
| 46 | <&secure_proxy_mcu 23>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 47 | bootph-pre-ram; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 51 | &mcu_timer0 { |
| 52 | clock-frequency = <250000000>; |
| 53 | bootph-pre-ram; |
| 54 | }; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 55 | |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 56 | &secure_proxy_sa3 { |
| 57 | bootph-pre-ram; |
| 58 | status = "okay"; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 59 | }; |
| 60 | |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 61 | &secure_proxy_mcu { |
| 62 | bootph-pre-ram; |
| 63 | status = "okay"; |
| 64 | }; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 65 | |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 66 | &cbass_mcu_wakeup { |
| 67 | sysctrler: sysctrler { |
| 68 | compatible = "ti,am654-system-controller"; |
| 69 | mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>, <&secure_proxy_sa3 5>; |
| 70 | mbox-names = "tx", "rx", "boot_notify"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 71 | bootph-pre-ram; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &sms { |
Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 76 | mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 77 | mbox-names = "tx", "rx", "notify"; |
| 78 | ti,host-id = <4>; |
| 79 | ti,secure-host; |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 80 | }; |
| 81 | |
Aswath Govindraju | aec9a18 | 2022-01-25 20:56:43 +0530 | [diff] [blame] | 82 | &mcu_ringacc { |
| 83 | ti,sci = <&dm_tifs>; |
| 84 | }; |
| 85 | |
| 86 | &mcu_udmap { |
| 87 | ti,sci = <&dm_tifs>; |
| 88 | }; |