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