Qualcomm QCS404 CDSP Peripheral Image Loader

Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,qcs404-cdsp-pil.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

This document defines the binding for a component that loads and boots firmware on the Qualcomm Technology Inc. CDSP (Compute DSP).

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcs404-cdsp-pil"

reg — required here #

Maximum number of items (maxItems): 1

The base address and size of the qdsp6ss register

interrupts — required here #

Array item rules (items) #

Item 1

Watchdog interrupt

Item 2

Fatal interrupt

Item 3

Ready interrupt

Item 4

Handover interrupt

Item 5

Stop acknowledge interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "wdog"

Item 2

Exact value (const): "fatal"

Item 3

Exact value (const): "ready"

Item 4

Exact value (const): "handover"

Item 5

Exact value (const): "stop-ack"

clocks — required here #

Array item rules (items) #

Item 1

XO clock

Item 2

SWAY clock

Item 3

TBU clock

Item 4

BIMC clock

Item 5

AHB AON clock

Item 6

Q6SS SLAVE clock

Item 7

Q6SS MASTER clock

Item 8

Q6 AXIM clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sway"

Item 3

Exact value (const): "tbu"

Item 4

Exact value (const): "bimc"

Item 5

Exact value (const): "ahb_aon"

Item 6

Exact value (const): "q6ss_slave"

Item 7

Exact value (const): "q6ss_master"

Item 8

Exact value (const): "q6_axim"

power-domains — required here #

Array item rules (items) #

Item 1

CX power domain

resets — required here #

Array item rules (items) #

Item 1

AOSS restart

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "restart"

memory-region — required here #

Maximum number of items (maxItems): 1

Reference to the reserved-memory for the Hexagon core

qcom,halt-regs — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Phandle reference to a syscon representing TCSR followed by the offset within syscon for q6 halt register.

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to TCSR syscon region

Item 2

offset to the Q6 halt register

qcom,smem-states — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

States used by the AP to signal the Hexagon core

Array item rules (items) #

Item 1

Stop the modem

qcom,smem-state-names — required here #

The names of the state bits used for SMP2P output

Array item rules (items) #

Item 1

Exact value (const): "stop"

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "resets", "reset-names", "qcom,halt-regs", "memory-region", "qcom,smem-states", "qcom,smem-state-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/clock/qcom,turingcc-qcs404.h>
remoteproc@b00000 {
    compatible = "qcom,qcs404-cdsp-pil";
    reg = <0x00b00000 0x4040>;

    interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>,
                          <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
                          <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
                          <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
                          <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
    interrupt-names = "wdog", "fatal", "ready",
                      "handover", "stop-ack";

    clocks = <&xo_board>,
             <&gcc GCC_CDSP_CFG_AHB_CLK>,
             <&gcc GCC_CDSP_TBU_CLK>,
             <&gcc GCC_BIMC_CDSP_CLK>,
             <&turingcc TURING_WRAPPER_AON_CLK>,
             <&turingcc TURING_Q6SS_AHBS_AON_CLK>,
             <&turingcc TURING_Q6SS_AHBM_AON_CLK>,
             <&turingcc TURING_Q6SS_Q6_AXIM_CLK>;
    clock-names = "xo",
                  "sway",
                  "tbu",
                  "bimc",
                  "ahb_aon",
                  "q6ss_slave",
                  "q6ss_master",
                  "q6_axim";

    power-domains = <&rpmhpd SDM845_CX>;

    resets = <&gcc GCC_CDSP_RESTART>;
    reset-names = "restart";

    qcom,halt-regs = <&tcsr 0x19004>;

    memory-region = <&cdsp_fw_mem>;

    qcom,smem-states = <&cdsp_smp2p_out 0>;
    qcom,smem-state-names = "stop";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page