c87f00141f1e511295be9edaa655f18d6a54edd9
[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
8 / {
9         chosen {
10                 u-boot,spl-boot-order = \
11                         "same-as-spl", &emmc, &sdmmc;
12         };
13 };
14
15 #ifdef CONFIG_ROCKCHIP_SPI_IMAGE
16 &binman {
17         rom {
18                 filename = "u-boot.rom";
19                 size = <0x400000>;
20                 pad-byte = <0xff>;
21
22                 mkimage {
23                         args = "-n rk3288 -T rkspi";
24                         u-boot-spl {
25                         };
26                 };
27                 u-boot-img {
28                         offset = <0x20000>;
29                 };
30                 u-boot {
31                         offset = <0x300000>;
32                 };
33                 fdtmap {
34                 };
35         };
36 };
37 #endif
38
39 &dmc {
40         u-boot,dm-pre-reloc;
41 };
42
43 &pmu {
44         u-boot,dm-pre-reloc;
45 };
46
47 &sgrf {
48         u-boot,dm-pre-reloc;
49 };
50
51 &cru {
52         u-boot,dm-pre-reloc;
53 };
54
55 &grf {
56         u-boot,dm-pre-reloc;
57 };
58
59 &vopb {
60         u-boot,dm-pre-reloc;
61 };
62
63 &vopl {
64         u-boot,dm-pre-reloc;
65 };
66
67 &noc {
68         u-boot,dm-pre-reloc;
69 };
70
71 &gpio7 {
72         u-boot,dm-pre-reloc;
73 };