xref: /linux/Documentation/devicetree/bindings/sram/qcom,imem.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
138a85b9dSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
238a85b9dSKrzysztof Kozlowski%YAML 1.2
338a85b9dSKrzysztof Kozlowski---
438a85b9dSKrzysztof Kozlowski$id: http://devicetree.org/schemas/sram/qcom,imem.yaml#
538a85b9dSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
638a85b9dSKrzysztof Kozlowski
738a85b9dSKrzysztof Kozlowskititle: Qualcomm IMEM memory region
838a85b9dSKrzysztof Kozlowski
938a85b9dSKrzysztof Kozlowskimaintainers:
1038a85b9dSKrzysztof Kozlowski  - Bjorn Andersson <bjorn.andersson@linaro.org>
1138a85b9dSKrzysztof Kozlowski
1238a85b9dSKrzysztof Kozlowskidescription:
1338a85b9dSKrzysztof Kozlowski  Qualcomm IMEM is dedicated memory region for various debug features and DMA
1438a85b9dSKrzysztof Kozlowski  transactions.
1538a85b9dSKrzysztof Kozlowski
1638a85b9dSKrzysztof Kozlowskiproperties:
1738a85b9dSKrzysztof Kozlowski  compatible:
1838a85b9dSKrzysztof Kozlowski    items:
1938a85b9dSKrzysztof Kozlowski      - enum:
2038a85b9dSKrzysztof Kozlowski          - qcom,apq8064-imem
2113ac2620SMatti Lehtimäki          - qcom,msm8226-imem
2238a85b9dSKrzysztof Kozlowski          - qcom,msm8974-imem
2338a85b9dSKrzysztof Kozlowski          - qcom,qcs404-imem
248d66f7a0SKomal Bajaj          - qcom,qdu1000-imem
25*9ca6eaf1STengfei Fan          - qcom,sa8775p-imem
2638a85b9dSKrzysztof Kozlowski          - qcom,sc7180-imem
2738a85b9dSKrzysztof Kozlowski          - qcom,sc7280-imem
2838a85b9dSKrzysztof Kozlowski          - qcom,sdm630-imem
2938a85b9dSKrzysztof Kozlowski          - qcom,sdm845-imem
3038a85b9dSKrzysztof Kozlowski          - qcom,sdx55-imem
31bdc51f42SKrzysztof Kozlowski          - qcom,sdx65-imem
32df90ded6SKonrad Dybcio          - qcom,sm6375-imem
3364d666a7SMukesh Ojha          - qcom,sm8450-imem
3438a85b9dSKrzysztof Kozlowski      - const: syscon
3538a85b9dSKrzysztof Kozlowski      - const: simple-mfd
3638a85b9dSKrzysztof Kozlowski
3738a85b9dSKrzysztof Kozlowski  reg:
3838a85b9dSKrzysztof Kozlowski    maxItems: 1
3938a85b9dSKrzysztof Kozlowski
4038a85b9dSKrzysztof Kozlowski  ranges: true
4138a85b9dSKrzysztof Kozlowski
4238a85b9dSKrzysztof Kozlowski  '#address-cells':
4338a85b9dSKrzysztof Kozlowski    const: 1
4438a85b9dSKrzysztof Kozlowski
4538a85b9dSKrzysztof Kozlowski  '#size-cells':
4638a85b9dSKrzysztof Kozlowski    const: 1
4738a85b9dSKrzysztof Kozlowski
4838a85b9dSKrzysztof Kozlowski  reboot-mode:
4938a85b9dSKrzysztof Kozlowski    $ref: /schemas/power/reset/syscon-reboot-mode.yaml#
5038a85b9dSKrzysztof Kozlowski
5138a85b9dSKrzysztof KozlowskipatternProperties:
5238a85b9dSKrzysztof Kozlowski  "^pil-reloc@[0-9a-f]+$":
5338a85b9dSKrzysztof Kozlowski    $ref: /schemas/remoteproc/qcom,pil-info.yaml#
5438a85b9dSKrzysztof Kozlowski    description: Peripheral image loader relocation region
5538a85b9dSKrzysztof Kozlowski
5638a85b9dSKrzysztof Kozlowskirequired:
5738a85b9dSKrzysztof Kozlowski  - compatible
5838a85b9dSKrzysztof Kozlowski  - reg
5938a85b9dSKrzysztof Kozlowski
6038a85b9dSKrzysztof KozlowskiadditionalProperties: false
6138a85b9dSKrzysztof Kozlowski
6238a85b9dSKrzysztof Kozlowskiexamples:
6338a85b9dSKrzysztof Kozlowski  - |
6438a85b9dSKrzysztof Kozlowski    soc {
6538a85b9dSKrzysztof Kozlowski        #address-cells = <2>;
6638a85b9dSKrzysztof Kozlowski        #size-cells = <2>;
6738a85b9dSKrzysztof Kozlowski
6838a85b9dSKrzysztof Kozlowski        sram@146bf000 {
6938a85b9dSKrzysztof Kozlowski            compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
7038a85b9dSKrzysztof Kozlowski            reg = <0 0x146bf000 0 0x1000>;
7138a85b9dSKrzysztof Kozlowski            ranges = <0 0 0x146bf000 0x1000>;
7238a85b9dSKrzysztof Kozlowski
7338a85b9dSKrzysztof Kozlowski            #address-cells = <1>;
7438a85b9dSKrzysztof Kozlowski            #size-cells = <1>;
7538a85b9dSKrzysztof Kozlowski
7638a85b9dSKrzysztof Kozlowski            pil-reloc@94c {
7738a85b9dSKrzysztof Kozlowski                compatible = "qcom,pil-reloc-info";
7838a85b9dSKrzysztof Kozlowski                reg = <0x94c 0xc8>;
7938a85b9dSKrzysztof Kozlowski            };
8038a85b9dSKrzysztof Kozlowski        };
8138a85b9dSKrzysztof Kozlowski    };
82