xref: /linux/Documentation/devicetree/bindings/sram/qcom,imem.yaml (revision bdc51f42d25af15c91ec1b1a20c595ec33b3ea8e)
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
2138a85b9dSKrzysztof Kozlowski          - qcom,msm8974-imem
2238a85b9dSKrzysztof Kozlowski          - qcom,qcs404-imem
2338a85b9dSKrzysztof Kozlowski          - qcom,sc7180-imem
2438a85b9dSKrzysztof Kozlowski          - qcom,sc7280-imem
2538a85b9dSKrzysztof Kozlowski          - qcom,sdm630-imem
2638a85b9dSKrzysztof Kozlowski          - qcom,sdm845-imem
2738a85b9dSKrzysztof Kozlowski          - qcom,sdx55-imem
28*bdc51f42SKrzysztof Kozlowski          - qcom,sdx65-imem
2938a85b9dSKrzysztof Kozlowski      - const: syscon
3038a85b9dSKrzysztof Kozlowski      - const: simple-mfd
3138a85b9dSKrzysztof Kozlowski
3238a85b9dSKrzysztof Kozlowski  reg:
3338a85b9dSKrzysztof Kozlowski    maxItems: 1
3438a85b9dSKrzysztof Kozlowski
3538a85b9dSKrzysztof Kozlowski  ranges: true
3638a85b9dSKrzysztof Kozlowski
3738a85b9dSKrzysztof Kozlowski  '#address-cells':
3838a85b9dSKrzysztof Kozlowski    const: 1
3938a85b9dSKrzysztof Kozlowski
4038a85b9dSKrzysztof Kozlowski  '#size-cells':
4138a85b9dSKrzysztof Kozlowski    const: 1
4238a85b9dSKrzysztof Kozlowski
4338a85b9dSKrzysztof Kozlowski  reboot-mode:
4438a85b9dSKrzysztof Kozlowski    $ref: /schemas/power/reset/syscon-reboot-mode.yaml#
4538a85b9dSKrzysztof Kozlowski
4638a85b9dSKrzysztof KozlowskipatternProperties:
4738a85b9dSKrzysztof Kozlowski  "^pil-reloc@[0-9a-f]+$":
4838a85b9dSKrzysztof Kozlowski    $ref: /schemas/remoteproc/qcom,pil-info.yaml#
4938a85b9dSKrzysztof Kozlowski    description: Peripheral image loader relocation region
5038a85b9dSKrzysztof Kozlowski
5138a85b9dSKrzysztof Kozlowskirequired:
5238a85b9dSKrzysztof Kozlowski  - compatible
5338a85b9dSKrzysztof Kozlowski  - reg
5438a85b9dSKrzysztof Kozlowski
5538a85b9dSKrzysztof KozlowskiadditionalProperties: false
5638a85b9dSKrzysztof Kozlowski
5738a85b9dSKrzysztof Kozlowskiexamples:
5838a85b9dSKrzysztof Kozlowski  - |
5938a85b9dSKrzysztof Kozlowski    soc {
6038a85b9dSKrzysztof Kozlowski        #address-cells = <2>;
6138a85b9dSKrzysztof Kozlowski        #size-cells = <2>;
6238a85b9dSKrzysztof Kozlowski
6338a85b9dSKrzysztof Kozlowski        sram@146bf000 {
6438a85b9dSKrzysztof Kozlowski            compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
6538a85b9dSKrzysztof Kozlowski            reg = <0 0x146bf000 0 0x1000>;
6638a85b9dSKrzysztof Kozlowski            ranges = <0 0 0x146bf000 0x1000>;
6738a85b9dSKrzysztof Kozlowski
6838a85b9dSKrzysztof Kozlowski            #address-cells = <1>;
6938a85b9dSKrzysztof Kozlowski            #size-cells = <1>;
7038a85b9dSKrzysztof Kozlowski
7138a85b9dSKrzysztof Kozlowski            pil-reloc@94c {
7238a85b9dSKrzysztof Kozlowski                compatible = "qcom,pil-reloc-info";
7338a85b9dSKrzysztof Kozlowski                reg = <0x94c 0xc8>;
7438a85b9dSKrzysztof Kozlowski            };
7538a85b9dSKrzysztof Kozlowski        };
7638a85b9dSKrzysztof Kozlowski    };
77