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

title: Qualcomm Technologies, Inc. SLATE Peripheral Image Loader

maintainers:
  - Pradnya Dahiwale <quic_pdahiwal@quicinc.com>

description:
   This document defines the binding for a component that loads and boots
   firmware on the Qualcomm Technologies, Inc. SLATE core.

properties:
  compatible:
    const: qcom,rproc-slate

  qcom,firmware-name:
    $ref: /schemas/types.yaml#/definitions/string
    description: Firmware name for the AoN core

  qcom,slate2ap-status-gpio:
    description: IRQ used by SLATE to inturrupt MSM.

  qcom,ap2slate-status-gpio:
    description: IRQ used by MSM to interrupt SLATE.

required:
  - compatible

additionalProperties: false

examples:
  - |
   aon_pas:qcom,rproc-slate {
         compatible = "qcom,rproc-slate";
         qcom,firmware-name = "slatefw.mdt";
         /* GPIO inputs from blackghost */
         qcom,slate2ap-status-gpio = <&tlmm 98 0>;
         /* GPIO output to blackghost */
         qcom,ap2slate-status-gpio = <&tlmm 97 0>;
   };

