bc7e9756c239609349ea8743f7ca8e25c35eb70c
[platform/kernel/u-boot.git] / arch / arm / dts / imx8mq-cm-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2019 NXP
4  */
5
6 / {
7         binman: binman {
8                 multiple-images;
9         };
10 };
11
12 &pinctrl_uart1 {
13         u-boot,dm-spl;
14 };
15
16 &uart1 {
17         u-boot,dm-spl;
18 };
19
20 &binman {
21          u-boot-spl-ddr {
22                 filename = "u-boot-spl-ddr.bin";
23                 pad-byte = <0xff>;
24                 align-size = <4>;
25                 align = <4>;
26
27                 u-boot-spl {
28                         align-end = <4>;
29                 };
30
31                 ddr-1d-imem-fw {
32                         filename = "lpddr4_pmu_train_1d_imem.bin";
33                         size = <0x8000>;
34                         type = "blob-ext";
35                 };
36
37                 ddr-1d-dmem-fw {
38                         filename = "lpddr4_pmu_train_1d_dmem.bin";
39                         size = <0x4000>;
40                         type = "blob-ext";
41                 };
42
43                 ddr-2d-imem-fw {
44                         filename = "lpddr4_pmu_train_2d_imem.bin";
45                         size = <0x8000>;
46                         type = "blob-ext";
47                 };
48
49                 ddr-2d-dmem-fw {
50                         filename = "lpddr4_pmu_train_2d_dmem.bin";
51                         size = <0x4000>;
52                         type = "blob-ext";
53                 };
54         };
55
56         flash {
57                 mkimage {
58                         args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
59
60                         blob {
61                                 filename = "u-boot-spl-ddr.bin";
62                         };
63                 };
64         };
65
66         itb {
67                 filename = "u-boot.itb";
68
69                 fit {
70                         description = "Configuration to load ATF before U-Boot";
71                         #address-cells = <1>;
72                         fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
73
74                         images {
75                                 uboot {
76                                         description = "U-Boot (64-bit)";
77                                         type = "standalone";
78                                         arch = "arm64";
79                                         compression = "none";
80                                         load = <CONFIG_SYS_TEXT_BASE>;
81
82                                         uboot_blob: blob-ext {
83                                                 filename = "u-boot-nodtb.bin";
84                                         };
85                                 };
86
87                                 atf {
88                                         description = "ARM Trusted Firmware";
89                                         type = "firmware";
90                                         arch = "arm64";
91                                         compression = "none";
92                                         load = <0x910000>;
93                                         entry = <0x910000>;
94
95                                         atf_blob: blob-ext {
96                                                 filename = "bl31.bin";
97                                         };
98                                 };
99
100                                 fdt {
101                                         description = "NAME";
102                                         type = "flat_dt";
103                                         compression = "none";
104
105                                         uboot_fdt_blob: blob-ext {
106                                                 filename = "u-boot.dtb";
107                                         };
108                                 };
109                         };
110
111                         configurations {
112                                 default = "conf";
113
114                                 conf {
115                                         description = "NAME";
116                                         firmware = "uboot";
117                                         loadables = "atf";
118                                         fdt = "fdt";
119                                 };
120                         };
121                 };
122         };
123 };