Teresa Remmet | 82750c2 | 2020-08-21 09:55:53 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | /* |
| 3 | * Copyright (C) 2020 PHYTEC Messtechnik GmbH |
| 4 | * Author: Teresa Remmet <t.remmet@phytec.de> |
| 5 | */ |
| 6 | |
Jagan Teki | 73d5118 | 2021-04-26 18:23:46 +0530 | [diff] [blame] | 7 | #include "imx8mm-u-boot.dtsi" |
| 8 | |
Teresa Remmet | 82750c2 | 2020-08-21 09:55:53 +0200 | [diff] [blame] | 9 | / { |
Teresa Remmet | b93fc94 | 2021-10-06 11:56:54 +0200 | [diff] [blame] | 10 | binman: binman { |
| 11 | multiple-images; |
| 12 | }; |
| 13 | |
Teresa Remmet | 82750c2 | 2020-08-21 09:55:53 +0200 | [diff] [blame] | 14 | wdt-reboot { |
| 15 | compatible = "wdt-reboot"; |
| 16 | wdt = <&wdog1>; |
| 17 | u-boot,dm-spl; |
| 18 | }; |
| 19 | }; |
| 20 | |
Teresa Remmet | 82750c2 | 2020-08-21 09:55:53 +0200 | [diff] [blame] | 21 | &pinctrl_uart3 { |
| 22 | u-boot,dm-spl; |
| 23 | }; |
| 24 | |
| 25 | &pinctrl_usdhc2_gpio { |
| 26 | u-boot,dm-spl; |
| 27 | }; |
| 28 | |
| 29 | &pinctrl_usdhc2 { |
| 30 | u-boot,dm-spl; |
| 31 | }; |
| 32 | |
| 33 | &pinctrl_usdhc3 { |
| 34 | u-boot,dm-spl; |
| 35 | }; |
| 36 | |
Teresa Remmet | 96303ad | 2021-10-06 11:56:50 +0200 | [diff] [blame] | 37 | &pinctrl_wdog { |
| 38 | u-boot,dm-spl; |
| 39 | }; |
| 40 | |
Teresa Remmet | 82750c2 | 2020-08-21 09:55:53 +0200 | [diff] [blame] | 41 | &gpio1 { |
| 42 | u-boot,dm-spl; |
| 43 | }; |
| 44 | |
| 45 | &gpio2 { |
| 46 | u-boot,dm-spl; |
| 47 | }; |
| 48 | |
| 49 | &gpio3 { |
| 50 | u-boot,dm-spl; |
| 51 | }; |
| 52 | |
| 53 | &gpio4 { |
| 54 | u-boot,dm-spl; |
| 55 | }; |
| 56 | |
| 57 | &gpio5 { |
| 58 | u-boot,dm-spl; |
| 59 | }; |
| 60 | |
| 61 | &uart3 { |
| 62 | u-boot,dm-spl; |
| 63 | }; |
| 64 | |
| 65 | &usdhc2 { |
| 66 | u-boot,dm-spl; |
| 67 | }; |
| 68 | |
| 69 | &usdhc3 { |
| 70 | u-boot,dm-spl; |
| 71 | }; |
| 72 | |
| 73 | &wdog1 { |
| 74 | u-boot,dm-spl; |
| 75 | }; |
Teresa Remmet | b93fc94 | 2021-10-06 11:56:54 +0200 | [diff] [blame] | 76 | |
| 77 | &binman { |
| 78 | u-boot-spl-ddr { |
| 79 | filename = "u-boot-spl-ddr.bin"; |
| 80 | pad-byte = <0xff>; |
| 81 | align-size = <4>; |
| 82 | align = <4>; |
| 83 | |
| 84 | u-boot-spl { |
| 85 | align-end = <4>; |
| 86 | }; |
| 87 | |
| 88 | blob_1: blob-ext@1 { |
| 89 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
| 90 | size = <0x8000>; |
| 91 | }; |
| 92 | |
| 93 | blob_2: blob-ext@2 { |
| 94 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
| 95 | size = <0x4000>; |
| 96 | }; |
| 97 | |
| 98 | blob_3: blob-ext@3 { |
| 99 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
| 100 | size = <0x8000>; |
| 101 | }; |
| 102 | |
| 103 | blob_4: blob-ext@4 { |
| 104 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
| 105 | size = <0x4000>; |
| 106 | }; |
| 107 | }; |
| 108 | |
| 109 | spl { |
| 110 | filename = "spl.bin"; |
| 111 | |
| 112 | mkimage { |
| 113 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; |
| 114 | |
| 115 | blob { |
| 116 | filename = "u-boot-spl-ddr.bin"; |
| 117 | }; |
| 118 | }; |
| 119 | }; |
| 120 | |
| 121 | itb { |
| 122 | filename = "u-boot.itb"; |
| 123 | |
| 124 | fit { |
| 125 | description = "Configuration to load ATF before U-Boot"; |
| 126 | #address-cells = <1>; |
| 127 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 128 | |
| 129 | images { |
| 130 | uboot { |
| 131 | description = "U-Boot (64-bit)"; |
| 132 | type = "standalone"; |
| 133 | arch = "arm64"; |
| 134 | compression = "none"; |
| 135 | load = <CONFIG_SYS_TEXT_BASE>; |
| 136 | |
| 137 | uboot_blob: blob-ext { |
| 138 | filename = "u-boot-nodtb.bin"; |
| 139 | }; |
| 140 | }; |
| 141 | |
| 142 | atf { |
| 143 | description = "ARM Trusted Firmware"; |
| 144 | type = "firmware"; |
| 145 | arch = "arm64"; |
| 146 | compression = "none"; |
| 147 | load = <0x920000>; |
| 148 | entry = <0x920000>; |
| 149 | |
| 150 | atf_blob: blob-ext { |
| 151 | filename = "bl31.bin"; |
| 152 | }; |
| 153 | }; |
| 154 | |
| 155 | fdt { |
| 156 | description = "NAME"; |
| 157 | type = "flat_dt"; |
| 158 | compression = "none"; |
| 159 | |
| 160 | uboot_fdt_blob: blob-ext { |
| 161 | filename = "u-boot.dtb"; |
| 162 | }; |
| 163 | }; |
| 164 | }; |
| 165 | |
| 166 | configurations { |
| 167 | default = "conf"; |
| 168 | |
| 169 | conf { |
| 170 | description = "NAME"; |
| 171 | firmware = "uboot"; |
| 172 | loadables = "atf"; |
| 173 | fdt = "fdt"; |
| 174 | }; |
| 175 | }; |
| 176 | }; |
| 177 | }; |
| 178 | |
| 179 | imx-boot { |
| 180 | filename = "flash.bin"; |
| 181 | pad-byte = <0x00>; |
| 182 | |
| 183 | spl: blob-ext@1 { |
| 184 | filename = "spl.bin"; |
| 185 | offset = <0x0>; |
| 186 | }; |
| 187 | |
| 188 | uboot: blob-ext@2 { |
| 189 | filename = "u-boot.itb"; |
| 190 | offset = <0x57c00>; |
| 191 | }; |
| 192 | }; |
| 193 | }; |