Yanhong Wang | f2d5244 | 2023-03-29 11:42:23 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 OR MIT |
| 2 | /* |
Yanhong Wang | 9b7060b | 2023-06-15 17:36:45 +0800 | [diff] [blame^] | 3 | * Copyright (C) 2023 StarFive Technology Co., Ltd. |
Yanhong Wang | f2d5244 | 2023-03-29 11:42:23 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include "binman.dtsi" |
| 7 | #include "jh7110-u-boot.dtsi" |
| 8 | / { |
| 9 | chosen { |
| 10 | bootph-pre-ram; |
| 11 | }; |
| 12 | |
| 13 | firmware { |
| 14 | spi0 = &qspi; |
| 15 | bootph-pre-ram; |
| 16 | }; |
| 17 | |
| 18 | config { |
| 19 | bootph-pre-ram; |
| 20 | u-boot,spl-payload-offset = <0x100000>; |
| 21 | }; |
| 22 | |
| 23 | memory@40000000 { |
| 24 | bootph-pre-ram; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | &uart0 { |
| 29 | bootph-pre-ram; |
| 30 | }; |
| 31 | |
| 32 | &mmc0 { |
| 33 | bootph-pre-ram; |
| 34 | }; |
| 35 | |
| 36 | &mmc1 { |
| 37 | bootph-pre-ram; |
| 38 | }; |
| 39 | |
| 40 | &qspi { |
| 41 | bootph-pre-ram; |
| 42 | |
| 43 | nor-flash@0 { |
| 44 | bootph-pre-ram; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | &sysgpio { |
| 49 | bootph-pre-ram; |
| 50 | }; |
| 51 | |
| 52 | &mmc0_pins { |
| 53 | bootph-pre-ram; |
| 54 | mmc0-pins-rest { |
| 55 | bootph-pre-ram; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | &mmc1_pins { |
| 60 | bootph-pre-ram; |
| 61 | mmc1-pins0 { |
| 62 | bootph-pre-ram; |
| 63 | }; |
| 64 | |
| 65 | mmc1-pins1 { |
| 66 | bootph-pre-ram; |
| 67 | }; |
| 68 | }; |
| 69 | |
Yanhong Wang | 9b7060b | 2023-06-15 17:36:45 +0800 | [diff] [blame^] | 70 | &binman { |
| 71 | itb { |
| 72 | fit { |
| 73 | images { |
| 74 | fdt-1 { |
| 75 | description = "NAME"; |
| 76 | load = <0x40400000>; |
| 77 | compression = "none"; |
| 78 | |
| 79 | uboot_fdt_blob: blob-ext { |
| 80 | filename = "u-boot.dtb"; |
| 81 | }; |
| 82 | }; |
| 83 | }; |
| 84 | |
| 85 | configurations { |
| 86 | conf-1 { |
| 87 | fdt = "fdt-1"; |
| 88 | }; |
| 89 | }; |
| 90 | }; |
| 91 | }; |
| 92 | }; |