Kever Yang | 162cebd | 2019-07-01 11:49:10 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2019 Rockchip Electronics Co., Ltd |
| 4 | */ |
| 5 | |
Jagan Teki | b22da75 | 2020-01-10 00:16:21 +0530 | [diff] [blame] | 6 | #include "rockchip-u-boot.dtsi" |
Simon Glass | 6a50cd1 | 2020-07-19 13:56:12 -0600 | [diff] [blame] | 7 | #include "rockchip-optee.dtsi" |
Jagan Teki | b22da75 | 2020-01-10 00:16:21 +0530 | [diff] [blame] | 8 | |
Kever Yang | e5f3c6e | 2019-07-09 21:58:54 +0800 | [diff] [blame] | 9 | / { |
| 10 | chosen { |
| 11 | u-boot,spl-boot-order = \ |
| 12 | "same-as-spl", &emmc, &sdmmc; |
| 13 | }; |
| 14 | }; |
| 15 | |
Simon Glass | 88315f7 | 2020-07-19 13:55:57 -0600 | [diff] [blame] | 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 | |
Kever Yang | 162cebd | 2019-07-01 11:49:10 +0800 | [diff] [blame] | 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 | }; |
Walter Lozano | 6dc8d7e | 2020-06-25 01:10:15 -0300 | [diff] [blame] | 71 | |
| 72 | &gpio7 { |
| 73 | u-boot,dm-pre-reloc; |
| 74 | }; |