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