blob: 654f26ea0c41674bb6b3d04f6a5d9bb6b846e22a [file] [log] [blame]
Satyajit Desai6dfa3032016-08-19 11:34:39 -07001Qualcomm IMEM
2
3IMEM is fast on-chip memory used for various debug features and dma transactions.
4
5Required properties
6
7-compatible: "qcom,msm-imem"
8-reg: start address and size of imem memory
9
10If any children nodes exist the following properties are required:
11-#address-cells: should be 1
12-#size-cells: should be 1
13-ranges: A triplet that includes the child address, parent address, &
14 length. The child address is assumed to be 0.
15
16Child nodes:
17------------
18
19Peripheral Image Loader (pil):
20------------------------------
21Required properties:
22-compatible: "qcom,msm-imem-pil"
23-reg: start address and size of PIL region in imem
24
25Bootloader Stats:
26-----------------
27Required properties:
28-compatible: "qcom,msm-imem-boot_stats"
29-reg: start address and size of boot_stats region in imem
30
31Cache error reporting:
32-----------------
33Required properties:
34-compatible: "qcom,msm-imem-cache_erp"
35-reg: start address and size of cache_erp region in imem
36
37Memory Dump:
38------------
39Required properties:
40-compatible: "qcom,msm-imem-mem_dump_table"
41-reg: start address and size of mem_dump_table region in imem
42
43Restart Reason:
44---------------
45Required properties:
46-compatible: "qcom,msm-imem-restart_reason
47-reg: start address and size of restart_reason region in imem
48
49Download Mode:
50--------------
51Required properties:
52-compatible: "qcom,msm-imem-download_mode"
53-reg: start address and size of download_mode region in imem
54
55Emergency Download Mode:
56------------------------
57-compatible: "qcom,msm-imem-emergency_download_mode"
58-reg: start address and size of emergency_download_mode region in imem
59
Channagoud Kadabica9159d2017-04-25 19:44:07 -070060Kaslr Offset:
61------------------------
62-compatible: "qcom,msm-imem-kaslr_offset"
63-reg: start address and size of kaslr_offset region in imem
64
Satyajit Desai6dfa3032016-08-19 11:34:39 -070065USB Diag Cookies:
66-----------------
67Memory region used to store USB PID and serial numbers to be used by
68bootloader in download mode.
69
Avaneesh Kumar Dwivediec6d1392017-07-06 21:18:03 +053070SSR Minidump Offset
71-------------------
72-Compatible: "qcom,msm-imem-minidump"
73-reg: start address and size of ssr imem region
74
Satyajit Desai6dfa3032016-08-19 11:34:39 -070075Required properties:
76-compatible: "qcom,msm-imem-diag-dload"
77-reg: start address and size of USB Diag download mode region in imem
78
79Example:
80
81 qcom,msm-imem {
82 compatible = "qcom,msm-imem";
83 reg = <0xdeadbeef 0x1000>; /* < start_address size > */
84 ranges = <0x0 0xdeadbeef 0x1000>;
85 #address-cells = <1>;
86 #size-cells = <1>;
87
88 download_mode@0 {
89 compatible = "qcom,msm-imem-download_mode";
90 reg = <0x0 8>;
91 };
92
93 restart_reason@65c {
94 compatible = "qcom,msm-imem-restart_reason";
95 reg = <0x65c 4>;
96 };
97
98 imem_cache_erp: cache_erp@6a4 {
99 compatible = "qcom,msm-imem-cache_erp";
100 reg = <0x6a4 4>;
101 };
102
103 boot_stats@6b0 {
104 compatible = "qcom,msm-imem-boot_stats";
105 reg = <0x6b0 32>;
106 };
107
Channagoud Kadabica9159d2017-04-25 19:44:07 -0700108 kaslr_offset@6d0 {
109 compatible = "qcom,msm-imem-kaslr_offset";
110 reg = <0x6d0 12>;
111 };
112
113
Satyajit Desai6dfa3032016-08-19 11:34:39 -0700114 pil@94c {
115 compatible = "qcom,msm-imem-pil";
116 reg = <0x94c 200>;
117 };
118
119 emergency_download_mode@fe0 {
120 compatible = "qcom,msm-imem-emergency_download_mode";
121 reg = <0xfe0 12>;
122 };
Avaneesh Kumar Dwivediec6d1392017-07-06 21:18:03 +0530123
124 ss_mdump@b88 {
125 compatible = "qcom,msm-imem-minidump";
126 reg = <0xb88 28>;
127 };
Satyajit Desai6dfa3032016-08-19 11:34:39 -0700128 };