blob: c4b83d3f7ed1e3d275931fc7aaec31eafe25ad36 [file] [log] [blame]
Peng Fan80607bf2021-03-19 15:57:08 +08001// 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 Ziswilera1033b82022-07-21 15:43:37 +020012&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
Peng Fan80607bf2021-03-19 15:57:08 +080013 u-boot,dm-spl;
14};
15
Marcel Ziswilera1033b82022-07-21 15:43:37 +020016&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
Peng Fan80607bf2021-03-19 15:57:08 +080017 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 Fande209122021-04-06 11:59:00 +080027
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 Fan5db610f42022-07-26 16:41:20 +080039 ddr-1d-imem-fw {
Peng Fande209122021-04-06 11:59:00 +080040 filename = "lpddr4_pmu_train_1d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080041 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080042 align-end = <4>;
Peng Fande209122021-04-06 11:59:00 +080043 };
44
Peng Fan5db610f42022-07-26 16:41:20 +080045 ddr-1d-dmem-fw {
Peng Fande209122021-04-06 11:59:00 +080046 filename = "lpddr4_pmu_train_1d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080047 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080048 align-end = <4>;
Peng Fande209122021-04-06 11:59:00 +080049 };
50
Peng Fan5db610f42022-07-26 16:41:20 +080051 ddr-2d-imem-fw {
Peng Fande209122021-04-06 11:59:00 +080052 filename = "lpddr4_pmu_train_2d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080053 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080054 align-end = <4>;
Peng Fande209122021-04-06 11:59:00 +080055 };
56
Peng Fan5db610f42022-07-26 16:41:20 +080057 ddr-2d-dmem-fw {
Peng Fande209122021-04-06 11:59:00 +080058 filename = "lpddr4_pmu_train_2d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080059 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080060 align-end = <4>;
Peng Fande209122021-04-06 11:59:00 +080061 };
62 };
63
64
Fabio Estevam58af77c2022-05-03 16:03:04 -030065 spl {
66 filename = "spl.bin";
67
Peng Fande209122021-04-06 11:59:00 +080068 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};