/*
 * Copyright 2017 NXP
 *
 */


/dts-v1/;

/ {
	description = "arm64 kernel, ramdisk and FDT blob";
	#address-cells = <1>;

	images {
		kernel {
			description = "ARM64 Kernel";
			data = /incbin/("arch/arm64/boot/Image.gz");
			type = "kernel";
			arch = "arm64";
			os = "linux";
			compression = "gzip";
			load = <0x80080000>;
			entry = <0x80080000>;
			hash@1 {
				algo = "crc32";
			};
		};

		initrd {
			description = "initrd for arm64";
			data = /incbin/("./ramdisk_rootfs_arm64.ext4.gz");
			type = "ramdisk";
			arch = "arm64";
			os = "linux";
			compression = "none";
			load = <0x00000000>;
			entry = <0x00000000>;
			hash@1 {
				algo = "crc32";
			};
		};	

		hcen1002-dtb {
			description = "hcen1002-dtb";
			data = /incbin/("arch/arm64/boot/dts/freescale/hc-ls1043a-hcen1002-sdk.dtb");
			type = "flat_dt";
			arch = "arm64";
			os = "linux";
			compression = "none";
			load = <0x90000000>;
			hash@1 {
				algo = "crc32";
			};
		};
		hcen1002-dpdk {
			description = "hcen1002-dpdk";
			data = /incbin/("arch/arm64/boot/dts/freescale/hc-ls1043a-hcen1002-usdpaa.dtb");
			type = "flat_dt";
			arch = "arm64";
			os = "linux";
			compression = "none";
			load = <0x90000000>;
			hash@1 {
				algo = "crc32";
			};
		};
		
		hcen104-dtb {
			description = "hcen1002-dtb";
			data = /incbin/("arch/arm64/boot/dts/freescale/hc-ls1043a-hcen104-sdk.dtb");
			type = "flat_dt";
			arch = "arm64";
			os = "linux";
			compression = "none";
			load = <0x90000000>;
			hash@1 {
				algo = "crc32";
			};
		};
		hcen104-dpdk {
			description = "hcen104-dpdk";
			data = /incbin/("arch/arm64/boot/dts/freescale/hc-ls1043a-hcen104-usdpaa.dtb");
			type = "flat_dt";
			arch = "arm64";
			os = "linux";
			compression = "none";
			load = <0x90000000>;
			hash@1 {
				algo = "crc32";
			};
		};
	};

	configurations {
		
		hcen1002 {
			description = "config for hcen1002";
			kernel = "kernel";
			ramdisk = "initrd";
			fdt = "hcen1002-dtb";
		};
		hcen1002-dpdk {
			description = "config for hcen1002 dpdk mode";
			kernel = "kernel";
			ramdisk = "initrd";
			fdt = "hcen1002-dpdk";
		};
		hcen104 {
			description = "config for hcen104";
			kernel = "kernel";
			ramdisk = "initrd";
			fdt = "hcen104-dtb";
		};
		hcen104-dpdk {
			description = "config for hcen104 dpdk mode";
			kernel = "kernel";
			ramdisk = "initrd";
			fdt = "hcen104-dpdk";
		};
	};
};