38 lines
690 B
Plaintext
38 lines
690 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
/ {
|
|
ramdisk: ramdisk {
|
|
compatible = "rockchip,ramdisk";
|
|
memory-region = <&ramdisk_r>;
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
ramdisk_r: ramdisk_r {
|
|
reg = <0x800000 (10 * 0x00100000)>;
|
|
};
|
|
|
|
ramdisk_c: ramdisk_c {
|
|
reg = <0x1200000 (5 * 0x00100000)>;
|
|
};
|
|
};
|
|
|
|
thunder_boot_spi_nor: thunder-boot-spi-nor {
|
|
compatible = "rockchip,thunder-boot-sfc";
|
|
reg = <0x20d40000 0x4000>;
|
|
memory-region-src = <&ramdisk_c>;
|
|
memory-region-dst = <&ramdisk_r>;
|
|
};
|
|
};
|
|
|
|
&hw_decompress {
|
|
memory-region = <&ramdisk_c>;
|
|
status = "okay";
|
|
};
|