]> Git Repo - J-u-boot.git/commitdiff
riscv: dts: jh7110: Support multiple DTBs in a Fit image
authorHal Feng <[email protected]>
Sun, 8 Dec 2024 09:19:39 +0000 (17:19 +0800)
committerLeo Yu-Chi Liang <[email protected]>
Wed, 18 Dec 2024 05:19:15 +0000 (13:19 +0800)
Support multiple DTBs for JH7110 based boards, so they can
select the correct DT at runtime.

Tested-by: Anand Moon <[email protected]>
Tested-by: E Shattow <[email protected]>
Reviewed-by: E Shattow <[email protected]>
Signed-off-by: Hal Feng <[email protected]>
arch/riscv/dts/jh7110-common-u-boot.dtsi

index 45fada34d2f8485d3c047d2e6c4d295c1cfdb30e..7871294e90d43ff3baa1ea806c1da8861217db17 100644 (file)
        itb {
                fit {
                        images {
-                               fdt-1 {
-                                       description = "NAME";
+                               fdt-jh7110-milkv-mars {
+                                       description = "jh7110-milkv-mars";
                                        load = <0x40400000>;
                                        compression = "none";
 
-                                       uboot_fdt_blob: blob-ext {
-                                               filename = "u-boot.dtb";
+                                       blob-ext {
+                                               filename = "dts/upstream/src/riscv/starfive/jh7110-milkv-mars.dtb";
+                                       };
+                               };
+
+                               fdt-jh7110-pine64-star64 {
+                                       description = "jh7110-pine64-star64";
+                                       load = <0x40400000>;
+                                       compression = "none";
+
+                                       blob-ext {
+                                               filename = "dts/upstream/src/riscv/starfive/jh7110-pine64-star64.dtb";
+                                       };
+                               };
+
+                               fdt-jh7110-starfive-visionfive-2-v1.2a {
+                                       description = "jh7110-starfive-visionfive-2-v1.2a";
+                                       load = <0x40400000>;
+                                       compression = "none";
+
+                                       blob-ext {
+                                               filename = "dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2-v1.2a.dtb";
+                                       };
+                               };
+
+                               fdt-jh7110-starfive-visionfive-2-v1.3b {
+                                       description = "jh7110-starfive-visionfive-2-v1.3b";
+                                       load = <0x40400000>;
+                                       compression = "none";
+
+                                       blob-ext {
+                                               filename = "dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb";
                                        };
                                };
                        };
 
                        configurations {
-                               conf-1 {
-                                       fdt = "fdt-1";
+                               conf-jh7110-milkv-mars {
+                                       description = "jh7110-milkv-mars";
+                                       firmware = "opensbi";
+                                       loadables = "uboot";
+                                       fdt = "fdt-jh7110-milkv-mars";
+                               };
+
+                               conf-jh7110-pine64-star64 {
+                                       description = "jh7110-pine64-star64";
+                                       firmware = "opensbi";
+                                       loadables = "uboot";
+                                       fdt = "fdt-jh7110-pine64-star64";
+                               };
+
+                               conf-jh7110-starfive-visionfive-2-v1.2a {
+                                       description = "jh7110-starfive-visionfive-2-v1.2a";
+                                       firmware = "opensbi";
+                                       loadables = "uboot";
+                                       fdt = "fdt-jh7110-starfive-visionfive-2-v1.2a";
+                               };
+
+                               conf-jh7110-starfive-visionfive-2-v1.3b {
+                                       description = "jh7110-starfive-visionfive-2-v1.3b";
+                                       firmware = "opensbi";
+                                       loadables = "uboot";
+                                       fdt = "fdt-jh7110-starfive-visionfive-2-v1.3b";
                                };
                        };
                };
This page took 0.037244 seconds and 4 git commands to generate.