hc
2025-02-14 bbb9540dc49f70f6b703d1c8d1b85fa5f602d86e
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
 */
 
/ {
   memory: memory {
       device_type = "memory";
       reg = <0x00000000 0x20000000>;
   };
 
   ramdisk: ramdisk {
       compatible = "rockchip,ramdisk";
       memory-region = <&ramdisk_r>;
   };
 
   reserved-memory {
       trust@0 {
           reg = <0x00000000 0x00200000>;
           no-map;
       };
 
       trust@200000 {
           reg = <0x00200000 0x00008000>;
       };
 
       ramoops@210000 {
           compatible = "ramoops";
           reg = <0x00210000 0x000f0000>;
           record-size = <0x20000>;
           console-size = <0x20000>;
           ftrace-size = <0x00000>;
           pmsg-size = <0x50000>;
       };
 
       rtos@300000 {
           reg = <0x00300000 0x00100000>;
           no-map;
       };
 
       ramdisk_r: ramdisk@2800000 {
           reg = <0x02800000 (48 * 0x00100000)>;
       };
 
       ramdisk_c: ramdisk@5800000 {
           reg = <0x05800000 (20 * 0x00100000)>;
       };
 
       rkisp_thunderboot: rkisp@08000000 {
           reg = <0x08000000 (144 * 0x00100000)>;
       };
   };
 
   thunder_boot_rkisp: thunder-boot-rkisp {
       compatible = "rockchip,thunder-boot-rkisp";
       clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>,
            <&cru CLK_ISP>, <&cru CLK_MIPICSI_OUT>,
            <&cru CLK_I2C1>, <&cru PCLK_I2C1>,
            <&cru CLK_SCR1>, <&cru CLK_SCR1_CORE>,
            <&cru CLK_SCR1_RTC>, <&cru CLK_SCR1_JTAG>,
            <&cru PCLK_CSIPHY0>;
       clock-names = "aclk_isp", "hclk_isp",
                 "clk_isp", "xvclk",
                 "i2c1", "i2c1_pclk",
                 "clk_scr1", "clk_scr1_core",
                 "clk_scr1_rtc", "clk_scr1_jtag",
                 "csiphy0_pclk";
       power-domains = <&power RV1126_PD_VI>;
 
       pinctrl-names = "default";
       pinctrl-0 = <&mipicsi_clk0>;
       status = "okay";
   };
};
 
&cpu0_opp_table {
   rockchip,reboot-freq = <1200000>;
   /delete-node/ opp-1296000000;
   /delete-node/ opp-1416000000;
   /delete-node/ opp-1512000000;
};
 
&cru {
   /delete-property/ assigned-clocks;
   /delete-property/ assigned-clock-rates;
   /delete-property/ assigned-clock-parents;
};
 
&crypto {
   status = "okay";
};
 
&ddr_timing {
   status = "disabled";
};
 
&hw_decompress {
   status = "okay";
   memory-region = <&ramdisk_c>;
};
 
&isp_reserved {
   inactive;
};
 
&mtl_rx_setup {
   queue0 {
       status = "okay";
   };
};
 
&mtl_tx_setup {
   queue0 {
       status = "okay";
   };
};
 
&ramoops {
   status = "disabled";
};
 
&rkisp_vir0 {
   memory-region-thunderboot = <&rkisp_thunderboot>;
};