Skip to content

Commit 38a85b9

Browse files
krzkrobherring
authored andcommitted
dt-bindings: sram: qcom,imem: add IMEM memory region
Add bindings for IMEM memory region (like SRAM) used on several Qualcomm SoCs. In the downstream (vendor) tree, it comes with several children used for debugging purposes. The upstreamed parts are much smaller - just image loader and syscon reboot. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220607171848.535128-2-krzysztof.kozlowski@linaro.org
1 parent ae5a898 commit 38a85b9

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sram/qcom,imem.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm IMEM memory region
8+
9+
maintainers:
10+
- Bjorn Andersson <bjorn.andersson@linaro.org>
11+
12+
description:
13+
Qualcomm IMEM is dedicated memory region for various debug features and DMA
14+
transactions.
15+
16+
properties:
17+
compatible:
18+
items:
19+
- enum:
20+
- qcom,apq8064-imem
21+
- qcom,msm8974-imem
22+
- qcom,qcs404-imem
23+
- qcom,sc7180-imem
24+
- qcom,sc7280-imem
25+
- qcom,sdm630-imem
26+
- qcom,sdm845-imem
27+
- qcom,sdx55-imem
28+
- const: syscon
29+
- const: simple-mfd
30+
31+
reg:
32+
maxItems: 1
33+
34+
ranges: true
35+
36+
'#address-cells':
37+
const: 1
38+
39+
'#size-cells':
40+
const: 1
41+
42+
reboot-mode:
43+
$ref: /schemas/power/reset/syscon-reboot-mode.yaml#
44+
45+
patternProperties:
46+
"^pil-reloc@[0-9a-f]+$":
47+
$ref: /schemas/remoteproc/qcom,pil-info.yaml#
48+
description: Peripheral image loader relocation region
49+
50+
required:
51+
- compatible
52+
- reg
53+
54+
additionalProperties: false
55+
56+
examples:
57+
- |
58+
soc {
59+
#address-cells = <2>;
60+
#size-cells = <2>;
61+
62+
sram@146bf000 {
63+
compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
64+
reg = <0 0x146bf000 0 0x1000>;
65+
ranges = <0 0 0x146bf000 0x1000>;
66+
67+
#address-cells = <1>;
68+
#size-cells = <1>;
69+
70+
pil-reloc@94c {
71+
compatible = "qcom,pil-reloc-info";
72+
reg = <0x94c 0xc8>;
73+
};
74+
};
75+
};

0 commit comments

Comments
 (0)