# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/remoteproc/qcom,pil-info.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm peripheral image loader relocation info binding

maintainers:
  - Bjorn Andersson <bjorn.andersson@linaro.org>

description:
  The Qualcomm peripheral image loader relocation memory region, in IMEM, is
  used for communicating remoteproc relocation information to post mortem
  debugging tools.

properties:
  compatible:
    const: qcom,pil-reloc-info

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    imem@146bf000 {
      compatible = "syscon", "simple-mfd";
      reg = <0x146bf000 0x1000>;

      #address-cells = <1>;
      #size-cells = <1>;

      ranges = <0 0x146bf000 0x1000>;

      pil-reloc@94c {
        compatible = "qcom,pil-reloc-info";
        reg = <0x94c 0xc8>;
      };
    };
...
