Marcel Ziswiler | 7d1a106 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | /* |
| 3 | * Toradex Verdin AM62 dts file for R5 SPL |
| 4 | * Copyright 2023 Toradex - https://www.toradex.com/ |
| 5 | */ |
| 6 | |
| 7 | #include "k3-am625-verdin-wifi-dev.dts" |
| 8 | #include "k3-am625-verdin-lpddr4-1600MTs.dtsi" |
| 9 | #include "k3-am62-ddr.dtsi" |
| 10 | |
| 11 | #include "k3-am625-verdin-wifi-dev-u-boot.dtsi" |
| 12 | |
| 13 | / { |
| 14 | a53_0: a53@0 { |
| 15 | compatible = "ti,am654-rproc"; |
| 16 | reg = <0x00 0x00a90000 0x00 0x10>; |
| 17 | /* |
| 18 | * FIXME: Currently only the SPL running on the R5 has a clock |
| 19 | * driver. As a workaround therefore move the assigned-clock |
| 20 | * stuff required for our ETH_25MHz_CLK from the cpsw3g_mdio |
| 21 | * node of the regular device tree to here (last one each in |
| 22 | * below three lines, adding a <0> as spacing for parents). |
| 23 | */ |
| 24 | assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>, <&k3_clks 157 20>; |
| 25 | assigned-clock-parents = <&k3_clks 61 2>, <0>, <&k3_clks 157 22>; |
| 26 | assigned-clock-rates = <200000000>, <1200000000>, <25000000>; |
| 27 | clocks = <&k3_clks 61 0>; |
| 28 | power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, |
| 29 | <&k3_pds 135 TI_SCI_PD_EXCLUSIVE>, |
| 30 | <&k3_pds 166 TI_SCI_PD_EXCLUSIVE>; |
| 31 | resets = <&k3_reset 135 0>; |
| 32 | ti,sci = <&dmsc>; |
| 33 | ti,sci-host-id = <10>; |
| 34 | ti,sci-proc-id = <32>; |
| 35 | bootph-pre-ram; |
| 36 | }; |
| 37 | |
| 38 | aliases { |
| 39 | remoteproc0 = &sysctrler; |
| 40 | remoteproc1 = &a53_0; |
| 41 | }; |
| 42 | |
| 43 | dm_tifs: dm-tifs { |
| 44 | compatible = "ti,j721e-dm-sci"; |
| 45 | mbox-names = "rx", "tx"; |
| 46 | mboxes= <&secure_proxy_main 22>, |
| 47 | <&secure_proxy_main 23>; |
| 48 | ti,host-id = <36>; |
| 49 | ti,secure-host; |
| 50 | bootph-pre-ram; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | &cbass_main { |
| 55 | sysctrler: sysctrler { |
| 56 | compatible = "ti,am654-system-controller"; |
| 57 | mboxes= <&secure_proxy_main 1>, <&secure_proxy_main 0>, <&secure_proxy_sa3 0>; |
| 58 | mbox-names = "tx", "rx", "boot_notify"; |
| 59 | bootph-pre-ram; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | &dmsc { |
| 64 | mboxes= <&secure_proxy_main 0>, |
| 65 | <&secure_proxy_main 1>, |
| 66 | <&secure_proxy_main 0>; |
| 67 | mbox-names = "rx", "tx", "notify"; |
| 68 | ti,host-id = <35>; |
| 69 | ti,secure-host; |
| 70 | }; |
| 71 | |
| 72 | &main_esm { |
| 73 | bootph-pre-ram; |
| 74 | }; |
| 75 | |
| 76 | &mcu_esm { |
| 77 | bootph-pre-ram; |
| 78 | }; |
| 79 | |
| 80 | &secure_proxy_sa3 { |
| 81 | bootph-pre-ram; |
| 82 | /* We require this for boot handshake */ |
| 83 | status = "okay"; |
| 84 | }; |