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