1/*
2 * U-Boot uImage source file with a kernel and multiple compressed FDT blobs.
3 * Since the FDTs are compressed, configurations must provide a compatible
4 * string to match directly.
5 */
6
7/dts-v1/;
8
9/ {
10	description = "Image with single Linux kernel and compressed FDT blobs";
11	#address-cells = <1>;
12
13	images {
14		kernel {
15			description = "Vanilla Linux kernel";
16			data = /incbin/("./vmlinux.bin.gz");
17			type = "kernel";
18			arch = "ppc";
19			os = "linux";
20			compression = "gzip";
21			load = <00000000>;
22			entry = <00000000>;
23			hash-1 {
24				algo = "crc32";
25			};
26			hash-2 {
27				algo = "sha1";
28			};
29		};
30		fdt@1 {
31			description = "Flattened Device Tree blob 1";
32			data = /incbin/("./myboard-var1.dtb");
33			type = "flat_dt";
34			arch = "ppc";
35			compression = "gzip";
36			hash-1 {
37				algo = "crc32";
38			};
39			hash-2 {
40				algo = "sha1";
41			};
42		};
43		fdt@2 {
44			description = "Flattened Device Tree blob 2";
45			data = /incbin/("./myboard-var2.dtb");
46			type = "flat_dt";
47			arch = "ppc";
48			compression = "lzma";
49			hash-1 {
50				algo = "crc32";
51			};
52			hash-2 {
53				algo = "sha1";
54			};
55		};
56	};
57
58	configurations {
59		default = "conf@1";
60		conf@1 {
61			description = "Boot Linux kernel with FDT blob 1";
62			kernel = "kernel";
63			fdt = "fdt@1";
64			compatible = "myvendor,myboard-variant1";
65		};
66		conf@2 {
67			description = "Boot Linux kernel with FDT blob 2";
68			kernel = "kernel";
69			fdt = "fdt@2";
70			compatible = "myvendor,myboard-variant2";
71		};
72	};
73};
74