hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
 */
 
/ {
   memory: memory {
       device_type = "memory";
       reg = <0x00000000 0x08000000>;
   };
 
   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)>;
       };
   };
};
 
&hw_decompress {
   status = "okay";
   memory-region = <&ramdisk_c>;
};