arm64: dts: imx8mm-cl-iot-gate-u-boot.dtsi: use common imx8mm-u-boot.dtsi
[platform/kernel/u-boot.git] / arch / arm / dts / imx8mm-cl-iot-gate-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2019 NXP
4  */
5
6 #include "imx8mm-u-boot.dtsi"
7
8 / {
9         binman: binman {
10                 multiple-images;
11         };
12
13         firmware {
14                 optee {
15                         compatible = "linaro,optee-tz";
16                         method = "smc";
17                 };
18         };
19
20         wdt-reboot {
21                 compatible = "wdt-reboot";
22                 u-boot,dm-spl;
23                 wdt = <&wdog1>;
24         };
25 };
26
27 &{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
28         u-boot,dm-spl;
29 };
30
31 &{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {
32         u-boot,dm-spl;
33 };
34
35 &binman {
36         u-boot-spl-ddr {
37                 filename = "u-boot-spl-ddr.bin";
38                 pad-byte = <0xff>;
39                 align-size = <4>;
40                 align = <4>;
41
42                 u-boot-spl {
43                         align-end = <4>;
44                 };
45
46                 blob_1: blob-ext@1 {
47                         filename = "lpddr4_pmu_train_1d_imem.bin";
48                         size = <0x8000>;
49                 };
50
51                 blob_2: blob-ext@2 {
52                         filename = "lpddr4_pmu_train_1d_dmem.bin";
53                         size = <0x4000>;
54                 };
55
56                 blob_3: blob-ext@3 {
57                         filename = "lpddr4_pmu_train_2d_imem.bin";
58                         size = <0x8000>;
59                 };
60
61                 blob_4: blob-ext@4 {
62                         filename = "lpddr4_pmu_train_2d_dmem.bin";
63                         size = <0x4000>;
64                 };
65         };
66
67         flash {
68                 mkimage {
69                         args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
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 = <0x920000>;
104                                         entry = <0x920000>;
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 };
135
136 &fec1 {
137         phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
138 };
139
140 &gpio1 {
141         u-boot,dm-spl;
142 };
143
144 &gpio2 {
145         u-boot,dm-spl;
146 };
147
148 &gpio3 {
149         u-boot,dm-spl;
150 };
151
152 &gpio4 {
153         u-boot,dm-spl;
154 };
155
156 &gpio5 {
157         u-boot,dm-spl;
158 };
159
160 &i2c1 {
161         u-boot,dm-spl;
162 };
163
164 &i2c2 {
165         u-boot,dm-spl;
166 };
167
168 &pinctrl_i2c2 {
169         u-boot,dm-spl;
170 };
171
172 &pinctrl_pmic {
173         u-boot,dm-spl;
174 };
175
176 &pinctrl_uart3 {
177         u-boot,dm-spl;
178 };
179
180 &pinctrl_usdhc2 {
181         u-boot,dm-spl;
182 };
183
184 &pinctrl_usdhc2_gpio {
185         u-boot,dm-spl;
186 };
187
188 &pinctrl_usdhc3 {
189         u-boot,dm-spl;
190 };
191
192 &uart3 {
193         u-boot,dm-spl;
194 };
195
196 &usdhc1 {
197         u-boot,dm-spl;
198 };
199
200 &usdhc2 {
201         u-boot,dm-spl;
202 };
203
204 &usdhc3 {
205         u-boot,dm-spl;
206 };
207
208 &wdog1 {
209         u-boot,dm-spl;
210 };