Merge tag 'u-boot-imx-20200825' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[platform/kernel/u-boot.git] / arch / arm / dts / rk3288-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2019 Rockchip Electronics Co., Ltd
4  */
5
6 #include "rockchip-u-boot.dtsi"
7 #include "rockchip-optee.dtsi"
8
9 / {
10         chosen {
11                 u-boot,spl-boot-order = \
12                         "same-as-spl", &emmc, &sdmmc;
13         };
14 };
15
16 #ifdef CONFIG_ROCKCHIP_SPI_IMAGE
17 &binman {
18         rom {
19                 filename = "u-boot.rom";
20                 size = <0x400000>;
21                 pad-byte = <0xff>;
22
23                 mkimage {
24                         args = "-n rk3288 -T rkspi";
25                         u-boot-spl {
26                         };
27                 };
28                 u-boot-img {
29                         offset = <0x20000>;
30                 };
31                 u-boot {
32                         offset = <0x300000>;
33                 };
34                 fdtmap {
35                 };
36         };
37 };
38 #endif
39
40 &dmc {
41         u-boot,dm-pre-reloc;
42 };
43
44 &pmu {
45         u-boot,dm-pre-reloc;
46 };
47
48 &sgrf {
49         u-boot,dm-pre-reloc;
50 };
51
52 &cru {
53         u-boot,dm-pre-reloc;
54 };
55
56 &grf {
57         u-boot,dm-pre-reloc;
58 };
59
60 &vopb {
61         u-boot,dm-pre-reloc;
62 };
63
64 &vopl {
65         u-boot,dm-pre-reloc;
66 };
67
68 &noc {
69         u-boot,dm-pre-reloc;
70 };
71
72 &gpio7 {
73         u-boot,dm-pre-reloc;
74 };