Qualcomm SDM845 ADSP Peripheral Image Loader
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sdm845-adsp-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. ADSP.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sdm845-adsp-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
LPASS AHBS AON clock
Item 4
LPASS AHBM AON clock
Item 5
QDSP XO clock
Item 6
Q6SP6SS SLEEP clock
Item 7
Q6SP6SS CORE clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
Item 2
Exact value (
const):"sway_cbcr"
Item 3
Exact value (
const):"lpass_ahbs_aon_cbcr"
Item 4
Exact value (
const):"lpass_ahbm_aon_cbcr"
Item 5
Exact value (
const):"qdsp6ss_xo"
Item 6
Exact value (
const):"qdsp6ss_sleep"
Item 7
Exact value (
const):"qdsp6ss_core"
power-domains — required here #
Array item rules (items) #
Item 1
CX power domain
resets — required here #
Array item rules (items) #
Item 1
PDC AUDIO SYNC RESET
Item 2
CC LPASS restart
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pdc_sync"
Item 2
Exact value (
const):"cc_lpass"
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,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,lpass-sdm845.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/reset/qcom,sdm845-pdc.h>
#include <dt-bindings/reset/qcom,sdm845-aoss.h>
remoteproc@17300000 {
compatible = "qcom,sdm845-adsp-pil";
reg = <0x17300000 0x40c>;
interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_LPASS_SWAY_CLK>,
<&lpasscc LPASS_Q6SS_AHBS_AON_CLK>,
<&lpasscc LPASS_Q6SS_AHBM_AON_CLK>,
<&lpasscc LPASS_QDSP6SS_XO_CLK>,
<&lpasscc LPASS_QDSP6SS_SLEEP_CLK>,
<&lpasscc LPASS_QDSP6SS_CORE_CLK>;
clock-names = "xo", "sway_cbcr",
"lpass_ahbs_aon_cbcr",
"lpass_ahbm_aon_cbcr", "qdsp6ss_xo",
"qdsp6ss_sleep", "qdsp6ss_core";
power-domains = <&rpmhpd SDM845_CX>;
resets = <&pdc_reset PDC_AUDIO_SYNC_RESET>,
<&aoss_reset AOSS_CC_LPASS_RESTART>;
reset-names = "pdc_sync", "cc_lpass";
qcom,halt-regs = <&tcsr_mutex_regs 0x22000>;
memory-region = <&pil_adsp_mem>;
qcom,smem-states = <&adsp_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)