xref: /linux/Documentation/devicetree/bindings/sram/qcom,imem.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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
7title: Qualcomm IMEM memory region
8
9maintainers:
10  - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12description:
13  Qualcomm IMEM is dedicated memory region for various debug features and DMA
14  transactions.
15
16properties:
17  compatible:
18    items:
19      - enum:
20          - qcom,apq8064-imem
21          - qcom,msm8226-imem
22          - qcom,msm8974-imem
23          - qcom,qcs404-imem
24          - qcom,qcs8300-imem
25          - qcom,qdu1000-imem
26          - qcom,sa8775p-imem
27          - qcom,sc7180-imem
28          - qcom,sc7280-imem
29          - qcom,sdm630-imem
30          - qcom,sdm845-imem
31          - qcom,sdx55-imem
32          - qcom,sdx65-imem
33          - qcom,sm6375-imem
34          - qcom,sm8450-imem
35      - const: syscon
36      - const: simple-mfd
37
38  reg:
39    maxItems: 1
40
41  ranges: true
42
43  '#address-cells':
44    const: 1
45
46  '#size-cells':
47    const: 1
48
49  reboot-mode:
50    $ref: /schemas/power/reset/syscon-reboot-mode.yaml#
51
52patternProperties:
53  "^pil-reloc@[0-9a-f]+$":
54    $ref: /schemas/remoteproc/qcom,pil-info.yaml#
55    description: Peripheral image loader relocation region
56
57required:
58  - compatible
59  - reg
60
61additionalProperties: false
62
63examples:
64  - |
65    soc {
66        #address-cells = <2>;
67        #size-cells = <2>;
68
69        sram@146bf000 {
70            compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
71            reg = <0 0x146bf000 0 0x1000>;
72            ranges = <0 0 0x146bf000 0x1000>;
73
74            #address-cells = <1>;
75            #size-cells = <1>;
76
77            pil-reloc@94c {
78                compatible = "qcom,pil-reloc-info";
79                reg = <0x94c 0xc8>;
80            };
81        };
82    };
83