brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · e78a89c Raw
98 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/qcom,glink-edge.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm G-Link Edge communication channel nodes8 9maintainers:10  - Bjorn Andersson <bjorn.andersson@linaro.org>11 12description:13  Qualcomm G-Link subnode represents communication edge, channels and devices14  related to the remote processor.15 16properties:17  apr:18    $ref: /schemas/soc/qcom/qcom,apr.yaml#19    required:20      - qcom,glink-channels21    description:22      Qualcomm APR (Asynchronous Packet Router)23 24  fastrpc:25    $ref: /schemas/misc/qcom,fastrpc.yaml#26    required:27      - qcom,glink-channels28    description:29      Qualcomm FastRPC30 31  gpr:32    $ref: /schemas/soc/qcom/qcom,apr.yaml#33    required:34      - qcom,glink-channels35    description:36      Qualcomm GPR (Generic Packet Router)37 38  interrupts:39    maxItems: 140 41  label:42    description:43      Name of the edge, used for debugging and identification purposes. The44      node name will be used if this is not present.45 46  mboxes:47    maxItems: 148 49  qcom,remote-pid:50    $ref: /schemas/types.yaml#/definitions/uint3251    description:52      ID of the shared memory used by GLINK for communication with remote53      processor.54 55required:56  - interrupts57  - label58  - mboxes59  - qcom,remote-pid60 61allOf:62  - if:63      required:64        - apr65    then:66      properties:67        gpr: false68 69  - if:70      required:71        - gpr72    then:73      properties:74        apr: false75 76additionalProperties: false77 78examples:79  - |80    #include <dt-bindings/interrupt-controller/arm-gic.h>81    #include <dt-bindings/mailbox/qcom-ipcc.h>82 83    remoteproc@8a00000 {84        reg = <0x08a00000 0x10000>;85        // ...86 87        glink-edge {88            interrupts-extended = <&ipcc IPCC_CLIENT_WPSS89                                         IPCC_MPROC_SIGNAL_GLINK_QMP90                                         IRQ_TYPE_EDGE_RISING>;91            mboxes = <&ipcc IPCC_CLIENT_WPSS92                            IPCC_MPROC_SIGNAL_GLINK_QMP>;93 94            label = "wpss";95            qcom,remote-pid = <13>;96        };97    };98