Peng Fan | 80607bf | 2021-03-19 15:57:08 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2019 NXP | ||||
4 | */ | ||||
5 | |||||
6 | #include "imx8mn-ddr4-evk-u-boot.dtsi" | ||||
7 | |||||
8 | &i2c1 { | ||||
9 | u-boot,dm-spl; | ||||
10 | }; | ||||
11 | |||||
Marcel Ziswiler | a1033b8 | 2022-07-21 15:43:37 +0200 | [diff] [blame] | 12 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@25} { |
Peng Fan | 80607bf | 2021-03-19 15:57:08 +0800 | [diff] [blame] | 13 | u-boot,dm-spl; |
14 | }; | ||||
15 | |||||
Marcel Ziswiler | a1033b8 | 2022-07-21 15:43:37 +0200 | [diff] [blame] | 16 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} { |
Peng Fan | 80607bf | 2021-03-19 15:57:08 +0800 | [diff] [blame] | 17 | u-boot,dm-spl; |
18 | }; | ||||
19 | |||||
20 | &pinctrl_i2c1 { | ||||
21 | u-boot,dm-spl; | ||||
22 | }; | ||||
23 | |||||
24 | &pinctrl_pmic { | ||||
25 | u-boot,dm-spl; | ||||
26 | }; | ||||
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 27 | |
28 | &binman { | ||||
29 | u-boot-spl-ddr { | ||||
30 | filename = "u-boot-spl-ddr.bin"; | ||||
31 | pad-byte = <0xff>; | ||||
32 | align-size = <4>; | ||||
33 | align = <4>; | ||||
34 | |||||
35 | u-boot-spl { | ||||
36 | align-end = <4>; | ||||
37 | }; | ||||
38 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 39 | ddr-1d-imem-fw { |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 40 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 41 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 42 | align-end = <4>; |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 43 | }; |
44 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 45 | ddr-1d-dmem-fw { |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 46 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 47 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 48 | align-end = <4>; |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 49 | }; |
50 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 51 | ddr-2d-imem-fw { |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 52 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 53 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 54 | align-end = <4>; |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 55 | }; |
56 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 57 | ddr-2d-dmem-fw { |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 58 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 59 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 60 | align-end = <4>; |
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 61 | }; |
62 | }; | ||||
63 | |||||
64 | |||||
Fabio Estevam | 58af77c | 2022-05-03 16:03:04 -0300 | [diff] [blame] | 65 | spl { |
66 | filename = "spl.bin"; | ||||
67 | |||||
Peng Fan | de20912 | 2021-04-06 11:59:00 +0800 | [diff] [blame] | 68 | mkimage { |
69 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; | ||||
70 | |||||
71 | blob { | ||||
72 | filename = "u-boot-spl-ddr.bin"; | ||||
73 | }; | ||||
74 | }; | ||||
75 | }; | ||||
76 | |||||
77 | itb { | ||||
78 | filename = "u-boot.itb"; | ||||
79 | |||||
80 | fit { | ||||
81 | description = "Configuration to load ATF before U-Boot"; | ||||
82 | #address-cells = <1>; | ||||
83 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; | ||||
84 | |||||
85 | images { | ||||
86 | uboot { | ||||
87 | description = "U-Boot (64-bit)"; | ||||
88 | type = "standalone"; | ||||
89 | arch = "arm64"; | ||||
90 | compression = "none"; | ||||
91 | load = <CONFIG_SYS_TEXT_BASE>; | ||||
92 | |||||
93 | uboot_blob: blob-ext { | ||||
94 | filename = "u-boot-nodtb.bin"; | ||||
95 | }; | ||||
96 | }; | ||||
97 | |||||
98 | atf { | ||||
99 | description = "ARM Trusted Firmware"; | ||||
100 | type = "firmware"; | ||||
101 | arch = "arm64"; | ||||
102 | compression = "none"; | ||||
103 | load = <0x960000>; | ||||
104 | entry = <0x960000>; | ||||
105 | |||||
106 | atf_blob: blob-ext { | ||||
107 | filename = "bl31.bin"; | ||||
108 | }; | ||||
109 | }; | ||||
110 | |||||
111 | fdt { | ||||
112 | description = "NAME"; | ||||
113 | type = "flat_dt"; | ||||
114 | compression = "none"; | ||||
115 | |||||
116 | uboot_fdt_blob: blob-ext { | ||||
117 | filename = "u-boot.dtb"; | ||||
118 | }; | ||||
119 | }; | ||||
120 | }; | ||||
121 | |||||
122 | configurations { | ||||
123 | default = "conf"; | ||||
124 | |||||
125 | conf { | ||||
126 | description = "NAME"; | ||||
127 | firmware = "uboot"; | ||||
128 | loadables = "atf"; | ||||
129 | fdt = "fdt"; | ||||
130 | }; | ||||
131 | }; | ||||
132 | }; | ||||
133 | }; | ||||
134 | }; |