Adam Ford | d42247d | 2020-12-11 06:01:46 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2020 Compass Electronics Group, LLC |
| 4 | */ |
| 5 | |
| 6 | / { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | |
Adam Ford | d42247d | 2020-12-11 06:01:46 -0600 | [diff] [blame] | 11 | wdt-reboot { |
| 12 | compatible = "wdt-reboot"; |
| 13 | wdt = <&wdog1>; |
| 14 | u-boot,dm-spl; |
| 15 | }; |
| 16 | }; |
| 17 | |
| 18 | &{/soc@0} { |
| 19 | u-boot,dm-pre-reloc; |
| 20 | u-boot,dm-spl; |
| 21 | }; |
| 22 | |
| 23 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} { |
| 24 | u-boot,dm-spl; |
| 25 | }; |
| 26 | |
| 27 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} { |
| 28 | u-boot,dm-spl; |
| 29 | }; |
| 30 | |
| 31 | &aips1 { |
| 32 | u-boot,dm-spl; |
| 33 | u-boot,dm-pre-reloc; |
| 34 | }; |
| 35 | |
| 36 | &aips2 { |
| 37 | u-boot,dm-spl; |
| 38 | }; |
| 39 | |
| 40 | &aips3 { |
| 41 | u-boot,dm-spl; |
| 42 | }; |
| 43 | |
| 44 | &clk { |
| 45 | u-boot,dm-spl; |
| 46 | u-boot,dm-pre-reloc; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 47 | /delete-property/ assigned-clocks; |
| 48 | /delete-property/ assigned-clock-parents; |
| 49 | /delete-property/ assigned-clock-rates; |
Adam Ford | d42247d | 2020-12-11 06:01:46 -0600 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | &gpio1 { |
| 53 | u-boot,dm-spl; |
| 54 | }; |
| 55 | |
| 56 | &gpio2 { |
| 57 | u-boot,dm-spl; |
| 58 | }; |
| 59 | |
| 60 | &i2c1 { |
| 61 | u-boot,dm-spl; |
| 62 | }; |
| 63 | |
| 64 | &iomuxc { |
| 65 | u-boot,dm-spl; |
| 66 | }; |
| 67 | |
| 68 | &osc_24m { |
| 69 | u-boot,dm-spl; |
| 70 | u-boot,dm-pre-reloc; |
| 71 | }; |
| 72 | |
| 73 | &pca6416_0 { |
| 74 | compatible = "ti,tca6416"; |
| 75 | }; |
| 76 | |
| 77 | &pca6416_1 { |
| 78 | compatible = "ti,tca6416"; |
| 79 | }; |
| 80 | |
| 81 | &pinctrl_i2c1 { |
| 82 | u-boot,dm-spl; |
| 83 | }; |
| 84 | |
| 85 | &pinctrl_pmic { |
| 86 | u-boot,dm-spl; |
| 87 | }; |
| 88 | |
| 89 | &pinctrl_uart2 { |
| 90 | u-boot,dm-spl; |
| 91 | }; |
| 92 | |
| 93 | &pinctrl_usdhc2_gpio { |
| 94 | u-boot,dm-spl; |
| 95 | }; |
| 96 | |
| 97 | &pinctrl_usdhc2 { |
| 98 | u-boot,dm-spl; |
| 99 | }; |
| 100 | |
| 101 | &pinctrl_usdhc3 { |
| 102 | u-boot,dm-spl; |
| 103 | }; |
| 104 | |
| 105 | ®_usdhc2_vmmc { |
| 106 | u-boot,off-on-delay-us = <20000>; |
| 107 | }; |
| 108 | |
Adam Ford | cd0cdf2 | 2022-07-31 12:16:10 -0500 | [diff] [blame] | 109 | &spba1 { |
| 110 | u-boot,dm-spl; |
| 111 | }; |
| 112 | |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 113 | &uart2 { |
| 114 | u-boot,dm-spl; |
| 115 | }; |
| 116 | |
Adam Ford | d42247d | 2020-12-11 06:01:46 -0600 | [diff] [blame] | 117 | &usdhc1 { |
| 118 | u-boot,dm-spl; |
| 119 | sd-uhs-sdr104; |
| 120 | sd-uhs-ddr50; |
| 121 | }; |
| 122 | |
| 123 | &usdhc2 { |
| 124 | u-boot,dm-spl; |
| 125 | sd-uhs-sdr104; |
| 126 | sd-uhs-ddr50; |
| 127 | }; |
| 128 | |
| 129 | &usdhc3 { |
| 130 | u-boot,dm-spl; |
| 131 | mmc-hs400-1_8v; |
| 132 | mmc-hs400-enhanced-strobe; |
| 133 | }; |
| 134 | |
| 135 | &wdog1 { |
| 136 | u-boot,dm-spl; |
| 137 | }; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 138 | |
Peng Fan | 94bef15 | 2022-06-11 20:21:06 +0800 | [diff] [blame] | 139 | &pinctrl_wdog { |
| 140 | u-boot,dm-spl; |
| 141 | }; |
| 142 | |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 143 | &binman { |
| 144 | u-boot-spl-ddr { |
| 145 | filename = "u-boot-spl-ddr.bin"; |
| 146 | pad-byte = <0xff>; |
| 147 | align-size = <4>; |
| 148 | align = <4>; |
| 149 | |
| 150 | u-boot-spl { |
| 151 | align-end = <4>; |
| 152 | }; |
| 153 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 154 | ddr-1d-imem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 155 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 156 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 157 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 158 | }; |
| 159 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 160 | ddr-1d-dmem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 161 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 162 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 163 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 164 | }; |
| 165 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 166 | ddr-2d-imem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 167 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 168 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 169 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 170 | }; |
| 171 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 172 | ddr-2d-dmem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 173 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 174 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 175 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 176 | }; |
| 177 | }; |
| 178 | |
| 179 | |
| 180 | spl { |
| 181 | filename = "spl.bin"; |
| 182 | |
| 183 | mkimage { |
| 184 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; |
| 185 | |
| 186 | blob { |
| 187 | filename = "u-boot-spl-ddr.bin"; |
| 188 | }; |
| 189 | }; |
| 190 | }; |
| 191 | |
| 192 | itb { |
| 193 | filename = "u-boot.itb"; |
| 194 | |
| 195 | fit { |
| 196 | description = "Configuration to load ATF before U-Boot"; |
| 197 | #address-cells = <1>; |
| 198 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 199 | |
| 200 | images { |
| 201 | uboot { |
| 202 | description = "U-Boot (64-bit)"; |
| 203 | type = "standalone"; |
| 204 | arch = "arm64"; |
| 205 | compression = "none"; |
| 206 | load = <CONFIG_SYS_TEXT_BASE>; |
| 207 | |
| 208 | uboot_blob: blob-ext { |
| 209 | filename = "u-boot-nodtb.bin"; |
| 210 | }; |
| 211 | }; |
| 212 | |
| 213 | atf { |
| 214 | description = "ARM Trusted Firmware"; |
| 215 | type = "firmware"; |
| 216 | arch = "arm64"; |
| 217 | compression = "none"; |
| 218 | load = <0x960000>; |
| 219 | entry = <0x960000>; |
| 220 | |
| 221 | atf_blob: blob-ext { |
| 222 | filename = "bl31.bin"; |
| 223 | }; |
| 224 | }; |
| 225 | |
| 226 | fdt { |
| 227 | description = "NAME"; |
| 228 | type = "flat_dt"; |
| 229 | compression = "none"; |
| 230 | |
| 231 | uboot_fdt_blob: blob-ext { |
| 232 | filename = "u-boot.dtb"; |
| 233 | }; |
| 234 | }; |
| 235 | }; |
| 236 | |
| 237 | configurations { |
| 238 | default = "conf"; |
| 239 | |
| 240 | conf { |
| 241 | description = "NAME"; |
| 242 | firmware = "uboot"; |
| 243 | loadables = "atf"; |
| 244 | fdt = "fdt"; |
| 245 | }; |
| 246 | }; |
| 247 | }; |
| 248 | }; |
| 249 | |
| 250 | imx-boot { |
| 251 | filename = "flash.bin"; |
| 252 | pad-byte = <0x00>; |
| 253 | |
| 254 | spl: blob-ext@1 { |
| 255 | offset = <0x0>; |
| 256 | filename = "spl.bin"; |
| 257 | }; |
| 258 | |
| 259 | uboot: blob-ext@2 { |
| 260 | offset = <0x58000>; |
| 261 | filename = "u-boot.itb"; |
| 262 | }; |
| 263 | }; |
| 264 | }; |