Yanhong Wang | 5efc934 | 2023-03-29 11:42:23 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 OR MIT |
| 2 | /* |
Yanhong Wang | 438ab1e | 2023-06-15 17:36:45 +0800 | [diff] [blame] | 3 | * Copyright (C) 2023 StarFive Technology Co., Ltd. |
Yanhong Wang | 5efc934 | 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 | d426942 | 2023-06-15 17:36:49 +0800 | [diff] [blame] | 70 | &i2c5_pins { |
| 71 | bootph-pre-ram; |
| 72 | i2c-pins { |
| 73 | bootph-pre-ram; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | &i2c5 { |
| 78 | bootph-pre-ram; |
| 79 | eeprom@50 { |
| 80 | bootph-pre-ram; |
| 81 | }; |
| 82 | }; |
| 83 | |
Yanhong Wang | 438ab1e | 2023-06-15 17:36:45 +0800 | [diff] [blame] | 84 | &binman { |
| 85 | itb { |
| 86 | fit { |
| 87 | images { |
| 88 | fdt-1 { |
| 89 | description = "NAME"; |
| 90 | load = <0x40400000>; |
| 91 | compression = "none"; |
| 92 | |
| 93 | uboot_fdt_blob: blob-ext { |
| 94 | filename = "u-boot.dtb"; |
| 95 | }; |
| 96 | }; |
| 97 | }; |
| 98 | |
| 99 | configurations { |
| 100 | conf-1 { |
| 101 | fdt = "fdt-1"; |
| 102 | }; |
| 103 | }; |
| 104 | }; |
| 105 | }; |
| 106 | }; |