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 | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 109 | &uart2 { |
| 110 | u-boot,dm-spl; |
| 111 | }; |
| 112 | |
Adam Ford | d42247d | 2020-12-11 06:01:46 -0600 | [diff] [blame] | 113 | &usdhc1 { |
| 114 | u-boot,dm-spl; |
| 115 | sd-uhs-sdr104; |
| 116 | sd-uhs-ddr50; |
| 117 | }; |
| 118 | |
| 119 | &usdhc2 { |
| 120 | u-boot,dm-spl; |
| 121 | sd-uhs-sdr104; |
| 122 | sd-uhs-ddr50; |
| 123 | }; |
| 124 | |
| 125 | &usdhc3 { |
| 126 | u-boot,dm-spl; |
| 127 | mmc-hs400-1_8v; |
| 128 | mmc-hs400-enhanced-strobe; |
| 129 | }; |
| 130 | |
| 131 | &wdog1 { |
| 132 | u-boot,dm-spl; |
| 133 | }; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 134 | |
Peng Fan | 94bef15 | 2022-06-11 20:21:06 +0800 | [diff] [blame] | 135 | &pinctrl_wdog { |
| 136 | u-boot,dm-spl; |
| 137 | }; |
| 138 | |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 139 | &binman { |
| 140 | u-boot-spl-ddr { |
| 141 | filename = "u-boot-spl-ddr.bin"; |
| 142 | pad-byte = <0xff>; |
| 143 | align-size = <4>; |
| 144 | align = <4>; |
| 145 | |
| 146 | u-boot-spl { |
| 147 | align-end = <4>; |
| 148 | }; |
| 149 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 150 | ddr-1d-imem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 151 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 152 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 153 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 154 | }; |
| 155 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 156 | ddr-1d-dmem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 157 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 158 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 159 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 160 | }; |
| 161 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 162 | ddr-2d-imem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 163 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 164 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 165 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 166 | }; |
| 167 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 168 | ddr-2d-dmem-fw { |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 169 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 170 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 171 | align-end = <4>; |
Adam Ford | a3c2df9 | 2021-09-10 15:19:22 -0500 | [diff] [blame] | 172 | }; |
| 173 | }; |
| 174 | |
| 175 | |
| 176 | spl { |
| 177 | filename = "spl.bin"; |
| 178 | |
| 179 | mkimage { |
| 180 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; |
| 181 | |
| 182 | blob { |
| 183 | filename = "u-boot-spl-ddr.bin"; |
| 184 | }; |
| 185 | }; |
| 186 | }; |
| 187 | |
| 188 | itb { |
| 189 | filename = "u-boot.itb"; |
| 190 | |
| 191 | fit { |
| 192 | description = "Configuration to load ATF before U-Boot"; |
| 193 | #address-cells = <1>; |
| 194 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 195 | |
| 196 | images { |
| 197 | uboot { |
| 198 | description = "U-Boot (64-bit)"; |
| 199 | type = "standalone"; |
| 200 | arch = "arm64"; |
| 201 | compression = "none"; |
| 202 | load = <CONFIG_SYS_TEXT_BASE>; |
| 203 | |
| 204 | uboot_blob: blob-ext { |
| 205 | filename = "u-boot-nodtb.bin"; |
| 206 | }; |
| 207 | }; |
| 208 | |
| 209 | atf { |
| 210 | description = "ARM Trusted Firmware"; |
| 211 | type = "firmware"; |
| 212 | arch = "arm64"; |
| 213 | compression = "none"; |
| 214 | load = <0x960000>; |
| 215 | entry = <0x960000>; |
| 216 | |
| 217 | atf_blob: blob-ext { |
| 218 | filename = "bl31.bin"; |
| 219 | }; |
| 220 | }; |
| 221 | |
| 222 | fdt { |
| 223 | description = "NAME"; |
| 224 | type = "flat_dt"; |
| 225 | compression = "none"; |
| 226 | |
| 227 | uboot_fdt_blob: blob-ext { |
| 228 | filename = "u-boot.dtb"; |
| 229 | }; |
| 230 | }; |
| 231 | }; |
| 232 | |
| 233 | configurations { |
| 234 | default = "conf"; |
| 235 | |
| 236 | conf { |
| 237 | description = "NAME"; |
| 238 | firmware = "uboot"; |
| 239 | loadables = "atf"; |
| 240 | fdt = "fdt"; |
| 241 | }; |
| 242 | }; |
| 243 | }; |
| 244 | }; |
| 245 | |
| 246 | imx-boot { |
| 247 | filename = "flash.bin"; |
| 248 | pad-byte = <0x00>; |
| 249 | |
| 250 | spl: blob-ext@1 { |
| 251 | offset = <0x0>; |
| 252 | filename = "spl.bin"; |
| 253 | }; |
| 254 | |
| 255 | uboot: blob-ext@2 { |
| 256 | offset = <0x58000>; |
| 257 | filename = "u-boot.itb"; |
| 258 | }; |
| 259 | }; |
| 260 | }; |