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