brintos

brintos / linux-shallow public Read only

0
0
Text · 4.2 KiB · d67386c Raw
176 lines · yaml
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/qcom,sm8150-pas.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm SM8150/SM8250 Peripheral Authentication Service8 9maintainers:10  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>11 12description:13  Qualcomm SM8150/SM8250 SoC Peripheral Authentication Service loads and boots14  firmware on the Qualcomm DSP Hexagon cores.15 16properties:17  compatible:18    enum:19      - qcom,sm8150-adsp-pas20      - qcom,sm8150-cdsp-pas21      - qcom,sm8150-mpss-pas22      - qcom,sm8150-slpi-pas23      - qcom,sm8250-adsp-pas24      - qcom,sm8250-cdsp-pas25      - qcom,sm8250-slpi-pas26 27  reg:28    maxItems: 129 30  clocks:31    items:32      - description: XO clock33 34  clock-names:35    items:36      - const: xo37 38  qcom,qmp:39    $ref: /schemas/types.yaml#/definitions/phandle40    description: Reference to the AOSS side-channel message RAM.41 42  memory-region:43    maxItems: 144    description: Reference to the reserved-memory for the Hexagon core45 46  smd-edge: false47 48  firmware-name:49    maxItems: 150    description: Firmware name for the Hexagon core51 52required:53  - compatible54  - reg55  - memory-region56 57allOf:58  - $ref: /schemas/remoteproc/qcom,pas-common.yaml#59  - if:60      properties:61        compatible:62          enum:63            - qcom,sm8150-adsp-pas64            - qcom,sm8150-cdsp-pas65            - qcom,sm8150-slpi-pas66            - qcom,sm8250-adsp-pas67            - qcom,sm8250-cdsp-pas68            - qcom,sm8250-slpi-pas69    then:70      properties:71        interrupts:72          maxItems: 573        interrupt-names:74          maxItems: 575    else:76      properties:77        interrupts:78          minItems: 679        interrupt-names:80          minItems: 681 82  - if:83      properties:84        compatible:85          enum:86            - qcom,sm8150-adsp-pas87            - qcom,sm8150-cdsp-pas88            - qcom,sm8250-cdsp-pas89    then:90      properties:91        power-domains:92          items:93            - description: CX power domain94        power-domain-names:95          items:96            - const: cx97 98  - if:99      properties:100        compatible:101          enum:102            - qcom,sm8150-mpss-pas103    then:104      properties:105        power-domains:106          items:107            - description: CX power domain108            - description: MSS power domain109        power-domain-names:110          items:111            - const: cx112            - const: mss113 114  - if:115      properties:116        compatible:117          enum:118            - qcom,sm8150-slpi-pas119            - qcom,sm8250-adsp-pas120            - qcom,sm8250-slpi-pas121    then:122      properties:123        power-domains:124          items:125            - description: LCX power domain126            - description: LMX power domain127        power-domain-names:128          items:129            - const: lcx130            - const: lmx131 132unevaluatedProperties: false133 134examples:135  - |136    #include <dt-bindings/clock/qcom,rpmh.h>137    #include <dt-bindings/interrupt-controller/arm-gic.h>138    #include <dt-bindings/interrupt-controller/irq.h>139    #include <dt-bindings/power/qcom-rpmpd.h>140 141    remoteproc@17300000 {142        compatible = "qcom,sm8150-adsp-pas";143        reg = <0x17300000 0x4040>;144 145        clocks = <&rpmhcc RPMH_CXO_CLK>;146        clock-names = "xo";147 148        firmware-name = "qcom/sm8150/adsp.mbn";149 150        interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,151                              <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,152                              <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,153                              <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,154                              <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;155        interrupt-names = "wdog", "fatal", "ready",156                          "handover", "stop-ack";157 158        memory-region = <&adsp_mem>;159 160        power-domains = <&rpmhpd SM8150_CX>;161 162        qcom,qmp = <&aoss_qmp>;163        qcom,smem-states = <&adsp_smp2p_out 0>;164        qcom,smem-state-names = "stop";165 166        glink-edge {167            interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;168            label = "lpass";169            qcom,remote-pid = <2>;170            mboxes = <&apss_shared 8>;171 172            /* ... */173 174        };175    };176