hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
 *
 */
 
/ {
   chosen: chosen {
       bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0";
   };
 
   aliases {
       mmc0 = &sdmmc0;
       mmc1 = &sdmmc1;
       mmc2 = &sdhci;
       mmc3 = &sdmmc2;
   };
 
   fiq-debugger {
       compatible = "rockchip,fiq-debugger";
       rockchip,serial-id = <2>;
       rockchip,wake-irq = <0>;
       /* If enable uart uses irq instead of fiq */
       rockchip,irq-mode-enable = <1>;
       rockchip,baudrate = <1500000>;  /* Only 115200 and 1500000 */
       interrupts = <GIC_SPI 252 IRQ_TYPE_LEVEL_LOW>;
       pinctrl-names = "default";
       pinctrl-0 = <&uart2m0_xfer>;
       status = "okay";
   };
 
   firmware {
       optee: optee {
           compatible = "linaro,optee-tz";
           method = "smc";
       };
   };
 
   debug: debug@fd904000 {
       compatible = "rockchip,debug";
       reg = <0x0 0xfd904000 0x0 0x1000>,
           <0x0 0xfd905000 0x0 0x1000>,
           <0x0 0xfd906000 0x0 0x1000>,
           <0x0 0xfd907000 0x0 0x1000>;
   };
 
   cspmu: cspmu@fd90c000 {
       compatible = "rockchip,cspmu";
       reg = <0x0 0xfd90c000 0x0 0x1000>,
           <0x0 0xfd90d000 0x0 0x1000>,
           <0x0 0xfd90e000 0x0 0x1000>,
           <0x0 0xfd90f000 0x0 0x1000>;
   };
 
   vendor_storage: vendor-storage {
       compatible = "rockchip,ram-vendor-storage";
       memory-region = <&vendor_storage_rm>;
       status = "okay";
   };
};
 
&reserved_memory {
   linux,cma {
       compatible = "shared-dma-pool";
       inactive;
       reusable;
       reg = <0x0 0x10000000 0x0 0x00800000>;
       linux,cma-default;
   };
 
   ramoops: ramoops@110000 {
       compatible = "ramoops";
       reg = <0x0 0x110000 0x0 0xf0000>;
       record-size = <0x20000>;
       console-size = <0x80000>;
       ftrace-size = <0x00000>;
       pmsg-size = <0x50000>;
   };
 
   vendor_storage_rm: vendor-storage-rm@00000000 {
       compatible = "rockchip,vendor-storage-rm";
       reg = <0x0 0x0 0x0 0x0>;
   };
};
 
&rng {
   status = "okay";
};
 
&rockchip_suspend {
   status = "okay";
};
 
&vop {
   support-multi-area;
};