Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-edge.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm G-Link Edge communication channel nodes
0008 
0009 maintainers:
0010   - Bjorn Andersson <bjorn.andersson@linaro.org>
0011 
0012 description:
0013   Qualcomm G-Link subnode represents communication edge, channels and devices
0014   related to the remote processor.
0015 
0016 properties:
0017   $nodename:
0018     const: "glink-edge"
0019 
0020   apr:
0021     $ref: /schemas/soc/qcom/qcom,apr.yaml#
0022     description:
0023       Qualcomm APR/GPR (Asynchronous/Generic Packet Router)
0024 
0025   fastrpc:
0026     type: object
0027     description:
0028       See Documentation/devicetree/bindings/misc/qcom,fastrpc.txt
0029 
0030   interrupts:
0031     maxItems: 1
0032 
0033   label:
0034     description: The names of the state bits used for SMP2P output
0035 
0036   mboxes:
0037     maxItems: 1
0038 
0039   qcom,remote-pid:
0040     $ref: /schemas/types.yaml#/definitions/uint32
0041     description:
0042       ID of the shared memory used by GLINK for communication with remote
0043       processor.
0044 
0045 required:
0046   - interrupts
0047   - label
0048   - mboxes
0049   - qcom,remote-pid
0050 
0051 additionalProperties: false
0052 
0053 examples:
0054   - |
0055     #include <dt-bindings/interrupt-controller/arm-gic.h>
0056     #include <dt-bindings/mailbox/qcom-ipcc.h>
0057 
0058     remoteproc@8a00000 {
0059         reg = <0x08a00000 0x10000>;
0060         // ...
0061 
0062         glink-edge {
0063             interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
0064                                          IPCC_MPROC_SIGNAL_GLINK_QMP
0065                                          IRQ_TYPE_EDGE_RISING>;
0066             mboxes = <&ipcc IPCC_CLIENT_WPSS
0067                             IPCC_MPROC_SIGNAL_GLINK_QMP>;
0068 
0069             label = "wpss";
0070             qcom,remote-pid = <13>;
0071         };
0072     };