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,qdu1000-imem 25 - qcom,sa8775p-imem 26 - qcom,sc7180-imem 27 - qcom,sc7280-imem 28 - qcom,sdm630-imem 29 - qcom,sdm845-imem 30 - qcom,sdx55-imem 31 - qcom,sdx65-imem 32 - qcom,sm6375-imem 33 - qcom,sm8450-imem 34 - const: syscon 35 - const: simple-mfd 36 37 reg: 38 maxItems: 1 39 40 ranges: true 41 42 '#address-cells': 43 const: 1 44 45 '#size-cells': 46 const: 1 47 48 reboot-mode: 49 $ref: /schemas/power/reset/syscon-reboot-mode.yaml# 50 51patternProperties: 52 "^pil-reloc@[0-9a-f]+$": 53 $ref: /schemas/remoteproc/qcom,pil-info.yaml# 54 description: Peripheral image loader relocation region 55 56required: 57 - compatible 58 - reg 59 60additionalProperties: false 61 62examples: 63 - | 64 soc { 65 #address-cells = <2>; 66 #size-cells = <2>; 67 68 sram@146bf000 { 69 compatible = "qcom,sdm845-imem", "syscon", "simple-mfd"; 70 reg = <0 0x146bf000 0 0x1000>; 71 ranges = <0 0 0x146bf000 0x1000>; 72 73 #address-cells = <1>; 74 #size-cells = <1>; 75 76 pil-reloc@94c { 77 compatible = "qcom,pil-reloc-info"; 78 reg = <0x94c 0xc8>; 79 }; 80 }; 81 }; 82