Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2022 Gateworks Corporation |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | |
| 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 | |
Fabio Estevam | 16379f0 | 2022-10-03 11:01:15 -0300 | [diff] [blame] | 23 | &spba1 { |
| 24 | u-boot,dm-spl; |
| 25 | }; |
| 26 | |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 27 | &clk { |
| 28 | u-boot,dm-spl; |
| 29 | u-boot,dm-pre-reloc; |
| 30 | /delete-property/ assigned-clocks; |
| 31 | /delete-property/ assigned-clock-parents; |
| 32 | /delete-property/ assigned-clock-rates; |
| 33 | }; |
| 34 | |
| 35 | &osc_24m { |
| 36 | u-boot,dm-spl; |
| 37 | u-boot,dm-pre-reloc; |
| 38 | }; |
| 39 | |
| 40 | &aips1 { |
| 41 | u-boot,dm-spl; |
| 42 | u-boot,dm-pre-reloc; |
| 43 | }; |
| 44 | |
| 45 | &aips2 { |
| 46 | u-boot,dm-spl; |
| 47 | }; |
| 48 | |
| 49 | &aips3 { |
| 50 | u-boot,dm-spl; |
| 51 | }; |
| 52 | |
| 53 | &iomuxc { |
| 54 | u-boot,dm-spl; |
| 55 | }; |
| 56 | |
| 57 | &gpio1 { |
| 58 | u-boot,dm-spl; |
| 59 | }; |
| 60 | |
| 61 | &gpio2 { |
| 62 | u-boot,dm-spl; |
| 63 | }; |
| 64 | |
| 65 | &gpio3 { |
| 66 | u-boot,dm-spl; |
| 67 | }; |
| 68 | |
| 69 | &gpio4 { |
| 70 | u-boot,dm-spl; |
| 71 | }; |
| 72 | |
| 73 | &gpio5 { |
| 74 | u-boot,dm-spl; |
| 75 | }; |
| 76 | |
| 77 | &uart2 { |
| 78 | u-boot,dm-spl; |
| 79 | }; |
| 80 | |
| 81 | &pinctrl_uart2 { |
| 82 | u-boot,dm-spl; |
| 83 | }; |
| 84 | |
| 85 | &usdhc3 { |
| 86 | u-boot,dm-spl; |
| 87 | }; |
| 88 | |
| 89 | &pinctrl_usdhc3 { |
| 90 | u-boot,dm-spl; |
| 91 | }; |
| 92 | |
| 93 | &i2c1 { |
| 94 | u-boot,dm-spl; |
| 95 | }; |
| 96 | |
| 97 | &pinctrl_i2c1 { |
| 98 | u-boot,dm-spl; |
| 99 | }; |
| 100 | |
Tim Harvey | d4daeaa | 2022-04-13 08:56:40 -0700 | [diff] [blame] | 101 | &gsc { |
| 102 | u-boot,dm-spl; |
| 103 | }; |
| 104 | |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 105 | &i2c2 { |
| 106 | u-boot,dm-spl; |
| 107 | }; |
| 108 | |
| 109 | &pinctrl_i2c2 { |
| 110 | u-boot,dm-spl; |
| 111 | }; |
| 112 | |
| 113 | &wdog1 { |
| 114 | u-boot,dm-spl; |
| 115 | }; |
| 116 | |
Peng Fan | 8cf3c8e | 2022-06-11 20:21:05 +0800 | [diff] [blame] | 117 | &pinctrl_wdog { |
| 118 | u-boot,dm-spl; |
| 119 | }; |
| 120 | |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 121 | &binman { |
| 122 | u-boot-spl-ddr { |
| 123 | align = <4>; |
| 124 | align-size = <4>; |
| 125 | filename = "u-boot-spl-ddr.bin"; |
| 126 | pad-byte = <0xff>; |
| 127 | |
| 128 | u-boot-spl { |
| 129 | align-end = <4>; |
| 130 | filename = "u-boot-spl.bin"; |
| 131 | }; |
| 132 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 133 | ddr-1d-imem-fw { |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 134 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 135 | align-end = <4>; |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 136 | type = "blob-ext"; |
| 137 | }; |
| 138 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 139 | ddr-1d-dmem-fw { |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 140 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 141 | align-end = <4>; |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 142 | type = "blob-ext"; |
| 143 | }; |
| 144 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 145 | ddr-2d-imem-fw { |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 146 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 147 | align-end = <4>; |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 148 | type = "blob-ext"; |
| 149 | }; |
| 150 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 151 | ddr-2d-dmem-fw { |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 152 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 153 | align-end = <4>; |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 154 | type = "blob-ext"; |
| 155 | }; |
| 156 | }; |
| 157 | |
| 158 | spl { |
| 159 | filename = "spl.bin"; |
| 160 | |
| 161 | mkimage { |
| 162 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; |
| 163 | |
| 164 | blob { |
| 165 | filename = "u-boot-spl-ddr.bin"; |
| 166 | }; |
| 167 | }; |
| 168 | }; |
| 169 | |
| 170 | itb { |
| 171 | filename = "u-boot.itb"; |
| 172 | |
| 173 | fit { |
| 174 | description = "Configuration to load ATF before U-Boot"; |
| 175 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 176 | fit,fdt-list = "of-list"; |
| 177 | #address-cells = <1>; |
| 178 | |
| 179 | images { |
| 180 | uboot { |
| 181 | arch = "arm64"; |
| 182 | compression = "none"; |
| 183 | description = "U-Boot (64-bit)"; |
| 184 | load = <CONFIG_SYS_TEXT_BASE>; |
| 185 | type = "standalone"; |
| 186 | |
| 187 | uboot_blob { |
| 188 | filename = "u-boot-nodtb.bin"; |
| 189 | type = "blob-ext"; |
| 190 | }; |
| 191 | }; |
| 192 | |
| 193 | atf { |
| 194 | arch = "arm64"; |
| 195 | compression = "none"; |
| 196 | description = "ARM Trusted Firmware"; |
| 197 | entry = <0x960000>; |
| 198 | load = <0x960000>; |
| 199 | type = "firmware"; |
| 200 | |
| 201 | atf_blob { |
| 202 | filename = "bl31.bin"; |
| 203 | type = "blob-ext"; |
| 204 | }; |
| 205 | }; |
| 206 | |
| 207 | binman_fip: fip { |
| 208 | arch = "arm64"; |
| 209 | compression = "none"; |
| 210 | description = "Trusted Firmware FIP"; |
| 211 | load = <0x40310000>; |
| 212 | type = "firmware"; |
| 213 | }; |
| 214 | |
| 215 | @fdt-SEQ { |
| 216 | compression = "none"; |
| 217 | description = "NAME"; |
| 218 | type = "flat_dt"; |
| 219 | |
| 220 | uboot_fdt_blob { |
| 221 | filename = "u-boot.dtb"; |
| 222 | type = "blob-ext"; |
| 223 | }; |
| 224 | }; |
| 225 | }; |
| 226 | |
| 227 | configurations { |
| 228 | default = "@config-DEFAULT-SEQ"; |
| 229 | |
| 230 | binman_configuration: @config-SEQ { |
| 231 | description = "NAME"; |
| 232 | fdt = "fdt-SEQ"; |
| 233 | firmware = "uboot"; |
| 234 | loadables = "atf"; |
| 235 | }; |
| 236 | }; |
| 237 | }; |
| 238 | }; |
| 239 | |
| 240 | imx-boot { |
| 241 | filename = "flash.bin"; |
| 242 | pad-byte = <0x00>; |
| 243 | |
| 244 | spl { |
| 245 | filename = "spl.bin"; |
| 246 | offset = <0x0>; |
| 247 | type = "blob-ext"; |
| 248 | }; |
| 249 | |
| 250 | binman_uboot: uboot { |
| 251 | filename = "u-boot.itb"; |
| 252 | offset = <0x58000>; |
| 253 | type = "blob-ext"; |
| 254 | }; |
| 255 | }; |
| 256 | }; |