Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2019 NXP |
| 4 | */ |
| 5 | |
Marek Vasut | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 6 | / { |
Peng Fan | c687bc9 | 2021-04-06 11:58:57 +0800 | [diff] [blame] | 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | |
Marek Vasut | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 11 | wdt-reboot { |
| 12 | compatible = "wdt-reboot"; |
| 13 | wdt = <&wdog1>; |
| 14 | u-boot,dm-spl; |
| 15 | }; |
Clement Faure | a93b0d9 | 2021-03-25 17:30:33 +0800 | [diff] [blame] | 16 | |
| 17 | firmware { |
| 18 | optee { |
| 19 | compatible = "linaro,optee-tz"; |
| 20 | method = "smc"; |
| 21 | }; |
| 22 | }; |
Marek Vasut | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 23 | }; |
| 24 | |
Peng Fan | ab93ef6 | 2019-10-16 10:24:30 +0000 | [diff] [blame] | 25 | &{/soc@0} { |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 26 | u-boot,dm-pre-reloc; |
| 27 | u-boot,dm-spl; |
| 28 | }; |
| 29 | |
| 30 | &clk { |
| 31 | u-boot,dm-spl; |
| 32 | u-boot,dm-pre-reloc; |
Peng Fan | 765ad4d | 2019-10-22 03:29:54 +0000 | [diff] [blame] | 33 | /delete-property/ assigned-clocks; |
| 34 | /delete-property/ assigned-clock-parents; |
| 35 | /delete-property/ assigned-clock-rates; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 36 | }; |
| 37 | |
| 38 | &osc_24m { |
| 39 | u-boot,dm-spl; |
| 40 | u-boot,dm-pre-reloc; |
| 41 | }; |
| 42 | |
| 43 | &aips1 { |
| 44 | u-boot,dm-spl; |
| 45 | u-boot,dm-pre-reloc; |
| 46 | }; |
| 47 | |
| 48 | &aips2 { |
| 49 | u-boot,dm-spl; |
| 50 | }; |
| 51 | |
| 52 | &aips3 { |
| 53 | u-boot,dm-spl; |
| 54 | }; |
| 55 | |
| 56 | &iomuxc { |
| 57 | u-boot,dm-spl; |
| 58 | }; |
| 59 | |
Andrey Zhizhikin | cf51a55 | 2020-12-05 17:29:17 +0000 | [diff] [blame] | 60 | ®_usdhc2_vmmc { |
| 61 | u-boot,off-on-delay-us = <20000>; |
| 62 | }; |
| 63 | |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 64 | &pinctrl_reg_usdhc2_vmmc { |
| 65 | u-boot,dm-spl; |
| 66 | }; |
| 67 | |
| 68 | &pinctrl_uart2 { |
| 69 | u-boot,dm-spl; |
| 70 | }; |
| 71 | |
| 72 | &pinctrl_usdhc2_gpio { |
| 73 | u-boot,dm-spl; |
| 74 | }; |
| 75 | |
| 76 | &pinctrl_usdhc2 { |
| 77 | u-boot,dm-spl; |
| 78 | }; |
| 79 | |
| 80 | &pinctrl_usdhc3 { |
| 81 | u-boot,dm-spl; |
| 82 | }; |
| 83 | |
| 84 | &gpio1 { |
| 85 | u-boot,dm-spl; |
| 86 | }; |
| 87 | |
| 88 | &gpio2 { |
| 89 | u-boot,dm-spl; |
| 90 | }; |
| 91 | |
| 92 | &gpio3 { |
| 93 | u-boot,dm-spl; |
| 94 | }; |
| 95 | |
| 96 | &gpio4 { |
| 97 | u-boot,dm-spl; |
| 98 | }; |
| 99 | |
| 100 | &gpio5 { |
| 101 | u-boot,dm-spl; |
| 102 | }; |
| 103 | |
| 104 | &uart2 { |
| 105 | u-boot,dm-spl; |
| 106 | }; |
| 107 | |
| 108 | &usdhc1 { |
| 109 | u-boot,dm-spl; |
| 110 | }; |
| 111 | |
| 112 | &usdhc2 { |
| 113 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 114 | sd-uhs-sdr104; |
| 115 | sd-uhs-ddr50; |
Haibo Chen | 2615495 | 2021-03-22 18:55:38 +0800 | [diff] [blame] | 116 | fsl,signal-voltage-switch-extra-delay-ms = <8>; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 117 | }; |
| 118 | |
| 119 | &usdhc3 { |
| 120 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 121 | mmc-hs400-1_8v; |
| 122 | mmc-hs400-enhanced-strobe; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 123 | }; |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 124 | |
| 125 | &i2c1 { |
| 126 | u-boot,dm-spl; |
| 127 | }; |
| 128 | |
Ye Li | 79e6970 | 2021-03-19 15:56:55 +0800 | [diff] [blame] | 129 | &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} { |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 130 | u-boot,dm-spl; |
| 131 | }; |
| 132 | |
Ye Li | 79e6970 | 2021-03-19 15:56:55 +0800 | [diff] [blame] | 133 | &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} { |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 134 | u-boot,dm-spl; |
| 135 | }; |
| 136 | |
| 137 | &pinctrl_i2c1 { |
| 138 | u-boot,dm-spl; |
| 139 | }; |
| 140 | |
| 141 | &pinctrl_pmic { |
| 142 | u-boot,dm-spl; |
| 143 | }; |
Peng Fan | e5f2b22 | 2019-10-22 03:30:04 +0000 | [diff] [blame] | 144 | |
| 145 | &fec1 { |
| 146 | phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; |
| 147 | }; |
Marek Vasut | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 148 | |
| 149 | &wdog1 { |
| 150 | u-boot,dm-spl; |
| 151 | }; |
Peng Fan | c687bc9 | 2021-04-06 11:58:57 +0800 | [diff] [blame] | 152 | |
| 153 | &binman { |
| 154 | u-boot-spl-ddr { |
| 155 | filename = "u-boot-spl-ddr.bin"; |
| 156 | pad-byte = <0xff>; |
| 157 | align-size = <4>; |
| 158 | align = <4>; |
| 159 | |
| 160 | u-boot-spl { |
| 161 | align-end = <4>; |
| 162 | }; |
| 163 | |
| 164 | blob_1: blob-ext@1 { |
| 165 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
| 166 | size = <0x8000>; |
| 167 | }; |
| 168 | |
| 169 | blob_2: blob-ext@2 { |
| 170 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
| 171 | size = <0x4000>; |
| 172 | }; |
| 173 | |
| 174 | blob_3: blob-ext@3 { |
| 175 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
| 176 | size = <0x8000>; |
| 177 | }; |
| 178 | |
| 179 | blob_4: blob-ext@4 { |
| 180 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
| 181 | size = <0x4000>; |
| 182 | }; |
| 183 | }; |
| 184 | |
| 185 | |
| 186 | flash { |
| 187 | mkimage { |
| 188 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; |
| 189 | |
| 190 | blob { |
| 191 | filename = "u-boot-spl-ddr.bin"; |
| 192 | }; |
| 193 | }; |
| 194 | }; |
| 195 | |
| 196 | itb { |
| 197 | filename = "u-boot.itb"; |
| 198 | |
| 199 | fit { |
| 200 | description = "Configuration to load ATF before U-Boot"; |
| 201 | #address-cells = <1>; |
| 202 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 203 | |
| 204 | images { |
| 205 | uboot { |
| 206 | description = "U-Boot (64-bit)"; |
| 207 | type = "standalone"; |
| 208 | arch = "arm64"; |
| 209 | compression = "none"; |
| 210 | load = <CONFIG_SYS_TEXT_BASE>; |
| 211 | |
| 212 | uboot_blob: blob-ext { |
| 213 | filename = "u-boot-nodtb.bin"; |
| 214 | }; |
| 215 | }; |
| 216 | |
| 217 | atf { |
| 218 | description = "ARM Trusted Firmware"; |
| 219 | type = "firmware"; |
| 220 | arch = "arm64"; |
| 221 | compression = "none"; |
| 222 | load = <0x920000>; |
| 223 | entry = <0x920000>; |
| 224 | |
| 225 | atf_blob: blob-ext { |
| 226 | filename = "bl31.bin"; |
| 227 | }; |
| 228 | }; |
| 229 | |
| 230 | fdt { |
| 231 | description = "NAME"; |
| 232 | type = "flat_dt"; |
| 233 | compression = "none"; |
| 234 | |
| 235 | uboot_fdt_blob: blob-ext { |
| 236 | filename = "u-boot.dtb"; |
| 237 | }; |
| 238 | }; |
| 239 | }; |
| 240 | |
| 241 | configurations { |
| 242 | default = "conf"; |
| 243 | |
| 244 | conf { |
| 245 | description = "NAME"; |
| 246 | firmware = "uboot"; |
| 247 | loadables = "atf"; |
| 248 | fdt = "fdt"; |
| 249 | }; |
| 250 | }; |
| 251 | }; |
| 252 | }; |
| 253 | }; |