Robert Nelson | 3945228 | 2023-11-04 03:11:00 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * https://beagleboard.org/ai-64 |
| 4 | * |
| 5 | * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/ |
| 6 | * Copyright (C) 2022 Jason Kridner, BeagleBoard.org Foundation |
| 7 | * Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation |
| 8 | */ |
| 9 | |
| 10 | #include "k3-j721e-beagleboneai64.dts" |
| 11 | #include "k3-j721e-ddr-beagleboneai64-lp4-3200.dtsi" |
| 12 | #include "k3-j721e-ddr.dtsi" |
| 13 | |
| 14 | #include "k3-j721e-beagleboneai64-u-boot.dtsi" |
| 15 | |
| 16 | / { |
| 17 | aliases { |
| 18 | remoteproc0 = &sysctrler; |
| 19 | remoteproc1 = &a72_0; |
| 20 | }; |
| 21 | |
| 22 | chosen { |
| 23 | tick-timer = &mcu_timer0; |
| 24 | }; |
| 25 | |
| 26 | a72_0: a72@0 { |
| 27 | compatible = "ti,am654-rproc"; |
| 28 | reg = <0x0 0x00a90000 0x0 0x10>; |
| 29 | power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, |
| 30 | <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>, |
| 31 | <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>; |
| 32 | resets = <&k3_reset 202 0>; |
| 33 | clocks = <&k3_clks 61 1>; |
| 34 | assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>; |
| 35 | assigned-clock-rates = <2000000000>, <200000000>; |
| 36 | ti,sci = <&dmsc>; |
| 37 | ti,sci-proc-id = <32>; |
| 38 | ti,sci-host-id = <10>; |
| 39 | bootph-pre-ram; |
| 40 | }; |
| 41 | |
| 42 | dm_tifs: dm-tifs { |
| 43 | compatible = "ti,j721e-dm-sci"; |
| 44 | ti,host-id = <3>; |
| 45 | ti,secure-host; |
| 46 | mbox-names = "rx", "tx"; |
| 47 | mboxes= <&secure_proxy_mcu 21>, |
| 48 | <&secure_proxy_mcu 23>; |
| 49 | bootph-pre-ram; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | &dmsc { |
| 54 | mboxes= <&secure_proxy_mcu 6>, |
| 55 | <&secure_proxy_mcu 8>, |
| 56 | <&secure_proxy_mcu 5>; |
| 57 | mbox-names = "rx", "tx", "notify"; |
| 58 | ti,host-id = <4>; |
| 59 | ti,secure-host; |
| 60 | }; |
| 61 | |
| 62 | &mcu_timer0 { |
| 63 | status = "okay"; |
| 64 | bootph-pre-ram; |
| 65 | }; |
| 66 | |
| 67 | &secure_proxy_mcu { |
| 68 | bootph-pre-ram; |
| 69 | /* We require this for boot handshake */ |
| 70 | status = "okay"; |
| 71 | }; |
| 72 | |
| 73 | &cbass_mcu_wakeup { |
| 74 | sysctrler: sysctrler { |
| 75 | compatible = "ti,am654-system-controller"; |
| 76 | mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>; |
| 77 | mbox-names = "tx", "rx"; |
| 78 | bootph-pre-ram; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | &mcu_ringacc { |
| 83 | ti,sci = <&dm_tifs>; |
| 84 | }; |
| 85 | |
| 86 | &mcu_udmap { |
| 87 | ti,sci = <&dm_tifs>; |
| 88 | }; |
| 89 | |
| 90 | &wkup_uart0_pins_default { |
| 91 | bootph-pre-ram; |
| 92 | }; |
| 93 | |
| 94 | &wkup_i2c0 { |
| 95 | bootph-pre-ram; |
| 96 | }; |
| 97 | |
| 98 | &binman { |
| 99 | tiboot3-j721e-gp-evm.bin { |
| 100 | filename = "tiboot3-j721e-gp-evm.bin"; |
| 101 | symlink = "tiboot3.bin"; |
| 102 | ti-secure-rom { |
| 103 | content = <&u_boot_spl_unsigned>; |
| 104 | core = "public"; |
| 105 | load = <CONFIG_SPL_TEXT_BASE>; |
| 106 | sw-rev = <CONFIG_K3_X509_SWRV>; |
| 107 | keyfile = "ti-degenerate-key.pem"; |
| 108 | }; |
| 109 | u_boot_spl_unsigned: u-boot-spl { |
| 110 | no-expanded; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | sysfw_gp { |
| 115 | filename = "sysfw.bin_gp"; |
| 116 | ti-secure-rom { |
| 117 | content = <&ti_fs>; |
| 118 | core = "secure"; |
| 119 | load = <0x40000>; |
| 120 | sw-rev = <CONFIG_K3_X509_SWRV>; |
| 121 | keyfile = "ti-degenerate-key.pem"; |
| 122 | }; |
| 123 | ti_fs: ti-fs.bin { |
| 124 | filename = "ti-sysfw/ti-fs-firmware-j721e-gp.bin"; |
| 125 | type = "blob-ext"; |
| 126 | optional; |
| 127 | }; |
| 128 | }; |
| 129 | |
| 130 | itb_gp { |
| 131 | filename = "sysfw-j721e-gp-evm.itb"; |
| 132 | symlink = "sysfw.itb"; |
| 133 | fit { |
| 134 | description = "SYSFW and Config fragments"; |
| 135 | #address-cells = <1>; |
| 136 | images { |
| 137 | sysfw.bin { |
| 138 | description = "sysfw"; |
| 139 | type = "firmware"; |
| 140 | arch = "arm"; |
| 141 | compression = "none"; |
| 142 | blob-ext { |
| 143 | filename = "sysfw.bin_gp"; |
| 144 | }; |
| 145 | }; |
| 146 | board-cfg.bin { |
| 147 | description = "board-cfg"; |
| 148 | type = "firmware"; |
| 149 | arch = "arm"; |
| 150 | compression = "none"; |
| 151 | blob-ext { |
| 152 | filename = "board-cfg.bin"; |
| 153 | }; |
| 154 | }; |
| 155 | pm-cfg.bin { |
| 156 | description = "pm-cfg"; |
| 157 | type = "firmware"; |
| 158 | arch = "arm"; |
| 159 | compression = "none"; |
| 160 | blob-ext { |
| 161 | filename = "pm-cfg.bin"; |
| 162 | }; |
| 163 | }; |
| 164 | rm-cfg.bin { |
| 165 | description = "rm-cfg"; |
| 166 | type = "firmware"; |
| 167 | arch = "arm"; |
| 168 | compression = "none"; |
| 169 | blob-ext { |
| 170 | filename = "rm-cfg.bin"; |
| 171 | }; |
| 172 | }; |
| 173 | sec-cfg.bin { |
| 174 | description = "sec-cfg"; |
| 175 | type = "firmware"; |
| 176 | arch = "arm"; |
| 177 | compression = "none"; |
| 178 | blob-ext { |
| 179 | filename = "sec-cfg.bin"; |
| 180 | }; |
| 181 | }; |
| 182 | }; |
| 183 | }; |
| 184 | }; |
| 185 | }; |