E Shattow | 8ec40da | 2024-12-31 22:35:57 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 OR MIT |
| 2 | /* |
| 3 | * Copyright (C) 2023 StarFive Technology Co., Ltd. |
| 4 | */ |
| 5 | |
| 6 | #include "binman.dtsi" |
| 7 | |
| 8 | / { |
| 9 | config { |
| 10 | bootph-pre-ram; |
| 11 | u-boot,spl-payload-offset = <0x100000>; |
| 12 | }; |
| 13 | }; |
| 14 | |
| 15 | &binman { |
| 16 | itb { |
| 17 | fit { |
| 18 | images { |
| 19 | fdt-jh7110-milkv-mars { |
| 20 | description = "jh7110-milkv-mars"; |
| 21 | load = <0x40400000>; |
| 22 | compression = "none"; |
| 23 | |
| 24 | blob-ext { |
| 25 | filename = "dts/upstream/src/riscv/starfive/jh7110-milkv-mars.dtb"; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | fdt-jh7110-pine64-star64 { |
| 30 | description = "jh7110-pine64-star64"; |
| 31 | load = <0x40400000>; |
| 32 | compression = "none"; |
| 33 | |
| 34 | blob-ext { |
| 35 | filename = "dts/upstream/src/riscv/starfive/jh7110-pine64-star64.dtb"; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | fdt-jh7110-starfive-visionfive-2-v1.2a { |
| 40 | description = "jh7110-starfive-visionfive-2-v1.2a"; |
| 41 | load = <0x40400000>; |
| 42 | compression = "none"; |
| 43 | |
| 44 | blob-ext { |
| 45 | filename = "dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2-v1.2a.dtb"; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | fdt-jh7110-starfive-visionfive-2-v1.3b { |
| 50 | description = "jh7110-starfive-visionfive-2-v1.3b"; |
| 51 | load = <0x40400000>; |
| 52 | compression = "none"; |
| 53 | |
| 54 | blob-ext { |
| 55 | filename = "dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb"; |
| 56 | }; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | configurations { |
| 61 | conf-jh7110-milkv-mars { |
| 62 | description = "jh7110-milkv-mars"; |
| 63 | firmware = "opensbi"; |
| 64 | loadables = "uboot"; |
| 65 | fdt = "fdt-jh7110-milkv-mars"; |
| 66 | }; |
| 67 | |
| 68 | conf-jh7110-pine64-star64 { |
| 69 | description = "jh7110-pine64-star64"; |
| 70 | firmware = "opensbi"; |
| 71 | loadables = "uboot"; |
| 72 | fdt = "fdt-jh7110-pine64-star64"; |
| 73 | }; |
| 74 | |
| 75 | conf-jh7110-starfive-visionfive-2-v1.2a { |
| 76 | description = "jh7110-starfive-visionfive-2-v1.2a"; |
| 77 | firmware = "opensbi"; |
| 78 | loadables = "uboot"; |
| 79 | fdt = "fdt-jh7110-starfive-visionfive-2-v1.2a"; |
| 80 | }; |
| 81 | |
| 82 | conf-jh7110-starfive-visionfive-2-v1.3b { |
| 83 | description = "jh7110-starfive-visionfive-2-v1.3b"; |
| 84 | firmware = "opensbi"; |
| 85 | loadables = "uboot"; |
| 86 | fdt = "fdt-jh7110-starfive-visionfive-2-v1.3b"; |
| 87 | }; |
| 88 | }; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | spl-img { |
| 93 | filename = "spl/u-boot-spl.bin.normal.out"; |
| 94 | |
| 95 | mkimage { |
| 96 | args = "-T sfspl"; |
| 97 | |
| 98 | u-boot-spl { |
| 99 | }; |
| 100 | }; |
| 101 | }; |
| 102 | }; |