3db46d4cbcb466248fb9e41d87e14e84f4673bab
[platform/kernel/u-boot.git] / arch / arm / dts / imx8mn-evk-u-boot.dtsi
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
12 &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} {
13         u-boot,dm-spl;
14 };
15
16 &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} {
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 };
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
39                 blob_1: blob-ext@1 {
40                         filename = "lpddr4_pmu_train_1d_imem.bin";
41                         size = <0x8000>;
42                 };
43
44                 blob_2: blob-ext@2 {
45                         filename = "lpddr4_pmu_train_1d_dmem.bin";
46                         size = <0x4000>;
47                 };
48
49                 blob_3: blob-ext@3 {
50                         filename = "lpddr4_pmu_train_2d_imem.bin";
51                         size = <0x8000>;
52                 };
53
54                 blob_4: blob-ext@4 {
55                         filename = "lpddr4_pmu_train_2d_dmem.bin";
56                         size = <0x4000>;
57                 };
58         };
59
60
61         flash {
62                 mkimage {
63                         args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
64
65                         blob {
66                                 filename = "u-boot-spl-ddr.bin";
67                         };
68                 };
69         };
70
71         itb {
72                 filename = "u-boot.itb";
73
74                 fit {
75                         description = "Configuration to load ATF before U-Boot";
76                         #address-cells = <1>;
77                         fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
78
79                         images {
80                                 uboot {
81                                         description = "U-Boot (64-bit)";
82                                         type = "standalone";
83                                         arch = "arm64";
84                                         compression = "none";
85                                         load = <CONFIG_SYS_TEXT_BASE>;
86
87                                         uboot_blob: blob-ext {
88                                                 filename = "u-boot-nodtb.bin";
89                                         };
90                                 };
91
92                                 atf {
93                                         description = "ARM Trusted Firmware";
94                                         type = "firmware";
95                                         arch = "arm64";
96                                         compression = "none";
97                                         load = <0x960000>;
98                                         entry = <0x960000>;
99
100                                         atf_blob: blob-ext {
101                                                 filename = "bl31.bin";
102                                         };
103                                 };
104
105                                 fdt {
106                                         description = "NAME";
107                                         type = "flat_dt";
108                                         compression = "none";
109
110                                         uboot_fdt_blob: blob-ext {
111                                                 filename = "u-boot.dtb";
112                                         };
113                                 };
114                         };
115
116                         configurations {
117                                 default = "conf";
118
119                                 conf {
120                                         description = "NAME";
121                                         firmware = "uboot";
122                                         loadables = "atf";
123                                         fdt = "fdt";
124                                 };
125                         };
126                 };
127         };
128 };