Remoteproc bindings
Single-page view · as markdown
Amlogic Meson AO ARC Remote Processor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/amlogic,meson-mx-ao-arc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC core controller for always-on operations, typically used for managing system suspend. Meson6 and older use a ARC core based on the ARCv1 ISA, while Meson8, Meson8b and Meson8m2 use an ARC EM4 (ARCv2 ISA) core.
Maintainers (maintainers): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"amlogic,meson8-ao-arc","amlogic,meson8b-ao-arc"
Item 2
Exact value (
const):"amlogic,meson-mx-ao-arc"
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
The name of the firmware which should be loaded for this remote processor.
reg — required here #
Address ranges of the remap and CPU control addresses for the remote processor.
Minimum number of items (minItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"remap"
Item 2
Exact value (
const):"cpu"
resets — required here #
Minimum number of items (minItems): 1
clocks — required here #
Minimum number of items (minItems): 1
sram — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandles to a reserved SRAM region which is used as the memory of the ARC core. The region should be defined as child nodes of the AHB SRAM node as per the generic bindings in Documentation/devicetree/bindings/sram/sram.yaml
amlogic,secbus2 — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to the SECBUS2 region which contains some configuration bits of this remote processor
Required in this object (required): "compatible", "reg", "reg-names", "resets", "clocks", "sram", "amlogic,secbus2"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
remoteproc@1c {
compatible = "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc";
reg = <0x1c 0x8>, <0x38 0x8>;
reg-names = "remap", "cpu";
resets = <&media_cpu_reset>;
clocks = <&media_cpu_clock>;
sram = <&ahb_sram_ao_arc>;
amlogic,secbus2 = <&secbus2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NXP i.MX Co-Processor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This binding provides support for ARM Cortex M4 Co-processor found on some NXP iMX SoCs.
Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx6sx-cm4", "fsl,imx7d-cm4", "fsl,imx7ulp-cm4", "fsl,imx8mm-cm4", "fsl,imx8mn-cm7", "fsl,imx8mn-cm7-mmio", "fsl,imx8mp-cm7", "fsl,imx8mp-cm7-mmio", "fsl,imx8mq-cm4", "fsl,imx8qm-cm4", "fsl,imx8qxp-cm4", "fsl,imx8ulp-cm33", "fsl,imx93-cm33", "fsl,imx95-cm7"
clocks — not listed as required here #
Maximum number of items (maxItems): 1
syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to syscon block which provide access to System Reset Controller
mbox-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
Item 3
Exact value (
const):"rxdb"
mboxes — not listed as required here #
This property is required only if the rpmsg/virtio functionality is used. List of <&phandle type channel> - 1 channel for TX, 1 channel for RX, 1 channel for RXDB. (see mailbox/fsl,mu.yaml)
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
memory-region — not listed as required here #
If present, a phandle for a reserved memory area that used for vdev buffer, resource table, vring region and others used by remote processor.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
power-domains — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 8
fsl,auto-boot — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Indicate whether need to load the default firmware and start the remote processor automatically.
fsl,entry-address — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Specify CPU entry address for SCU enabled processor.
fsl,iomuxc-gpr — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to IOMUXC GPR block which provide access to CM7 CPUWAIT bit.
fsl,resource-id — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
This property is to specify the resource id of the remote processor in SoC which supports SCFW
Required in this object (required): "compatible"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8mn-cm7-mmio","fsl,imx8mp-cm7-mmio"When the condition matches (
then) #Properties and child nodes (
properties)
fsl,iomuxc-gpr— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx7d-clock.h>
m4_reserved_sysmem1: cm4@80000000 {
reg = <0x80000000 0x80000>;
};
m4_reserved_sysmem2: cm4@81000000 {
reg = <0x81000000 0x80000>;
};
imx7d-cm4 {
compatible = "fsl,imx7d-cm4";
memory-region = <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>;
syscon = <&src>;
clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>;
};
#include <dt-bindings/clock/imx8mm-clock.h>
imx8mm-cm4 {
compatible = "fsl,imx8mm-cm4";
clocks = <&clk IMX8MM_CLK_M4_DIV>;
mbox-names = "tx", "rx", "rxdb";
mboxes = <&mu 0 1
&mu 1 1
&mu 3 1>;
memory-region = <&vdev0buffer>, <&vdev0vring0>, <&vdev0vring1>, <&rsc_table>;
syscon = <&src>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Ingenic Video Processing Unit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ingenic,vpu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from Ingenic is a second Xburst MIPS CPU very similar to the main core. This document describes the devicetree bindings for this auxiliary processor.
Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ingenic,jz4770-vpu-rproc"
reg — required here #
Array item rules (items) #
Item 1
aux registers
Item 2
tcsm0 registers
Item 3
tcsm1 registers
Item 4
sram registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"tcsm0"
Item 3
Exact value (
const):"tcsm1"
Item 4
Exact value (
const):"sram"
clocks — required here #
Array item rules (items) #
Item 1
aux clock
Item 2
vpu clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"vpu"
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
vpu: video-decoder@132a0000 {
compatible = "ingenic,jz4770-vpu-rproc";
reg = <0x132a0000 0x20>, /* AUX */
<0x132b0000 0x4000>, /* TCSM0 */
<0x132c0000 0xc000>, /* TCSM1 */
<0x132f0000 0x7000>; /* SRAM */
reg-names = "aux", "tcsm0", "tcsm1", "sram";
clocks = <&cgu JZ4770_CLK_AUX>, <&cgu JZ4770_CLK_VPU>;
clock-names = "aux", "vpu";
interrupt-parent = <&cpuintc>;
interrupts = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Mediatek SCP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/mtk,scp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
This binding provides support for ARM Cortex M4 Co-processor found on some Mediatek SoCs.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt8183-scp", "mediatek,mt8186-scp", "mediatek,mt8188-scp", "mediatek,mt8188-scp-dual", "mediatek,mt8192-scp", "mediatek,mt8195-scp", "mediatek,mt8195-scp-dual"
reg — required here #
Should contain the address ranges for memory regions SRAM, CFG, and, on some platforms, L1TCM.
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
reg-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
clocks — not listed as required here #
Clock for co-processor (see ../clock/clock-bindings.txt). Required by mt8183 and mt8192.
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "main"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
If present, name (or relative path) of the file within the firmware search path containing the firmware image used when initializing SCP.
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
cros-ec-rpmsg — not listed as required here #
Shared schema rule ($ref): /schemas/embedded-controller/google,cros-ec.yaml
This subnode represents the rpmsg device. The properties of this node are defined by the individual bindings for the rpmsg devices.
Required in this object (required): "mediatek,rpmsg-name"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 1
ranges — not listed as required here #
Standard ranges definition providing address translations for local SCP SRAM address spaces to bus addresses.
Properties matching a name pattern (patternProperties) #
^scp@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
The MediaTek SCP integrated to SoC might be a multi-core version. The other cores are represented as child nodes of the boot core. There are some integration differences for the IP like the usage of address translator for translating SoC bus addresses into address space for the processor. Each SCP core has own cache memory. The SRAM and L1TCM are shared by cores. The power of cache, SRAM and L1TCM power should be enabled before booting SCP cores. The size of cache, SRAM, and L1TCM are varied on different SoCs. The SCP cores do not use an MMU, but has a set of registers to control the translations between 32-bit CPU addresses into system bus addresses. Cache and memory access settings are provided through a Memory Protection Unit (MPU), programmable only from the SCP.
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "mediatek,scp-core"
reg — required here
The base address and size of SRAM.
Maximum number of items (maxItems): 1
reg-names — required here
Exact value (const): "sram"
interrupts — not listed as required here
Maximum number of items (maxItems): 1
firmware-name — not listed as required here
Maximum number of items (maxItems): 1
If present, name (or relative path) of the file within the firmware search path containing the firmware image used when initializing sub cores of multi-core SCP.
memory-region — not listed as required here
Maximum number of items (maxItems): 1
cros-ec-rpmsg — not listed as required here
Shared schema rule ($ref): /schemas/embedded-controller/google,cros-ec.yaml
This subnode represents the rpmsg device. The properties of this node are defined by the individual bindings for the rpmsg devices.
Required in this object (required): "mediatek,rpmsg-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"mediatek,mt8183-scp","mediatek,mt8192-scp"When the condition matches (
then) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"mediatek,mt8183-scp","mediatek,mt8186-scp","mediatek,mt8188-scp"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):2
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sram"Item 2
Exact value (
const):"cfg"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"mediatek,mt8192-scp","mediatek,mt8195-scp"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):3
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sram"Item 2
Exact value (
const):"cfg"Item 3
Exact value (
const):"l1tcm"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"mediatek,mt8188-scp-dual","mediatek,mt8195-scp-dual"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):2
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cfg"Item 2
Exact value (
const):"l1tcm"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8192-clk.h>
scp@10500000 {
compatible = "mediatek,mt8192-scp";
reg = <0x10500000 0x80000>,
<0x10700000 0x8000>,
<0x10720000 0xe0000>;
reg-names = "sram", "cfg", "l1tcm";
clocks = <&infracfg CLK_INFRA_SCPSYS>;
clock-names = "main";
cros-ec-rpmsg {
compatible = "google,cros-ec-rpmsg";
mediatek,rpmsg-name = "cros-ec-rpmsg";
};
};
scp@10500000 {
compatible = "mediatek,mt8195-scp-dual";
reg = <0x10720000 0xe0000>,
<0x10700000 0x8000>;
reg-names = "cfg", "l1tcm";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x10500000 0x100000>;
scp@0 {
compatible = "mediatek,scp-core";
reg = <0x0 0xa0000>;
reg-names = "sram";
cros-ec-rpmsg {
compatible = "google,cros-ec-rpmsg";
mediatek,rpmsg-name = "cros-ec-rpmsg";
};
};
scp@a0000 {
compatible = "mediatek,scp-core";
reg = <0xa0000 0x20000>;
reg-names = "sram";
cros-ec-rpmsg {
compatible = "google,cros-ec-rpmsg";
mediatek,rpmsg-name = "cros-ec-rpmsg";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm ADSP Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,adsp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
This document defines the binding for a component that loads and boots firmware on the Qualcomm ADSP Hexagon core.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,msm8226-adsp-pil", "qcom,msm8953-adsp-pil", "qcom,msm8974-adsp-pil", "qcom,msm8996-adsp-pil", "qcom,msm8996-slpi-pil", "qcom,msm8998-adsp-pas", "qcom,msm8998-slpi-pas", "qcom,sdm660-adsp-pas", "qcom,sdm660-cdsp-pas", "qcom,sdm845-adsp-pas", "qcom,sdm845-cdsp-pas", "qcom,sdm845-slpi-pas"
reg — not listed as required here #
Maximum number of items (maxItems): 1
cx-supply — not listed as required here #
true — No constraints added by this property rule.
px-supply — not listed as required here #
Phandle to the PX regulator
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
Required in this object (required): "compatible", "memory-region"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8226-adsp-pil","qcom,msm8953-adsp-pil","qcom,msm8974-adsp-pil","qcom,msm8996-adsp-pil","qcom,msm8996-slpi-pil","qcom,msm8998-adsp-pas","qcom,msm8998-slpi-pas","qcom,sdm660-adsp-pas","qcom,sdm660-cdsp-pas","qcom,sdm845-adsp-pas","qcom,sdm845-cdsp-pas","qcom,sdm845-slpi-pas"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
XO clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8226-adsp-pil","qcom,msm8953-adsp-pil","qcom,msm8974-adsp-pil","qcom,msm8996-adsp-pil","qcom,msm8996-slpi-pil","qcom,msm8998-adsp-pas","qcom,msm8998-slpi-pas","qcom,sdm660-adsp-pas","qcom,sdm660-cdsp-pas","qcom,sdm845-adsp-pas","qcom,sdm845-cdsp-pas","qcom,sdm845-slpi-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8226-adsp-pil","qcom,msm8953-adsp-pil","qcom,msm8974-adsp-pil","qcom,msm8996-adsp-pil","qcom,msm8998-adsp-pas","qcom,sdm660-adsp-pas","qcom,sdm660-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8996-slpi-pil","qcom,msm8998-slpi-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
SSC-CX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ssc_cx"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"When the condition does not match (
else) #Properties and child nodes (
properties)
cx-supply— not listed as required here
false— Not permitted by this property rule.
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8226-adsp-pil","qcom,msm8953-adsp-pil","qcom,msm8974-adsp-pil","qcom,msm8996-adsp-pil","qcom,msm8996-slpi-pil","qcom,msm8998-adsp-pas","qcom,msm8998-slpi-pas","qcom,sdm660-adsp-pas","qcom,sdm660-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
qcom,qmp— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/qcom-rpmpd.h>
adsp {
compatible = "qcom,msm8974-adsp-pil";
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 = <&rpmcc RPM_CXO_CLK>;
clock-names = "xo";
power-domains = <&rpmpd MSM8974_VDDCX>;
power-domain-names = "cx";
memory-region = <&adsp_region>;
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
smd-edge {
interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
qcom,ipc = <&apcs 8 8>;
qcom,smd-edge = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm G-Link Edge communication channel nodes
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,glink-edge.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
Qualcomm G-Link subnode represents communication edge, channels and devices related to the remote processor.
Properties and child nodes (properties) #
apr — not listed as required here #
Shared schema rule ($ref): /schemas/soc/qcom/qcom,apr.yaml#
Required in this object (required): "qcom,glink-channels"
Qualcomm APR (Asynchronous Packet Router)
fastrpc — not listed as required here #
Shared schema rule ($ref): /schemas/misc/qcom,fastrpc.yaml#
Required in this object (required): "qcom,glink-channels"
Qualcomm FastRPC
gpr — not listed as required here #
Shared schema rule ($ref): /schemas/soc/qcom/qcom,apr.yaml#
Required in this object (required): "qcom,glink-channels"
Qualcomm GPR (Generic Packet Router)
interrupts — required here #
Maximum number of items (maxItems): 1
label — required here #
Name of the edge, used for debugging and identification purposes. The node name will be used if this is not present.
mboxes — required here #
Maximum number of items (maxItems): 1
qcom,remote-pid — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
ID of the shared memory used by GLINK for communication with remote processor.
Required in this object (required): "interrupts", "label", "mboxes", "qcom,remote-pid"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
gpr— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
apr— not listed as required here
false— Not permitted by this property rule.
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/mailbox/qcom-ipcc.h>
remoteproc@8a00000 {
reg = <0x08a00000 0x10000>;
// ...
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "wpss";
qcom,remote-pid = <13>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm G-Link RPM edge
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource Power Manager (RPM) on various Qualcomm platforms.
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,glink-rpm"
label — not listed as required here #
Name of the edge, used for debugging and identification purposes. The node name will be used if this is not present.
interrupts — required here #
Maximum number of items (maxItems): 1
mboxes — required here #
Array item rules (items) #
Item 1
rpm_hlos mailbox in APCS
qcom,remote-pid — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The identifier for the remote processor as known by the rest of the system.
qcom,rpm-msg-ram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
RPM message memory resource (compatible: qcom,rpm-msg-ram).
rpm-requests — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/soc/qcom/qcom,smd-rpm.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm Resource Power Manager (RPM) over G-Link
Properties and child nodes (properties) #
qcom,intents — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
Array item rules (items)
Array item rules (
items)Item 1
size of each intent to preallocate
Item 2
amount of intents to preallocate
Minimum value (
minimum):1
List of (size, amount) pairs describing what intents should be preallocated for this virtual channel. This can be used to tweak the default intents available for the channel to meet expectations of the remote.
Required in this object (required): "qcom,glink-channels"
Required in this object (required): "compatible", "interrupts", "mboxes"
At least one of these rules must match (anyOf) #
Rule 1 #
Rule 2 #
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>
glink-edge {
compatible = "qcom,glink-rpm";
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
mboxes = <&apcs_glb 0>;
qcom,rpm-msg-ram = <&rpm_msg_ram>;
rpm-requests {
compatible = "qcom,rpm-msm8996", "qcom,glink-smd-rpm";
qcom,glink-channels = "rpm_requests";
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm Milos SoC Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,milos-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"
Qualcomm Milos SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,milos-adsp-pas", "qcom,milos-cdsp-pas", "qcom,milos-mpss-pas", "qcom,milos-wpss-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
interrupts — not listed as required here #
Minimum number of items (minItems): 6
Maximum number of items (maxItems): 6
interrupt-names — not listed as required here #
Minimum number of items (minItems): 6
Maximum number of items (maxItems): 6
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Firmware name of the Hexagon core
Item 2
Firmware name of the Hexagon Devicetree
memory-region — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Memory region for core Firmware authentication
Item 2
Memory region for Devicetree Firmware authentication
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,milos-adsp-pas","qcom,milos-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
memory-region— not listed as required hereMinimum number of items (
minItems):2
firmware-name— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
memory-region— not listed as required hereMaximum number of items (
maxItems):1
firmware-name— not listed as required hereMaximum number of items (
maxItems):1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,milos-cdsp-pas","qcom,milos-wpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mx"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mss"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,milos-rpmh.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
remoteproc@3000000 {
compatible = "qcom,milos-adsp-pas";
reg = <0x03000000 0x10000>;
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog",
"fatal",
"ready",
"handover",
"stop-ack",
"shutdown-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
power-domains = <&rpmhpd RPMHPD_LCX>,
<&rpmhpd RPMHPD_LMX>;
power-domain-names = "lcx",
"lmx";
interconnects = <&lpass_ag_noc MASTER_LPASS_PROC QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
memory-region = <&adspslpi_mem>, <&q6_adsp_dtb_mem>;
firmware-name = "qcom/milos/vendor/device/adsp.mbn",
"qcom/milos/vendor/device/adsp_dtb.mbn";
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm MSM8916 MSS Peripheral Image Loader (and similar)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,msm8916-mss-pil.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stephan Gerhold <stephan@gerhold.net>"
This document describes the hardware for a component that loads and boots firmware on the Qualcomm MSM8916 Modem Hexagon Core (and similar).
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,msm8226-mss-pil","qcom,msm8909-mss-pil","qcom,msm8916-mss-pil","qcom,msm8926-mss-pil","qcom,msm8953-mss-pil","qcom,msm8974-mss-pil"
Rule 2
Exact value (
const):"qcom,q6v5-pil"Deprecated, prefer using qcom,msm8916-mss-pil
Deprecated (
deprecated):true
reg — required here #
Array item rules (items) #
Item 1
MSS QDSP6 registers
Item 2
RMB registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"qdsp6"
Item 2
Exact value (
const):"rmb"
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
Configuration interface (AXI) clock
Item 2
Configuration bus (AHB) clock
Item 3
Boot ROM (AHB) clock
Item 4
XO proxy clock (control handed over after startup)
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"bus"
Item 3
Exact value (
const):"mem"
Item 4
Exact value (
const):"xo"
power-domains — not listed as required here #
Array item rules (items) #
Item 1
CX proxy power domain (control handed over after startup)
Item 2
MX proxy power domain (control handed over after startup) (not valid for qcom,msm8226-mss-pil, qcom,msm8926-mss-pil and qcom,msm8974-mss-pil)
Item 3
MSS proxy power domain (control handed over after startup) (only valid for qcom,msm8953-mss-pil)
Minimum number of items (minItems): 1
power-domain-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"mx"
Item 3
Exact value (
const):"mss"
Minimum number of items (minItems): 1
pll-supply — required here #
PLL proxy supply (control handed over after startup)
mss-supply — not listed as required here #
MSS power domain supply (only valid for qcom,msm8974-mss-pil)
resets — required here #
Array item rules (items) #
Item 1
MSS restart control
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mss_restart"
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 modem
qcom,smem-state-names — required here #
Names of the states used by the AP to signal the Hexagon core
Array item rules (items) #
Item 1
Exact value (
const):"stop"
qcom,ext-bhs-reg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
External power block headswitch (BHS) register (only valid for qcom,msm8226-mss-pil)
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to external BHS syscon region
Item 2
offset to the external BHS register
qcom,halt-regs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Halt registers are used to halt transactions of various sub-components within MSS.
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
Item 3
offset to the modem halt register
Item 4
offset to the nc halt register
memory-region — not listed as required here #
Array item rules (items) #
Item 1
MBA reserved region
Item 2
MPSS reserved region
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array item rules (items) #
Item 1
Name of MBA firmware
Item 2
Name of modem firmware
bam-dmux — not listed as required here #
Shared schema rule ($ref): /schemas/net/qcom,bam-dmux.yaml#
Qualcomm BAM Data Multiplexer (provides network interface to the modem)
smd-edge — required here #
Shared schema rule ($ref): qcom,smd-edge.yaml#
Qualcomm SMD subnode which represents communication edge, channels and devices related to the DSP.
Properties and child nodes (properties) #
label — not listed as required here
Allowed values (enum): "modem", "hexagon"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
cx-supply — not listed as required here #
CX power domain regulator supply (prefer using power-domains)
Deprecated (deprecated): true
mx-supply — not listed as required here #
MX power domain regulator supply (prefer using power-domains)
Deprecated (deprecated): true
mba — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
MBA reserved region (prefer using memory-region with two items)
Properties and child nodes (properties) #
memory-region — required here
true — No constraints added by this property rule.
Required in this object (required): "memory-region"
Deprecated (deprecated): true
mpss — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
MPSS reserved region (prefer using memory-region with two items)
Properties and child nodes (properties) #
memory-region — required here
true — No constraints added by this property rule.
Required in this object (required): "memory-region"
Deprecated (deprecated): true
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "clocks", "clock-names", "pll-supply", "resets", "reset-names", "qcom,halt-regs", "qcom,smem-states", "qcom,smem-state-names", "smd-edge"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"qcom,msm8953-mss-pil"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— required hereMinimum number of items (
minItems):3
power-domain-names— required hereMinimum number of items (
minItems):3Required in this object (
required):"power-domains","power-domain-names"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8909-mss-pil","qcom,msm8916-mss-pil"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
power-domain-names— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8226-mss-pil","qcom,msm8926-mss-pil","qcom,msm8974-mss-pil"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereMaximum number of items (
maxItems):1
power-domain-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"qcom,msm8226-mss-pil"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
qcom,ext-bhs-reg— not listed as required here
false— Not permitted by this property rule.
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8926-mss-pil","qcom,msm8974-mss-pil"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
mss-supply— not listed as required here
false— Not permitted by this property rule.
Rule 6 #
Exactly one of these rules must match (
oneOf) #Rule 1
Rule 2
Rule 7 #
Exactly one of these rules must match (
oneOf) #Rule 1
Required in this object (
required):"power-domains","power-domain-names"Rule 2
Required in this object (
required):"cx-supply","mx-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-msm8916.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc_mpss: remoteproc@4080000 {
compatible = "qcom,msm8916-mss-pil";
reg = <0x04080000 0x100>, <0x04020000 0x40>;
reg-names = "qdsp6", "rmb";
interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
<&hexagon_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&hexagon_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&hexagon_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&hexagon_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
qcom,smem-states = <&hexagon_smp2p_out 0>;
qcom,smem-state-names = "stop";
qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>;
clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
<&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
<&gcc GCC_BOOT_ROM_AHB_CLK>,
<&xo_board>;
clock-names = "iface", "bus", "mem", "xo";
power-domains = <&rpmpd MSM8916_VDDCX>, <&rpmpd MSM8916_VDDMX>;
power-domain-names = "cx", "mx";
pll-supply = <&pm8916_l7>;
resets = <&scm 0>;
reset-names = "mss_restart";
memory-region = <&mba_mem>, <&mpss_mem>;
smd-edge {
interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
qcom,smd-edge = <0>;
qcom,ipc = <&apcs 8 12>;
qcom,remote-pid = <1>;
label = "hexagon";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 84: not valid for qcom,msm8226-mss-pil, qcom-msm8926-mss-pil and qcom,msm8974-mss-pil
Line 85: only valid for qcom,msm8953-mss-pil
Line 162: Deprecated properties
Line 282: Fallbacks for deprecated properties
Qualcomm MSM8996 MSS Peripheral Image Loader (and similar)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,msm8996-mss-pil.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Sibi Sankar <quic_sibis@quicinc.com>"
MSS Peripheral Image Loader loads and boots firmware on the Qualcomm Technology Inc. MSM8996 Modem Hexagon Core (and similar).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,msm8996-mss-pil", "qcom,msm8998-mss-pil", "qcom,sdm660-mss-pil", "qcom,sdm845-mss-pil"
reg — required here #
Array item rules (items) #
Item 1
MSS QDSP6 registers
Item 2
RMB registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"qdsp6"
Item 2
Exact value (
const):"rmb"
iommus — not listed as required here #
Array item rules (items) #
Item 1
MSA Stream 1
Item 2
MSA Stream 2
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
Item 6
Shutdown 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"
Item 6
Exact value (
const):"shutdown-ack"
clocks — required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
clock-names — required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 9
power-domains — required here #
Array item rules (items) #
Item 1
CX power domain
Item 2
MX power domain
Item 3
MSS power domain (only valid for qcom,sdm845-mss-pil)
Minimum number of items (minItems): 2
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"mx"
Item 3
Exact value (
const):"mss"
Minimum number of items (minItems): 2
pll-supply — not listed as required here #
PLL supply
resets — required here #
Array item rules (items) #
Item 1
AOSS restart
Item 2
PDC reset (only valid for qcom,sdm845-mss-pil)
Minimum number of items (minItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mss_restart"
Item 2
Exact value (
const):"pdc_reset"
Minimum number of items (minItems): 1
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
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 modem
qcom,smem-state-names — required here #
Names of the states used by the AP to signal the Hexagon core
Array item rules (items) #
Item 1
Exact value (
const):"stop"
qcom,halt-regs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Halt registers are used to halt transactions of various sub-components within MSS.
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
Item 3
offset to the modem halt register
Item 4
offset to the nc halt register
memory-region — not listed as required here #
Array item rules (items) #
Item 1
MBA reserved region
Item 2
Modem reserved region
Item 3
Metadata reserved region
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array item rules (items) #
Item 1
Name of MBA firmware
Item 2
Name of modem firmware
smd-edge — not listed as required here #
Shared schema rule ($ref): /schemas/remoteproc/qcom,smd-edge.yaml#
Qualcomm Shared Memory subnode which represents communication edge, channels and devices related to the Modem.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
glink-edge — not listed as required here #
Shared schema rule ($ref): /schemas/remoteproc/qcom,glink-edge.yaml#
Qualcomm G-Link subnode which represents communication edge, channels and devices related to the Modem.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
mba — not listed as required here #
Value type (type): "object"
MBA reserved region
Properties and child nodes (properties) #
memory-region — required here
true — No constraints added by this property rule.
Required in this object (required): "memory-region"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Deprecated (deprecated): true
mpss — not listed as required here #
Value type (type): "object"
MPSS reserved region
Properties and child nodes (properties) #
memory-region — required here
true — No constraints added by this property rule.
Required in this object (required): "memory-region"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Deprecated (deprecated): true
metadata — not listed as required here #
Value type (type): "object"
Metadata reserved region
Properties and child nodes (properties) #
memory-region — required here
true — No constraints added by this property rule.
Required in this object (required): "memory-region"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Deprecated (deprecated): true
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "power-domain-names", "resets", "reset-names", "qcom,halt-regs", "qcom,smem-states", "qcom,smem-state-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"qcom,msm8996-mss-pil"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
GCC MSS IFACE clock
Item 2
GCC MSS BUS clock
Item 3
GCC MSS MEM clock
Item 4
RPM XO clock
Item 5
GCC MSS GPLL0 clock
Item 6
GCC MSS SNOC_AXI clock
Item 7
GCC MSS MNOC_AXI clock
Item 8
RPM QDSS clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"mem"Item 4
Exact value (
const):"xo"Item 5
Exact value (
const):"gpll0_mss"Item 6
Exact value (
const):"snoc_axi"Item 7
Exact value (
const):"mnoc_axi"Item 8
Exact value (
const):"qdss"Required in this object (
required):"pll-supply","smd-edge"When the condition does not match (
else) #Properties and child nodes (
properties)
pll-supply— not listed as required here
false— Not permitted by this property rule.
smd-edge— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,msm8998-mss-pil","qcom,sdm660-mss-pil"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
GCC MSS IFACE clock
Item 2
GCC MSS BUS clock
Item 3
GCC MSS MEM clock
Item 4
GCC MSS GPLL0 clock
Item 5
GCC MSS SNOC_AXI clock
Item 6
GCC MSS MNOC_AXI clock
Item 7
RPMH QDSS clock
Item 8
RPMH XO clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"mem"Item 4
Exact value (
const):"gpll0_mss"Item 5
Exact value (
const):"snoc_axi"Item 6
Exact value (
const):"mnoc_axi"Item 7
Exact value (
const):"qdss"Item 8
Exact value (
const):"xo"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"qcom,sdm845-mss-pil"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereMinimum number of items (
minItems):3
power-domain-names— not listed as required hereMinimum number of items (
minItems):3
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):2
clocks— not listed as required hereArray item rules (
items)Item 1
GCC MSS IFACE clock
Item 2
GCC MSS BUS clock
Item 3
GCC MSS MEM clock
Item 4
GCC MSS GPLL0 clock
Item 5
GCC MSS SNOC_AXI clock
Item 6
GCC MSS MNOC_AXI clock
Item 7
GCC MSS PRNG clock
Item 8
RPMH XO clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"mem"Item 4
Exact value (
const):"gpll0_mss"Item 5
Exact value (
const):"snoc_axi"Item 6
Exact value (
const):"mnoc_axi"Item 7
Exact value (
const):"prng"Item 8
Exact value (
const):"xo"Required in this object (
required):"qcom,qmp","glink-edge"When the condition does not match (
else) #Properties and child nodes (
properties)
iommus— not listed as required here
false— Not permitted by this property rule.
power-domains— not listed as required hereMaximum number of items (
maxItems):2
power-domain-names— not listed as required hereMaximum number of items (
maxItems):2
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereMaximum number of items (
maxItems):1
qcom,qmp— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Exactly one of these rules must match (
oneOf) #Rule 1
Rule 2
Required in this object (
required):"mba","mpss","metadata"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/reset/qcom,sdm845-aoss.h>
#include <dt-bindings/reset/qcom,sdm845-pdc.h>
remoteproc@4080000 {
compatible = "qcom,sdm845-mss-pil";
reg = <0x04080000 0x408>, <0x04180000 0x48>;
reg-names = "qdsp6", "rmb";
interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack",
"shutdown-ack";
clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
<&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
<&gcc GCC_BOOT_ROM_AHB_CLK>,
<&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
<&gcc GCC_MSS_SNOC_AXI_CLK>,
<&gcc GCC_MSS_MFAB_AXIS_CLK>,
<&gcc GCC_PRNG_AHB_CLK>,
<&rpmhcc RPMH_CXO_CLK>;
clock-names = "iface", "bus", "mem", "gpll0_mss",
"snoc_axi", "mnoc_axi", "prng", "xo";
power-domains = <&rpmhpd SDM845_CX>,
<&rpmhpd SDM845_MX>,
<&rpmhpd SDM845_MSS>;
power-domain-names = "cx", "mx", "mss";
memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
<&pdc_reset PDC_MODEM_SYNC_RESET>;
reset-names = "mss_restart", "pdc_reset";
qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
label = "modem";
qcom,remote-pid = <1>;
mboxes = <&apss_shared 12>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 77: only valid for qcom,sdm845-mss-pil
Line 92: only valid for qcom,sdm845-mss-pil
Line 148: Deprecated properties
Line 323: Fallbacks for deprecated properties
Qualcomm Peripheral Authentication Service Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,pas-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Common properties of Qualcomm SoCs Peripheral Authentication Service.
Properties and child nodes (properties) #
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 5
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
Item 6
Shutdown acknowledge interrupt
interrupt-names — required here #
Minimum number of items (minItems): 5
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"
Item 6
Exact value (
const):"shutdown-ack"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
power-domain-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
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"
smd-edge — not listed as required here #
Shared schema rule ($ref): /schemas/remoteproc/qcom,smd-edge.yaml#
Qualcomm Shared Memory subnode which represents communication edge, channels and devices related to the ADSP.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
glink-edge — not listed as required here #
Shared schema rule ($ref): /schemas/remoteproc/qcom,glink-edge.yaml#
Qualcomm G-Link subnode which represents communication edge, channels and devices related to the ADSP.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "clocks", "clock-names", "interrupts", "interrupt-names", "qcom,smem-states", "qcom,smem-state-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm peripheral image loader relocation info
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,pil-info.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
The Qualcomm peripheral image loader relocation memory region, in IMEM, is used for communicating remoteproc relocation information to post mortem debugging tools.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,pil-reloc-info"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
imem@146bf000 {
compatible = "qcom,sdm630-imem", "syscon", "simple-mfd";
reg = <0x146bf000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x146bf000 0x1000>;
pil-reloc@94c {
compatible = "qcom,pil-reloc-info";
reg = <0x94c 0xc8>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QCS404 CDSP Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
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)
Qualcomm QCS404 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,qcs404-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm QCS404 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,qcs404-adsp-pas", "qcom,qcs404-cdsp-pas", "qcom,qcs404-wcss-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
interrupts — not listed as required here #
Maximum number of items (maxItems): 5
interrupt-names — not listed as required here #
Maximum number of items (maxItems): 5
power-domains — not listed as required here #
false — Not permitted by this property rule.
power-domain-names — not listed as required here #
false — Not permitted by this property rule.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
remoteproc@c700000 {
compatible = "qcom,qcs404-adsp-pas";
reg = <0x0c700000 0x4040>;
clocks = <&xo_board>;
clock-names = "xo";
interrupts-extended = <&intc GIC_SPI 293 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";
memory-region = <&adsp_fw_mem>;
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts = <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>;
qcom,remote-pid = <2>;
mboxes = <&apcs_glb 8>;
label = "adsp";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm Resource Power Manager (RPM) Processor/Subsystem
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,rpm-proc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Konrad Dybcio <konradybcio@kernel.org>", "Stephan Gerhold <stephan@gerhold.net>"
Resource Power Manager (RPM) subsystem found in various Qualcomm platforms:
+--------------------------------------------+
| RPM subsystem (qcom,rpm-proc) |
| |
reset | +---------------+ +-----+ +-----+ |
--------->| | | MPM | | CPR | ... |
IPC interrupts | | ARM Cortex-M3 |--- +-----+ +-----+ |
----------------->| | | | | |
| +---------------+ |---------------------- |
| +---------------+ | |
| | Code RAM |--| +------------------+ |
| +---------------+ | | | |
| +---------------+ |--| Message RAM | |
| | Data RAM |--| | | |
| +---------------+ | +------------------+ |
+--------------------|-----------------------+
v
NoC
The firmware running on the processor inside the RPM subsystem allows each component in the system to vote for state of the system resources, such as clocks, regulators and bus frequencies. It implements multiple separate communication interfaces that are described in subnodes, e.g. SMD and MPM:
+------------------------------+
| ARM Cortex-M3 |
| | +------------------------------+
| +--------------------------+ | | Message RAM |
| | RPM firmware | | | |
IPC IRQ 0 | | +----------------------+ | | | +--------------------------+ |
-------------->| SMD server |<------->| SMD data structures | |
| | | +--------------+ | | | | | +--------------+ | |
| | | | rpm_requests | ... | | | | | | rpm_requests | ... | |
| | | +--------------+ | | | | | +--------------+ | |
IPC IRQ 1 | | +----------------------+ | | | +--------------------------+ |
-------------->| MPM virtualization |<--------| MPM register copy (vMPM) | |
| | +----------------------+ | | | +--------------------------+ |
| | ... | | | | ... |
| +--------------------|-----+ | +------------------------------+
+----------------------|-------+
v
+--------------+
| MPM Hardware |
+--------------+
The services provided by the firmware are only available after the firmware has been loaded and the processor has been released from reset. Usually this happens early in the boot process before the operating system is started.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,apq8084-rpm-proc","qcom,ipq6018-rpm-proc","qcom,ipq9574-rpm-proc","qcom,mdm9607-rpm-proc","qcom,msm8226-rpm-proc","qcom,msm8610-rpm-proc","qcom,msm8909-rpm-proc","qcom,msm8916-rpm-proc","qcom,msm8917-rpm-proc","qcom,msm8936-rpm-proc","qcom,msm8937-rpm-proc","qcom,msm8952-rpm-proc","qcom,msm8953-rpm-proc","qcom,msm8974-rpm-proc","qcom,msm8976-rpm-proc","qcom,msm8994-rpm-proc","qcom,msm8996-rpm-proc","qcom,msm8998-rpm-proc","qcom,qcm2290-rpm-proc","qcom,qcs404-rpm-proc","qcom,sdm660-rpm-proc","qcom,sm6115-rpm-proc","qcom,sm6125-rpm-proc","qcom,sm6375-rpm-proc"
Item 2
Exact value (
const):"qcom,rpm-proc"
smd-edge — not listed as required here #
Shared schema rule ($ref): /schemas/remoteproc/qcom,smd-edge.yaml#
Qualcomm Shared Memory subnode which represents communication edge, channels and devices related to the RPM subsystem.
glink-edge — not listed as required here #
Shared schema rule ($ref): /schemas/remoteproc/qcom,glink-rpm-edge.yaml#
Qualcomm G-Link subnode which represents communication edge, channels and devices related to the RPM subsystem.
interrupt-controller — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/interrupt-controller/qcom,mpm.yaml#
MSM Power Manager (MPM) interrupt controller that monitors interrupts when the system is asleep.
master-stats — not listed as required here #
Shared schema rule ($ref): /schemas/soc/qcom/qcom,rpm-master-stats.yaml#
Subsystem-level low-power mode statistics provided by RPM.
Required in this object (required): "compatible"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
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/interrupt-controller/irq.h>
remoteproc {
compatible = "qcom,msm8916-rpm-proc", "qcom,rpm-proc";
smd-edge {
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
qcom,ipc = <&apcs 8 0>;
qcom,smd-edge = <15>;
rpm-requests {
compatible = "qcom,rpm-msm8916", "qcom,smd-rpm";
qcom,smd-channels = "rpm_requests";
/* ... */
};
};
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
remoteproc {
compatible = "qcom,qcm2290-rpm-proc", "qcom,rpm-proc";
glink-edge {
compatible = "qcom,glink-rpm";
interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING>;
qcom,rpm-msg-ram = <&rpm_msg_ram>;
mboxes = <&apcs_glb 0>;
rpm-requests {
compatible = "qcom,rpm-qcm2290", "qcom,glink-smd-rpm";
qcom,glink-channels = "rpm_requests";
/* ... */
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 131: SMD
Line 151: GLINK
Qualcomm SA8775p Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sa8775p-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@linaro.org>"
Qualcomm SA8775p SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-adsp-pas"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-cdsp0-pas"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-gpdsp0-pas"
Rule 4
Allowed values (
enum):"qcom,sa8775p-adsp-pas","qcom,sa8775p-cdsp0-pas","qcom,sa8775p-cdsp1-pas","qcom,sa8775p-gpdsp0-pas","qcom,sa8775p-gpdsp1-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array item rules (items) #
Item 1
Firmware name of the Hexagon core
memory-region — required here #
Array item rules (items) #
Item 1
Memory region for main Firmware authentication
interrupts — not listed as required here #
Maximum number of items (maxItems): 5
interrupt-names — not listed as required here #
Maximum number of items (maxItems): 5
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sa8775p-cdsp0-pas","qcom,sa8775p-cdsp1-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MXC power domain
Item 3
NSP0 power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mxc"Item 3
Exact value (
const):"nsp"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sa8775p-gpdsp0-pas","qcom,sa8775p-gpdsp1-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MXC power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mxc"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
remoteproc@30000000 {
compatible = "qcom,sa8775p-adsp-pas";
reg = <0x30000000 0x100>;
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
power-domains = <&rpmhpd RPMHPD_LCX>, <&rpmhpd RPMHPD_LMX>;
power-domain-names = "lcx", "lmx";
interconnects = <&lpass_ag_noc MASTER_LPASS_PROC 0 &mc_virt SLAVE_EBI1 0>;
memory-region = <&pil_adsp_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SC7180 MSS Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sc7180-mss-pil.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sibi Sankar <quic_sibis@quicinc.com>"
This document describes the hardware for a component that loads and boots firmware on the Qualcomm Technology Inc. SC7180 Modem Hexagon Core.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sc7180-mss-pil"
reg — required here #
Array item rules (items) #
Item 1
MSS QDSP6 registers
Item 2
RMB registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"qdsp6"
Item 2
Exact value (
const):"rmb"
iommus — required here #
Array item rules (items) #
Item 1
MSA Stream 1
Item 2
MSA Stream 2
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
Item 6
Shutdown 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"
Item 6
Exact value (
const):"shutdown-ack"
clocks — required here #
Array item rules (items) #
Item 1
GCC MSS IFACE clock
Item 2
GCC MSS BUS clock
Item 3
GCC MSS NAV clock
Item 4
GCC MSS SNOC_AXI clock
Item 5
GCC MSS MFAB_AXIS clock
Item 6
RPMH XO clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"bus"
Item 3
Exact value (
const):"nav"
Item 4
Exact value (
const):"snoc_axi"
Item 5
Exact value (
const):"mnoc_axi"
Item 6
Exact value (
const):"xo"
power-domains — required here #
Array item rules (items) #
Item 1
CX power domain
Item 2
MX power domain
Item 3
MSS power domain
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"mx"
Item 3
Exact value (
const):"mss"
resets — required here #
Array item rules (items) #
Item 1
AOSS restart
Item 2
PDC reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mss_restart"
Item 2
Exact value (
const):"pdc_reset"
memory-region — required here #
Array item rules (items) #
Item 1
MBA reserved region
Item 2
modem reserved region
Item 3
metadata reserved region
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array item rules (items) #
Item 1
Name of MBA firmware
Item 2
Name of modem firmware
qcom,halt-regs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Halt registers are used to halt transactions of various sub-components within MSS.
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to TCSR_MUTEX registers
Item 2
offset to the Q6 halt register
Item 3
offset to the modem halt register
Item 4
offset to the nc halt register
qcom,spare-regs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Spare registers are multipurpose registers used for errata handling.
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to TCSR_MUTEX registers
Item 2
offset to the conn_box_spare0 register
qcom,qmp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
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
Exact value (const): "stop"
glink-edge — required here #
Shared schema rule ($ref): qcom,glink-edge.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm G-Link subnode which represents communication edge, channels and devices related to the DSP.
Properties and child nodes (properties) #
interrupts — not listed as required here
Array item rules (items)
Item 1
IRQ from MSS to GLINK
mboxes — not listed as required here
Array item rules (items)
Item 1
Mailbox for communication between APPS and MSS
label — not listed as required here
Exact value (const): "modem"
apr — not listed as required here
false — Not permitted by this property rule.
fastrpc — not listed as required here
false — Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "reg-names", "iommus", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "power-domain-names", "resets", "reset-names", "qcom,halt-regs", "qcom,spare-regs", "memory-region", "qcom,qmp", "qcom,smem-states", "qcom,smem-state-names", "glink-edge"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/reset/qcom,sdm845-aoss.h>
#include <dt-bindings/reset/qcom,sdm845-pdc.h>
remoteproc_mpss: remoteproc@4080000 {
compatible = "qcom,sc7180-mss-pil";
reg = <0x04080000 0x10000>, <0x04180000 0x48>;
reg-names = "qdsp6", "rmb";
iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>;
interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover",
"stop-ack", "shutdown-ack";
clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
<&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
<&gcc GCC_MSS_NAV_AXI_CLK>,
<&gcc GCC_MSS_SNOC_AXI_CLK>,
<&gcc GCC_MSS_MFAB_AXIS_CLK>,
<&rpmhcc RPMH_CXO_CLK>;
clock-names = "iface", "bus", "nav", "snoc_axi",
"mnoc_axi", "xo";
power-domains = <&rpmhpd SC7180_CX>,
<&rpmhpd SC7180_MX>,
<&rpmhpd SC7180_MSS>;
power-domain-names = "cx", "mx", "mss";
memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop";
resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
<&pdc_reset PDC_MODEM_SYNC_RESET>;
reset-names = "mss_restart", "pdc_reset";
qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
qcom,spare-regs = <&tcsr_regs 0xb3e4>;
glink-edge {
interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
mboxes = <&apss_shared 12>;
qcom,remote-pid = <1>;
label = "modem";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SC7180/SC7280 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sc7180-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SC7180/SC7280 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sc7180-adsp-pas", "qcom,sc7180-mpss-pas", "qcom,sc7280-adsp-pas", "qcom,sc7280-cdsp-pas", "qcom,sc7280-mpss-pas", "qcom,sc7280-wpss-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc7180-adsp-pas","qcom,sc7280-adsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MX power domain
Item 3
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mx"Item 3
Exact value (
const):"mss"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mss"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc7280-cdsp-pas","qcom,sc7280-wpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mx"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc@4080000 {
compatible = "qcom,sc7180-mpss-pas";
reg = <0x04080000 0x4040>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover",
"stop-ack", "shutdown-ack";
memory-region = <&mpss_mem>;
power-domains = <&rpmhpd SC7180_CX>,
<&rpmhpd SC7180_MX>,
<&rpmhpd SC7180_MSS>;
power-domain-names = "cx", "mx", "mss";
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
label = "modem";
qcom,remote-pid = <1>;
mboxes = <&apss_shared 12>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SC7280 ADSP Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sc7280-adsp-pil.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>"
This document describes the hardware 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,sc7280-adsp-pil"
reg — required here #
Array item rules (items) #
Item 1
qdsp6ss register
Item 2
efuse q6ss register
iommus — not listed as required here #
Array item rules (items) #
Item 1
Phandle to apps_smmu node with sid mask
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
Item 6
Shutdown 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"
Item 6
Exact value (
const):"shutdown-ack"
clocks — required here #
Array item rules (items) #
Item 1
XO clock
Item 2
GCC CFG NOC LPASS clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
Item 2
Exact value (
const):"gcc_cfg_noc_lpass"
power-domains — required here #
Array item rules (items) #
Item 1
LCX 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 four offsets within syscon for q6, modem, nc and qv6 halt registers.
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to TCSR_MUTEX registers
Item 2
offset to the Q6 halt register
Item 3
offset to the modem halt register
Item 4
offset to the nc halt register
Item 5
offset to the vq6 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
Exact value (const): "stop"
qcom,qmp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
glink-edge — not listed as required here #
Shared schema rule ($ref): qcom,glink-edge.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm G-Link subnode which represents communication edge, channels and devices related to the ADSP.
Properties and child nodes (properties) #
label — required here
Exact value (const): "lpass"
gpr — not listed as required here
true — No constraints added by this property rule.
apr — not listed as required here
false — Not permitted by this property rule.
fastrpc — not listed as required here
false — Not permitted by this property rule.
Required in this object (required): "label"
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", "qcom,qmp"
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-sc7280.h>
#include <dt-bindings/clock/qcom,lpass-sc7280.h>
#include <dt-bindings/reset/qcom,sdm845-aoss.h>
#include <dt-bindings/reset/qcom,sdm845-pdc.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
remoteproc@3000000 {
compatible = "qcom,sc7280-adsp-pil";
reg = <0x03000000 0x5000>,
<0x0355b000 0x10>;
interrupts-extended = <&pdc 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>,
<&adsp_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack", "shutdown-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_CFG_NOC_LPASS_CLK>;
clock-names = "xo", "gcc_cfg_noc_lpass";
power-domains = <&rpmhpd SC7280_LCX>;
resets = <&pdc_reset PDC_AUDIO_SYNC_RESET>,
<&aoss_reset AOSS_CC_LPASS_RESTART>;
reset-names = "pdc_sync", "cc_lpass";
qcom,halt-regs = <&tcsr_mutex 0x23000 0x25000 0x28000 0x33000>;
memory-region = <&adsp_mem>;
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
qcom,qmp = <&aoss_qmp>;
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SC7280 MSS Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sc7280-mss-pil.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sibi Sankar <quic_sibis@quicinc.com>"
This document describes the hardware for a component that loads and boots firmware on the Qualcomm Technology Inc. SC7280 Modem Hexagon Core.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sc7280-mss-pil"
reg — required here #
Array item rules (items) #
Item 1
MSS QDSP6 registers
Item 2
RMB registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"qdsp6"
Item 2
Exact value (
const):"rmb"
iommus — required here #
Array item rules (items) #
Item 1
MSA Stream 1
Item 2
MSA Stream 2
interconnects — required here #
Array item rules (items) #
Item 1
Path leading to system memory
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
Item 6
Shutdown 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"
Item 6
Exact value (
const):"shutdown-ack"
clocks — required here #
Array item rules (items) #
Item 1
GCC MSS IFACE clock
Item 2
GCC MSS OFFLINE clock
Item 3
GCC MSS SNOC_AXI clock
Item 4
RPMH PKA clock
Item 5
RPMH XO clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"offline"
Item 3
Exact value (
const):"snoc_axi"
Item 4
Exact value (
const):"pka"
Item 5
Exact value (
const):"xo"
power-domains — required here #
Array item rules (items) #
Item 1
CX power domain
Item 2
MSS power domain
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"mss"
resets — required here #
Array item rules (items) #
Item 1
AOSS restart
Item 2
PDC reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mss_restart"
Item 2
Exact value (
const):"pdc_reset"
memory-region — required here #
Array item rules (items) #
Item 1
MBA reserved region
Item 2
modem reserved region
Item 3
metadata reserved region
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array item rules (items) #
Item 1
Name of MBA firmware
Item 2
Name of modem firmware
qcom,halt-regs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Halt registers are used to halt transactions of various sub-components within MSS.
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to TCSR_MUTEX registers
Item 2
offset to the Q6 halt register
Item 3
offset to the modem halt register
Item 4
offset to the nc halt register
Item 5
offset to the vq6 halt register
qcom,ext-regs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
EXT registers are used for various power related functionality
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to TCSR_REG registers
Item 2
offset to the force_clk_en register
Item 3
offset to the rscc_disable register
Item 2
Array item rules (
items)Item 1
phandle to TCSR_MUTEX registers
Item 2
offset to the axim1_clk_off register
Item 3
offset to the crypto_clk_off register
qcom,qaccept-regs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
QACCEPT registers are used to bring up/down Q-channels
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to TCSR_MUTEX registers
Item 2
offset to the mdm qaccept register
Item 3
offset to the cx qaccept register
Item 4
offset to the axi qaccept register
qcom,qmp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
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
Exact value (const): "stop"
glink-edge — required here #
Shared schema rule ($ref): qcom,glink-edge.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm G-Link subnode which represents communication edge, channels and devices related to the DSP.
Properties and child nodes (properties) #
interrupts — not listed as required here
Array item rules (items)
Item 1
IRQ from MSS to GLINK
mboxes — not listed as required here
Array item rules (items)
Item 1
Mailbox for communication between APPS and MSS
label — not listed as required here
Exact value (const): "modem"
apr — not listed as required here
false — Not permitted by this property rule.
fastrpc — not listed as required here
false — Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "reg-names", "iommus", "interconnects", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "power-domain-names", "resets", "reset-names", "qcom,halt-regs", "qcom,ext-regs", "qcom,qaccept-regs", "memory-region", "qcom,qmp", "qcom,smem-states", "qcom,smem-state-names", "glink-edge"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,sc7280.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/reset/qcom,sdm845-aoss.h>
#include <dt-bindings/reset/qcom,sdm845-pdc.h>
remoteproc_mpss: remoteproc@4080000 {
compatible = "qcom,sc7280-mss-pil";
reg = <0x04080000 0x10000>, <0x04180000 0x48>;
reg-names = "qdsp6", "rmb";
iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>;
interconnects = <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>;
interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover",
"stop-ack", "shutdown-ack";
clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
<&gcc GCC_MSS_OFFLINE_AXI_CLK>,
<&gcc GCC_MSS_SNOC_AXI_CLK>,
<&rpmhcc RPMH_PKA_CLK>,
<&rpmhcc RPMH_CXO_CLK>;
clock-names = "iface", "offline", "snoc_axi", "pka", "xo";
power-domains = <&rpmhpd SC7280_CX>,
<&rpmhpd SC7280_MSS>;
power-domain-names = "cx", "mss";
memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop";
resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
<&pdc_reset PDC_MODEM_SYNC_RESET>;
reset-names = "mss_restart", "pdc_reset";
qcom,halt-regs = <&tcsr_mutex 0x23000 0x25000 0x28000 0x33000>;
qcom,ext-regs = <&tcsr 0x10000 0x10004>, <&tcsr_mutex 0x26004 0x26008>;
qcom,qaccept-regs = <&tcsr_mutex 0x23030 0x23040 0x23020>;
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_MPSS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "modem";
qcom,remote-pid = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SC7280 WPSS Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sc7280-wpss-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. WPSS.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sc7280-wpss-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
Item 6
Shutdown 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"
Item 6
Exact value (
const):"shutdown-ack"
clocks — required here #
Array item rules (items) #
Item 1
GCC WPSS AHB BDG Master clock
Item 2
GCC WPSS AHB clock
Item 3
GCC WPSS RSCP clock
Item 4
XO clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb_bdg"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"rscp"
Item 4
Exact value (
const):"xo"
power-domains — required here #
Array item rules (items) #
Item 1
CX power domain
Item 2
MX power domain
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"mx"
resets — required here #
Array item rules (items) #
Item 1
AOSS restart
Item 2
PDC SYNC
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"restart"
Item 2
Exact value (
const):"pdc_sync"
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
The name of the firmware which should be loaded for this remote processor.
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,qmp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
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
Exact value (const): "stop"
glink-edge — required here #
Shared schema rule ($ref): qcom,glink-edge.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm G-Link subnode which represents communication edge, channels and devices related to the ADSP.
Properties and child nodes (properties) #
interrupts — not listed as required here
Array item rules (items)
Item 1
IRQ from WPSS to GLINK
mboxes — not listed as required here
Array item rules (items)
Item 1
Mailbox for communication between APPS and WPSS
label — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"wpss"
apr — not listed as required here
false — Not permitted by this property rule.
fastrpc — not listed as required here
false — Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "power-domain-names", "resets", "reset-names", "qcom,halt-regs", "memory-region", "qcom,qmp", "qcom,smem-states", "qcom,smem-state-names", "glink-edge"
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-sc7280.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/reset/qcom,sdm845-aoss.h>
#include <dt-bindings/reset/qcom,sdm845-pdc.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
remoteproc@8a00000 {
compatible = "qcom,sc7280-wpss-pil";
reg = <0x08a00000 0x10000>;
interrupts-extended = <&intc GIC_SPI 587 IRQ_TYPE_EDGE_RISING>,
<&wpss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&wpss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&wpss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&wpss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
<&wpss_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover",
"stop-ack", "shutdown-ack";
clocks = <&gcc GCC_WPSS_AHB_BDG_MST_CLK>,
<&gcc GCC_WPSS_AHB_CLK>,
<&gcc GCC_WPSS_RSCP_CLK>,
<&rpmhcc RPMH_CXO_CLK>;
clock-names = "ahb_bdg", "ahb",
"rscp", "xo";
power-domains = <&rpmhpd SC7280_CX>,
<&rpmhpd SC7280_MX>;
power-domain-names = "cx", "mx";
memory-region = <&wpss_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&wpss_smp2p_out 0>;
qcom,smem-state-names = "stop";
resets = <&aoss_reset AOSS_CC_WCSS_RESTART>,
<&pdc_reset PDC_WPSS_SYNC_RESET>;
reset-names = "restart", "pdc_sync";
qcom,halt-regs = <&tcsr_mutex 0x37000>;
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "wpss";
qcom,remote-pid = <13>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SC8280XP Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sc8280xp-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SC8280XP SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sc8280xp-adsp-pas", "qcom,sc8280xp-nsp0-pas", "qcom,sc8280xp-nsp1-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc8280xp-nsp0-pas","qcom,sc8280xp-nsp1-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"When the condition does not match (
else) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
NSP power domain
Item 2
CX power domain
Item 3
MXC power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"nsp"Item 2
Exact value (
const):"cx"Item 3
Exact value (
const):"mxc"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc@3000000 {
compatible = "qcom,sc8280xp-adsp-pas";
reg = <0x03000000 0x100>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
firmware-name = "qcom/sc8280xp/qcadsp8280.mbn";
interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack", "shutdown-ack";
memory-region = <&pil_adsp_mem>;
power-domains = <&rpmhpd SC8280XP_LCX>,
<&rpmhpd SC8280XP_LMX>;
power-domain-names = "lcx", "lmx";
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SDM845 ADSP Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
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)
Qualcomm SDX55 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sdx55-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SDX55 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sdx55-mpss-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
interrupts — not listed as required here #
Minimum number of items (minItems): 6
interrupt-names — not listed as required here #
Minimum number of items (minItems): 6
power-domains — not listed as required here #
Array item rules (items) #
Item 1
CX power domain
Item 2
MSS power domain
power-domain-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"mss"
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc@4080000 {
compatible = "qcom,sdx55-mpss-pas";
reg = <0x04080000 0x4040>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover",
"stop-ack", "shutdown-ack";
memory-region = <&mpss_adsp_mem>;
power-domains = <&rpmhpd SDX55_CX>, <&rpmhpd SDX55_MSS>;
power-domain-names = "cx", "mss";
qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts = <GIC_SPI 114 IRQ_TYPE_EDGE_RISING>;
label = "mpss";
mboxes = <&apcs 15>;
qcom,remote-pid = <1>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SM6115 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm6115-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Konrad Dybcio <konradybcio@kernel.org>"
Qualcomm SM6115 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,sm6115-adsp-pas","qcom,sm6115-cdsp-pas","qcom,sm6115-mpss-pas"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"qcom,qcm2290-adsp-pas"Item 2
Exact value (
const):"qcom,sm6115-adsp-pas"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"qcom,qcm2290-mpss-pas"Item 2
Exact value (
const):"qcom,sm6115-mpss-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sm6115-adsp-pas","qcom,sm6115-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sm6115-cdsp-pas","qcom,sm6115-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LPI CX power domain
Item 2
LPI MX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc@ab00000 {
compatible = "qcom,sm6115-adsp-pas";
reg = <0x0ab00000 0x100>;
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
clock-names = "xo";
firmware-name = "qcom/sm6115/adsp.mbn";
interrupts-extended = <&intc GIC_SPI 282 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";
memory-region = <&pil_adsp_mem>;
power-domains = <&rpmpd SM6115_VDD_LPI_CX>,
<&rpmpd SM6115_VDD_LPI_MX>;
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts = <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>;
label = "lpass";
qcom,remote-pid = <2>;
mboxes = <&apcs_glb 8>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SM6350 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm6350-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SM6350 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sm6350-adsp-pas", "qcom,sm6350-cdsp-pas", "qcom,sm6350-mpss-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sm6350-adsp-pas","qcom,sm6350-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mx"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mss"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc@3000000 {
compatible = "qcom,sm6350-adsp-pas";
reg = <0x03000000 0x100>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
memory-region = <&pil_adsp_mem>;
power-domains = <&rpmhpd SM6350_LCX>,
<&rpmhpd SM6350_LMX>;
power-domain-names = "lcx", "lmx";
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SM6375 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm6375-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SM6375 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sm6375-adsp-pas", "qcom,sm6375-cdsp-pas", "qcom,sm6375-mpss-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
smd-edge — not listed as required here #
false — Not permitted by this property rule.
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sm6375-adsp-pas","qcom,sm6375-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sm6375-cdsp-pas","qcom,sm6375-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc_adsp: remoteproc@a400000 {
compatible = "qcom,sm6375-adsp-pas";
reg = <0x0a400000 0x100>;
interrupts-extended = <&intc GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
clock-names = "xo";
power-domains = <&rpmpd SM6375_VDD_LPI_CX>,
<&rpmpd SM6375_VDD_LPI_MX>;
power-domain-names = "lcx", "lmx";
memory-region = <&pil_adsp_mem>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SM8150/SM8250 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm8150-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SM8150/SM8250 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8150-adsp-pas"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8150-cdsp-pas"
Rule 3
Allowed values (
enum):"qcom,sc8180x-adsp-pas","qcom,sc8180x-cdsp-pas","qcom,sc8180x-slpi-pas","qcom,sm8150-adsp-pas","qcom,sm8150-cdsp-pas","qcom,sm8150-mpss-pas","qcom,sm8150-slpi-pas","qcom,sm8250-adsp-pas","qcom,sm8250-cdsp-pas","qcom,sm8250-slpi-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc8180x-adsp-pas","qcom,sc8180x-cdsp-pas","qcom,sc8180x-slpi-pas","qcom,sm8150-adsp-pas","qcom,sm8150-cdsp-pas","qcom,sm8150-slpi-pas","qcom,sm8250-adsp-pas","qcom,sm8250-cdsp-pas","qcom,sm8250-slpi-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc8180x-adsp-pas","qcom,sc8180x-cdsp-pas","qcom,sm8150-adsp-pas","qcom,sm8150-cdsp-pas","qcom,sm8250-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc8180x-mpss-pas","qcom,sm8150-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mss"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc8180x-slpi-pas","qcom,sm8150-slpi-pas","qcom,sm8250-adsp-pas","qcom,sm8250-slpi-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/qcom-rpmpd.h>
remoteproc@17300000 {
compatible = "qcom,sm8150-adsp-pas";
reg = <0x17300000 0x4040>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
firmware-name = "qcom/sm8150/adsp.mbn";
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";
memory-region = <&adsp_mem>;
power-domains = <&rpmhpd SM8150_CX>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
label = "lpass";
qcom,remote-pid = <2>;
mboxes = <&apss_shared 8>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SM8350/SM8450 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm8350-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SM8350/SM8450 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,sar2130p-adsp-pas","qcom,sm8350-adsp-pas","qcom,sm8350-cdsp-pas","qcom,sm8350-slpi-pas","qcom,sm8350-mpss-pas","qcom,sm8450-adsp-pas","qcom,sm8450-cdsp-pas","qcom,sm8450-mpss-pas","qcom,sm8450-slpi-pas"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"qcom,sc8280xp-slpi-pas"Item 2
Exact value (
const):"qcom,sm8350-slpi-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
memory-region — required here #
Maximum number of items (maxItems): 1
Reference to the reserved-memory for the Hexagon core
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Firmware name for the Hexagon core
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sar2130p-adsp-pas","qcom,sm8350-adsp-pas","qcom,sm8350-cdsp-pas","qcom,sm8350-slpi-pas","qcom,sm8450-adsp-pas","qcom,sm8450-cdsp-pas","qcom,sm8450-slpi-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sm8350-mpss-pas","qcom,sm8450-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mss"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sar2130p-adsp-pas","qcom,sm8350-adsp-pas","qcom,sm8350-slpi-pas","qcom,sm8450-adsp-pas","qcom,sm8450-slpi-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sm8350-cdsp-pas","qcom,sm8450-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MXC power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mxc"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
remoteproc@30000000 {
compatible = "qcom,sm8450-adsp-pas";
reg = <0x030000000 0x100>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
firmware-name = "qcom/sm8450/adsp.mbn";
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
memory-region = <&adsp_mem>;
power-domains = <&rpmhpd RPMHPD_LCX>,
<&rpmhpd RPMHPD_LMX>;
power-domain-names = "lcx", "lmx";
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SM8550 Peripheral Authentication Service
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,sm8550-pas.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
Qualcomm SM8550 SoC Peripheral Authentication Service loads and boots firmware on the Qualcomm DSP Hexagon cores.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,sdx75-mpss-pas","qcom,sm8550-adsp-pas","qcom,sm8550-cdsp-pas","qcom,sm8550-mpss-pas","qcom,sm8650-adsp-pas","qcom,sm8650-cdsp-pas","qcom,sm8650-mpss-pas","qcom,sm8750-mpss-pas","qcom,x1e80100-adsp-pas","qcom,x1e80100-cdsp-pas"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"qcom,sm8750-adsp-pas"Item 2
Exact value (
const):"qcom,sm8550-adsp-pas"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"qcom,sm8750-cdsp-pas"Item 2
Exact value (
const):"qcom,sm8650-cdsp-pas"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
XO clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM.
smd-edge — not listed as required here #
false — Not permitted by this property rule.
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array item rules (items) #
Item 1
Firmware name of the Hexagon core
Item 2
Firmware name of the Hexagon Devicetree
memory-region — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Memory region for main Firmware authentication
Item 2
Memory region for Devicetree Firmware authentication
Item 3
DSM Memory region
Item 4
DSM Memory region 2
Item 5
Memory region for Qlink Logging
Required in this object (required): "compatible", "reg", "memory-region"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/remoteproc/qcom,pas-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sm8550-adsp-pas","qcom,sm8550-cdsp-pas","qcom,sm8650-adsp-pas","qcom,x1e80100-adsp-pas","qcom,x1e80100-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5
memory-region— not listed as required hereMaximum number of items (
maxItems):2
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):6
interrupt-names— not listed as required hereMaximum number of items (
maxItems):6
memory-region— not listed as required hereMaximum number of items (
maxItems):2
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):5
interrupt-names— not listed as required hereMaximum number of items (
maxItems):5
memory-region— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):6
interrupt-names— not listed as required hereMaximum number of items (
maxItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sdx75-mpss-pas","qcom,sm8650-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
memory-region— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sm8550-adsp-pas","qcom,sm8650-adsp-pas","qcom,x1e80100-adsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
LCX power domain
Item 2
LMX power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"lcx"Item 2
Exact value (
const):"lmx"
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sdx75-mpss-pas","qcom,sm8550-mpss-pas","qcom,sm8650-mpss-pas","qcom,sm8750-mpss-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MSS power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mss"
Rule 11 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sm8550-cdsp-pas","qcom,sm8650-cdsp-pas","qcom,x1e80100-cdsp-pas"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereArray item rules (
items)Item 1
CX power domain
Item 2
MXC power domain
Item 3
NSP power domain
power-domain-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cx"Item 2
Exact value (
const):"mxc"Item 3
Exact value (
const):"nsp"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
remoteproc@30000000 {
compatible = "qcom,sm8550-adsp-pas";
reg = <0x030000000 0x100>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
memory-region = <&adsp_mem>, <&dtb_adsp_mem>;
firmware-name = "qcom/sm8550/adsp.mbn",
"qcom/sm8550/adsp_dtb.mbn";
power-domains = <&rpmhpd_sm8550_lcx>,
<&rpmhpd_sm8550_lmx>;
power-domain-names = "lcx", "lmx";
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
/* ... */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm SMD Edge communication channel nodes
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,smd-edge.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
Qualcomm SMD subnode represents a remote subsystem or a remote processor of some sort - or in SMD language an "edge". The name of the edges are not important. In turn, subnodes of the "edges" represent devices tied to SMD channels on that "edge". The names of the devices are not important. The properties of these nodes are defined by the individual bindings for the SMD devices. See also Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
Properties and child nodes (properties) #
$nodename — not listed as required here #
Exact value (const): "smd-edge"
apr — not listed as required here #
Shared schema rule ($ref): /schemas/soc/qcom/qcom,apr.yaml#
Required in this object (required): "qcom,smd-channels"
Qualcomm APR/GPR (Asynchronous/Generic Packet Router)
fastrpc — not listed as required here #
Shared schema rule ($ref): /schemas/misc/qcom,fastrpc.yaml#
Required in this object (required): "qcom,smd-channels"
Qualcomm FastRPC
interrupts — required here #
Maximum number of items (maxItems): 1
label — not listed as required here #
Name of the edge, used for debugging and identification purposes. The node name will be used if this is not present.
mboxes — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the mailbox representing the outgoing doorbell in APCS for this client.
qcom,ipc — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to a syscon node representing the APCS registers
Item 2
u32 representing offset to the register within the syscon
Item 3
u32 representing the ipc bit within the register
Three entries specifying the outgoing ipc bit used for signaling the remote processor.
Deprecated (deprecated): true
qcom,smd-edge — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The identifier of the remote processor in the smd channel allocation table.
qcom,remote-pid — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The identifier for the remote processor as known by the rest of the system.
rpm-requests — not listed as required here #
Shared schema rule ($ref): /schemas/soc/qcom/qcom,smd-rpm.yaml#
Required in this object (required): "qcom,smd-channels"
Qualcomm Resource Power Manager (RPM) over SMD.
wcnss — not listed as required here #
Shared schema rule ($ref): /schemas/soc/qcom/qcom,wcnss.yaml
Required in this object (required): "qcom,smd-channels"
Qualcomm WCNSS for Bluetooth, WiFi and FM radio.
Required in this object (required): "interrupts", "qcom,smd-edge"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
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/mailbox/qcom-ipcc.h>
remoteproc {
// ...
smd-edge {
interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
mboxes = <&apcs 8>;
qcom,smd-edge = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm WCNSS Peripheral Image Loader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/qcom,wcnss-pil.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
This document defines the binding for a component that loads and boots firmware on the Qualcomm WCNSS core.
Properties and child nodes (properties) #
compatible — required here #
Append "qcom,pronto" if the device is actually pronto, and not riva
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,pronto-v1-pil","qcom,pronto-v2-pil","qcom,pronto-v3-pil"Item 2
Exact value (
const):"qcom,pronto"
Rule 2
Exact value (
const):"qcom,riva-pil"
reg — required here #
Maximum number of items (maxItems): 3
The base address and size of the CCU, DXE and PMU register blocks
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ccu"
Item 2
Exact value (
const):"dxe"
Item 3
Exact value (
const):"pmu"
interrupts — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 5
interrupt-names — required here #
Minimum number of items (minItems): 2
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"
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Relative firmware image path for the WCNSS core. Defaults to "wcnss.mdt".
vddpx-supply — required here #
PX regulator to be held on behalf of the booting of the WCNSS core
vddmx-supply — not listed as required here #
MX regulator to be held on behalf of the booting of the WCNSS core.
vddcx-supply — not listed as required here #
CX regulator to be held on behalf of the booting of the WCNSS core.
power-domains — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domain-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"mx"
qcom,smem-states — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
States used by the AP to signal the WCNSS core that it should shutdown
Array item rules (items) #
Item 1
Stop the modem
qcom,smem-state-names — not listed as required here #
The names of the state bits used for SMP2P output
Array item rules (items) #
Item 1
Exact value (
const):"stop"
memory-region — required here #
Maximum number of items (maxItems): 1
reserved-memory for the WCNSS core
smd-edge — required here #
Shared schema rule ($ref): /schemas/remoteproc/qcom,smd-edge.yaml#
Qualcomm Shared Memory subnode which represents communication edge, channels and devices related to the ADSP.
iris — required here #
Value type (type): "object"
The iris subnode of the WCNSS PIL is used to describe the attached RF module and its resource dependencies.
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "qcom,wcn3620", "qcom,wcn3660", "qcom,wcn3660b", "qcom,wcn3680"
clocks — required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
XO clock
Item 2
RF clock
clock-names — required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):"xo"
Item 2
Exact value (
const):"rf"
vddxo-supply — required here
Reference to the regulator to be held on behalf of the booting WCNSS core
vddrfa-supply — required here
Reference to the regulator to be held on behalf of the booting WCNSS core
vddpa-supply — required here
Reference to the regulator to be held on behalf of the booting WCNSS core
vdddig-supply — required here
Reference to the regulator to be held on behalf of the booting WCNSS core
Required in this object (required): "compatible", "clocks", "clock-names", "vddxo-supply", "vddrfa-supply", "vddpa-supply", "vdddig-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "iris", "vddpx-supply", "memory-region", "smd-edge"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,riva-pil"When the condition matches (
then) #Required in this object (
required):"vddcx-supply","vddmx-supply"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,pronto-v1-pil","qcom,pronto-v2-pil"When the condition matches (
then) #Exactly one of these rules must match (
oneOf)Rule 1
Required in this object (
required):"power-domains","power-domain-names"Properties and child nodes (
properties)
power-domains— required hereMinimum number of items (
minItems):2
power-domain-names— required hereMinimum number of items (
minItems):2
vddmx-supply— not listed as required here
false— Not permitted by this property rule.
vddcx-supply— not listed as required here
false— Not permitted by this property rule.Rule 2
Required in this object (
required):"power-domains","power-domain-names","vddmx-supply"Properties and child nodes (
properties)
power-domains— required hereMaximum number of items (
maxItems):1
power-domain-names— required hereMaximum number of items (
maxItems):1
vddcx-supply— not listed as required here
false— Not permitted by this property rule.Rule 3
Required in this object (
required):"vddmx-supply","vddcx-supply"Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
power-domain-names— not listed as required here
false— Not permitted by this property rule.
vddmx-supply— required hereDeprecated (
deprecated):trueDeprecated for qcom,pronto-v1/2-pil
vddcx-supply— required hereDeprecated (
deprecated):trueDeprecated for qcom,pronto-v1/2-pil
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— required hereMinimum number of items (
minItems):2
power-domain-names— required hereMinimum number of items (
minItems):2
vddmx-supply— not listed as required here
false— Not permitted by this property rule.
vddcx-supply— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"power-domains","power-domain-names"
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>
pronto@a21b000 {
compatible = "qcom,pronto-v2-pil", "qcom,pronto";
reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>;
reg-names = "ccu", "dxe", "pmu";
interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
<&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
power-domains = <&rpmpd MSM8916_VDDCX>, <&rpmpd MSM8916_VDDMX>;
power-domain-names = "cx", "mx";
vddpx-supply = <&pm8916_l7>;
qcom,smem-states = <&wcnss_smp2p_out 0>;
qcom,smem-state-names = "stop";
memory-region = <&wcnss_region>;
pinctrl-names = "default";
pinctrl-0 = <&wcnss_pin_a>;
iris {
compatible = "qcom,wcn3620";
vddxo-supply = <&pm8916_l7>;
vddrfa-supply = <&pm8916_s3>;
vddpa-supply = <&pm8916_l9>;
vdddig-supply = <&pm8916_l5>;
clocks = <&rpmcc RPM_SMD_RF_CLK2>;
clock-names = "xo";
};
smd-edge {
interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
qcom,ipc = <&apcs 8 17>;
qcom,smd-edge = <6>;
qcom,remote-pid = <4>;
label = "pronto";
wcnss_ctrl: wcnss {
compatible = "qcom,wcnss";
qcom,smd-channels = "WCNSS_CTRL";
qcom,mmio = <&pronto>;
bluetooth {
compatible = "qcom,wcnss-bt";
};
wifi {
compatible = "qcom,wcnss-wlan";
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
qcom,smem-state-names = "tx-enable", "tx-rings-empty";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 192: CX and MX must be present either as power domains or regulators
Line 194: Both CX and MX represented as power domains
Line 205: CX represented as power domain, MX as regulator
Line 216: Both CX and MX represented as regulators
Renesas R-Car remote processor controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/renesas,rcar-rproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Julien Massot <julien.massot@iot.bzh>"
This document defines the bindings for the remoteproc component that loads and boots firmwares on the Renesas R-Car family chipset. R-Car gen3 family may have a realtime processor, this processor shares peripheral and RAM with the host processor with the same address map.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,rcar-cr7"
resets — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
memory-region — required here #
List of phandles to the reserved memory regions associated with the remoteproc device. This is variable and describes the memories shared with the remote processor (e.g. remoteproc firmware and carveouts, rpmsg vrings, ...). (see reserved-memory/reserved-memory.yaml in dtschema project)
Required in this object (required): "compatible", "resets", "memory-region", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/power/r8a7795-sysc.h>
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
cr7_ram: cr7_ram@40040000 {
no-map;
reg = <0x0 0x40040000 0x0 0x1fc0000>;
};
};
cr7_rproc: cr7 {
compatible = "renesas,rcar-cr7";
memory-region = <&cr7_ram>;
power-domains = <&sysc R8A7795_PD_CR7>;
resets = <&cpg 222>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
STMicroelectronics STM32 remote processor controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/st,stm32-rproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This document defines the binding for the remoteproc component that loads and boots firmwares on the ST32MP family chipset.
Maintainers (maintainers): "Fabien Dessenne <fabien.dessenne@foss.st.com>", "Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32mp1-m4"
reg — required here #
Address ranges of the RETRAM and MCU SRAM memories used by the remote processor.
Maximum number of items (maxItems): 3
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mcu_rst"
Item 2
Exact value (
const):"hold_boot"
Minimum number of items (minItems): 1
st,syscfg-holdboot — not listed as required here #
remote processor reset hold boot
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle of syscon block
Item 2
The offset of the hold boot setting register
Item 3
The field mask of the hold boot
st,syscfg-tz — not listed as required here #
Deprecated (deprecated): true
Reference to the system configuration which holds the RCC trust zone mode
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle of syscon block
Item 2
The offset of the trust zone setting register
Item 3
The field mask of the trust zone state
interrupts — not listed as required here #
Should contain the WWDG1 watchdog reset interrupt
Maximum number of items (maxItems): 1
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
mboxes — not listed as required here #
This property is required only if the rpmsg/virtio functionality is used.
Array item rules (items) #
Item 1
A channel (a) used to communicate through virtqueues with the remote proc. Bi-directional channel: - from local to remote = send message - from remote to local = send message ack
Item 2
A channel (b) working the opposite direction of channel (a)
Item 3
A channel (c) used by the local proc to notify the remote proc that it is about to be shut down. Unidirectional channel: - from local to remote, where ACK from the remote means that it is ready for shutdown
Item 4
A channel (d) used by the local proc to notify the remote proc that it has to stop interprocessor communication. Unidirectional channel: - from local to remote, where ACK from the remote means that communication as been stopped on the remote side.
Minimum number of items (minItems): 1
mbox-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"vq0"
Item 2
Exact value (
const):"vq1"
Item 3
Exact value (
const):"shutdown"
Item 4
Exact value (
const):"detach"
Minimum number of items (minItems): 1
memory-region — not listed as required here #
List of phandles to the reserved memory regions associated with the remoteproc device. This is variable and describes the memories shared with the remote processor (e.g. remoteproc firmware and carveouts, rpmsg vrings, ...). (see ../reserved-memory/reserved-memory.txt)
st,syscfg-pdds — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Reference to the system configuration which holds the remote
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle of syscon block
Item 2
The offset of the power setting register
Item 3
The field mask of the PDDS selection
st,syscfg-m4-state — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Reference to the tamp register which exposes the Cortex-M4 state.
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle of syscon block with the tamp register
Item 2
The offset of the tamp register
Item 3
The field mask of the Cortex-M4 state
st,syscfg-rsc-tbl — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Reference to the tamp register which references the Cortex-M4 resource table address.
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle of syscon block with the tamp register
Item 2
The offset of the tamp register
Item 3
The field mask of the Cortex-M4 resource table address
st,auto-boot — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If defined, when remoteproc is probed, it loads the default firmware and starts the remote processor.
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
Default name of the remote processor firmware.
Required in this object (required): "compatible", "reg", "resets"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
reset-names— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)Exact value (
const):"hold_boot"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
st,syscfg-holdboot— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/reset/stm32mp1-resets.h>
m4@10000000 {
compatible = "st,stm32mp1-m4";
reg = <0x10000000 0x40000>,
<0x30000000 0x40000>,
<0x38000000 0x10000>;
resets = <&rcc MCU_R>;
reset-names = "mcu_rst";
/* Hold boot managed using system config*/
st,syscfg-holdboot = <&rcc 0x10C 0x1>;
st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
};
#include <dt-bindings/reset/stm32mp1-resets.h>
m4@10000000 {
compatible = "st,stm32mp1-m4";
reg = <0x10000000 0x40000>,
<0x30000000 0x40000>,
<0x38000000 0x10000>;
/* Hold boot managed using SCMI reset controller */
resets = <&scmi MCU_R>, <&scmi MCU_HOLD_BOOT_R>;
reset-names = "mcu_rst", "hold_boot";
st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
TI K3 HSM M4F processor subsystems
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ti,hsm-m4fss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Beleswar Padhi <b-padhi@ti.com>"
Some K3 family SoCs have a HSM (High Security Module) M4F core in the Wakeup Voltage Domain which could be used to run secure services like Authentication. Some of those are J721S2, J784S4, J722S, AM62X.
Shared schema rule ($ref): /schemas/arm/keystone/ti,k3-sci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,hsm-m4fss"
reg — required here #
Array item rules (items) #
Item 1
SRAM0_0 internal memory region
Item 2
SRAM0_1 internal memory region
Item 3
SRAM1 internal memory region
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sram0_0"
Item 2
Exact value (
const):"sram0_1"
Item 3
Exact value (
const):"sram1"
resets — required here #
Maximum number of items (maxItems): 1
firmware-name — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "resets", "firmware-name", "ti,sci", "ti,sci-dev-id", "ti,sci-proc-ids"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
remoteproc@43c00000 {
compatible = "ti,hsm-m4fss";
reg = <0x00 0x43c00000 0x00 0x20000>,
<0x00 0x43c20000 0x00 0x10000>,
<0x00 0x43c30000 0x00 0x10000>;
reg-names = "sram0_0", "sram0_1", "sram1";
resets = <&k3_reset 225 1>;
firmware-name = "hsm.bin";
ti,sci = <&sms>;
ti,sci-dev-id = <225>;
ti,sci-proc-ids = <0x80 0xff>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI K3 DSP devices
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Suman Anna <s-anna@ti.com>"
The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems that are used to offload some of the processor-intensive tasks or algorithms, for achieving various system level goals.
These processor sub-systems usually contain additional sub-modules like L1 and/or L2 caches/SRAMs, an Interrupt Controller, an external memory controller, a dedicated local power/sleep controller etc. The DSP processor cores in the K3 SoCs are usually either a TMS320C66x CorePac processor or a TMS320C71x CorePac processor.
Each DSP Core sub-system is represented as a single DT node. Each node has a number of required or optional properties that enable the OS running on the host processor (Arm CorePac) to perform the device management of the remote processor and to communicate with the remote processor.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am62a-c7xv-dsp", "ti,j721e-c66-dsp", "ti,j721e-c71-dsp", "ti,j721s2-c71-dsp"
Use "ti,am62a-c7xv-dsp" for AM62A Deep learning DSPs on K3 AM62A SoCs Use "ti,j721e-c66-dsp" for C66x DSPs on K3 J721E SoCs Use "ti,j721e-c71-dsp" for C71x DSPs on K3 J721E SoCs Use "ti,j721s2-c71-dsp" for C71x DSPs on K3 J721S2 SoCs
resets — required here #
Should contain the phandle to the reset controller node managing the local resets for this device, and a reset specifier.
Maximum number of items (maxItems): 1
firmware-name — required here #
Should contain the name of the default firmware image file located on the firmware search path
mboxes — required here #
OMAP Mailbox specifier denoting the sub-mailbox, to be used for communication with the remote processor. This property should match with the sub-mailbox node used in the firmware image.
Maximum number of items (maxItems): 1
memory-region — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 8
phandle to the reserved memory nodes to be associated with the remoteproc device. There should be at least two reserved memory nodes defined. The reserved memory nodes should be carveout nodes, and should be defined as per the bindings in Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
Array item rules (items) #
Item 1
region used for dynamic DMA allocations like vrings and vring buffers
Item 2
region reserved for firmware image sections
Array items beyond the listed positions (additionalItems) #
true
Allowed by this rule.
sram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
Maximum number of items (
maxItems):1
phandles to one or more reserved on-chip SRAM regions. The regions should be defined as child nodes of the respective SRAM node, and should be defined as per the generic bindings in, Documentation/devicetree/bindings/sram/sram.yaml
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
Address and Size of the L2 SRAM internal memory region
Item 2
Address and Size of the L1 PRAM internal memory region
Item 3
Address and Size of the L1 DRAM internal memory region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"l2sram"Item 2
Exact value (
const):"l1pram"Item 3
Exact value (
const):"l1dram"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"ti,j721e-c71-dsp","ti,j721s2-c71-dsp"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
Address and Size of the L2 SRAM internal memory region
Item 2
Address and Size of the L1 DRAM internal memory region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"l2sram"Item 2
Exact value (
const):"l1dram"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
Address and Size of the L2 SRAM internal memory region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"l2sram"
Rule 4 #
Shared schema rule (
$ref):/schemas/arm/keystone/ti,k3-sci-common.yaml#
Required in this object (required): "compatible", "reg", "reg-names", "ti,sci", "ti,sci-dev-id", "ti,sci-proc-ids", "resets", "firmware-name", "mboxes", "memory-region"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
mailbox0_cluster3: mailbox-0 {
#mbox-cells = <1>;
};
mailbox0_cluster4: mailbox-1 {
#mbox-cells = <1>;
};
bus@100000 {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
<0x00 0x64800000 0x00 0x64800000 0x00 0x00800000>, /* C71_0 */
<0x4d 0x80800000 0x4d 0x80800000 0x00 0x00800000>, /* C66_0 */
<0x4d 0x81800000 0x4d 0x81800000 0x00 0x00800000>; /* C66_1 */
/* J721E C66_0 DSP node */
dsp@4d80800000 {
compatible = "ti,j721e-c66-dsp";
reg = <0x4d 0x80800000 0x00 0x00048000>,
<0x4d 0x80e00000 0x00 0x00008000>,
<0x4d 0x80f00000 0x00 0x00008000>;
reg-names = "l2sram", "l1pram", "l1dram";
ti,sci = <&dmsc>;
ti,sci-dev-id = <142>;
ti,sci-proc-ids = <0x03 0xFF>;
resets = <&k3_reset 142 1>;
firmware-name = "j7-c66_0-fw";
memory-region = <&c66_0_dma_memory_region>,
<&c66_0_memory_region>;
mboxes = <&mailbox0_cluster3 &mbox_c66_0>;
};
/* J721E C71_0 DSP node */
c71_0: dsp@64800000 {
compatible = "ti,j721e-c71-dsp";
reg = <0x00 0x64800000 0x00 0x00080000>,
<0x00 0x64e00000 0x00 0x0000c000>;
reg-names = "l2sram", "l1dram";
ti,sci = <&dmsc>;
ti,sci-dev-id = <15>;
ti,sci-proc-ids = <0x30 0xFF>;
resets = <&k3_reset 15 1>;
firmware-name = "j7-c71_0-fw";
memory-region = <&c71_0_dma_memory_region>,
<&c71_0_memory_region>;
mboxes = <&mailbox0_cluster4 &mbox_c71_0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 74: Optional properties:
Line 75: --------------------
TI K3 M4F processor subsystems
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ti,k3-m4f-rproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hari Nagalla <hnagalla@ti.com>", "Mathieu Poirier <mathieu.poirier@linaro.org>"
Some K3 family SoCs have Arm Cortex M4F cores. AM64x is a SoC in K3 family with a M4F core. Typically safety oriented applications may use the M4F core in isolation without an IPC. Where as some industrial and home automation applications, may use the M4F core as a remote processor with IPC communications.
Shared schema rule ($ref): /schemas/arm/keystone/ti,k3-sci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am64-m4fss"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 2
reg — required here #
Array item rules (items) #
Item 1
IRAM internal memory region
Item 2
DRAM internal memory region
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"iram"
Item 2
Exact value (
const):"dram"
resets — required here #
Maximum number of items (maxItems): 1
firmware-name — required here #
Maximum number of items (maxItems): 1
Name of firmware to load for the M4F core
mboxes — not listed as required here #
OMAP Mailbox specifier denoting the sub-mailbox, to be used for communication with the remote processor. This property should match with the sub-mailbox node used in the firmware image.
Maximum number of items (maxItems): 1
memory-region — not listed as required here #
phandle to the reserved memory nodes to be associated with the remoteproc device. Optional memory regions available for firmware specific purposes. (see reserved-memory/reserved-memory.yaml in dtschema project)
Maximum number of items (maxItems): 8
Array item rules (items) #
Item 1
regions used for DMA allocations like vrings, vring buffers and memory dedicated to firmware's specific purposes.
Array items beyond the listed positions (additionalItems) #
true
Allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names", "ti,sci", "ti,sci-dev-id", "ti,sci-proc-ids", "resets", "firmware-name"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9cb00000 0x00 0x100000>;
no-map;
};
mcu_m4fss_memory_region: m4f-memory@9cc00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9cc00000 0x00 0xe00000>;
no-map;
};
};
soc {
#address-cells = <2>;
#size-cells = <2>;
mailbox0_cluster0: mailbox-0 {
#mbox-cells = <1>;
};
remoteproc@5000000 {
compatible = "ti,am64-m4fss";
reg = <0x00 0x5000000 0x00 0x30000>,
<0x00 0x5040000 0x00 0x10000>;
reg-names = "iram", "dram";
resets = <&k3_reset 9 1>;
firmware-name = "am62-mcu-m4f0_0-fw";
mboxes = <&mailbox0_cluster0>, <&mbox_m4_0>;
memory-region = <&mcu_m4fss_dma_memory_region>,
<&mcu_m4fss_memory_region>;
ti,sci = <&dmsc>;
ti,sci-dev-id = <9>;
ti,sci-proc-ids = <0x18 0xff>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI K3 R5F processor subsystems
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ti,k3-r5f-rproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Suman Anna <s-anna@ti.com>"
The TI K3 family of SoCs usually have one or more dual-core Arm Cortex R5F processor subsystems/clusters (R5FSS). The dual core cluster can be used either in a LockStep mode providing safety/fault tolerance features or in a Split mode providing two individual compute cores for doubling the compute capacity on most SoCs. These are used together with other processors present on the SoC to achieve various system level goals.
AM64x SoCs do not support LockStep mode, but rather a new non-safety mode called "Single-CPU" mode, where only Core0 is used, but with ability to use Core1's TCMs as well.
AM62 SoC family support a single R5F core only which runs Device Manager firmware and can also be used as a remote processor with IPC communication.
Each Dual-Core R5F sub-system is represented as a single DTS node representing the cluster, with a pair of child DT nodes representing the individual R5F cores. Each node has a number of required or optional properties that enable the OS running on the host processor to perform the device management of the remote processor and to communicate with the remote processor.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^r5fss(@.*)?"
compatible — required here #
Allowed values (enum): "ti,am62-r5fss", "ti,am64-r5fss", "ti,am654-r5fss", "ti,j7200-r5fss", "ti,j721e-r5fss", "ti,j721s2-r5fss"
power-domains — required here #
Should contain a phandle to a PM domain provider node and an args specifier containing the R5FSS device id value.
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 1
ranges — required here #
Standard ranges definition providing address translations for local R5F TCM address spaces to bus addresses.
ti,cluster-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Configuration Mode for the Dual R5F cores within the R5F cluster. For most SoCs (AM65x, J721E, J7200, J721s2), It should be either a value of 1 (LockStep mode) or 0 (Split mode) on most SoCs (AM65x, J721E, J7200, J721s2), default is LockStep mode if omitted. For AM64x SoCs, It should be either a value of 0 (Split mode) or 2 (Single-CPU mode) and default is Split mode if omitted. For AM62x SoCs, It should be set as 3 (Single-Core mode) which is also the default if omitted.
Properties matching a name pattern (patternProperties) #
^r5f@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
The R5F Sub-System device node should define two R5F child nodes, each node representing a TI instantiation of the Arm Cortex R5F core. There are some specific integration differences for the IP like the usage of a Region Address Translator (RAT) for translating the larger SoC bus addresses into a 32-bit address space for the processor. For AM62x, the R5F Sub-System device node should only define one R5F child node as it has only one core available.
Each R5F core has an associated 64 KB of Tightly-Coupled Memory (TCM) internal memories split between two banks - TCMA and TCMB (further interleaved into two banks TCMB0 and TCMB1). These memories (also called ATCM and BTCM) provide read/write performance on par with the core's L1 caches. Each of the TCMs can be enabled or disabled independently and either of them can be configured to appear at that R5F's address 0x0.
The cores do not use an MMU, but has a Region Address Translator (RAT) module that is accessible only from the R5Fs for providing translations between 32-bit CPU addresses into larger system bus addresses. Cache and memory access settings are provided through a Memory Protection Unit (MPU), programmable only from the R5Fs.
Shared schema rule ($ref): /schemas/arm/keystone/ti,k3-sci-common.yaml#
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "ti,am62-r5f", "ti,am64-r5f", "ti,am654-r5f", "ti,j7200-r5f", "ti,j721e-r5f", "ti,j721s2-r5f"
reg — required here
Array item rules (items)
Item 1
Address and Size of the ATCM internal memory region
Item 2
Address and Size of the BTCM internal memory region
reg-names — required here
Array item rules (items)
Item 1
Exact value (
const):"atcm"
Item 2
Exact value (
const):"btcm"
resets — required here
Should contain the phandle to the reset controller node managing the local resets for this device, and a reset specifier.
Maximum number of items (maxItems): 1
firmware-name — required here
Should contain the name of the default firmware image file located on the firmware search path
mboxes — not listed as required here
OMAP Mailbox specifier denoting the sub-mailbox, to be used for communication with the remote processor. This property should match with the sub-mailbox node used in the firmware image.
Maximum number of items (maxItems): 1
memory-region — not listed as required here
phandle to the reserved memory nodes to be associated with the remoteproc device. There should be at least two reserved memory nodes defined. The reserved memory nodes should be carveout nodes, and should be defined with a "no-map" property as per the bindings in Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 8
Array item rules (items)
Item 1
region used for dynamic DMA allocations like vrings and vring buffers
Item 2
region reserved for firmware image sections
Array items beyond the listed positions (additionalItems)
true
Allowed by this rule.
ti,atcm-enable — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
R5F core configuration mode dictating if ATCM should be enabled. The R5F address of ATCM is dictated by ti,loczrama property. Should be either a value of 1 (enabled) or 0 (disabled), default is disabled if omitted. Recommended to enable it for maximizing TCMs.
ti,btcm-enable — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
R5F core configuration mode dictating if BTCM should be enabled. The R5F address of BTCM is dictated by ti,loczrama property. Should be either a value of 1 (enabled) or 0 (disabled), default is enabled if omitted.
ti,loczrama — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
R5F core configuration mode dictating which TCM should appear at address 0 (from core's view). Should be either a value of 1 (ATCM at 0x0) or 0 (BTCM at 0x0), default value is 1 if omitted.
sram — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
Maximum number of items (
maxItems):1
phandles to one or more reserved on-chip SRAM regions. The regions should be defined as child nodes of the respective SRAM node, and should be defined as per the generic bindings in, Documentation/devicetree/bindings/sram/sram.yaml
Required in this object (required): "compatible", "reg", "reg-names", "ti,sci", "ti,sci-dev-id", "ti,sci-proc-ids", "resets", "firmware-name"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
ti,cluster-mode— not listed as required here
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"ti,am654-r5fss","ti,j7200-r5fss","ti,j721e-r5fss","ti,j721s2-r5fss"When the condition matches (
then) #Properties and child nodes (
properties)
ti,cluster-mode— not listed as required here
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
ti,cluster-mode— not listed as required here
Required in this object (required): "compatible", "power-domains", "#address-cells", "#size-cells", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
mailbox0: mailbox-0 {
#mbox-cells = <1>;
};
mailbox1: mailbox-1 {
#mbox-cells = <1>;
};
bus@100000 {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
<0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>,
<0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>,
<0x00 0x41c00000 0x00 0x41c00000 0x00 0x00080000>;
bus@28380000 {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS */
<0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */
<0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */
<0x00 0x41c00000 0x00 0x41c00000 0x00 0x00080000>; /* MCU SRAM */
/* AM65x MCU R5FSS node */
mcu_r5fss0: r5fss@41000000 {
compatible = "ti,am654-r5fss";
power-domains = <&k3_pds 129>;
ti,cluster-mode = <1>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x41000000 0x00 0x41000000 0x20000>,
<0x41400000 0x00 0x41400000 0x20000>;
mcu_r5f0: r5f@41000000 {
compatible = "ti,am654-r5f";
reg = <0x41000000 0x00008000>,
<0x41010000 0x00008000>;
reg-names = "atcm", "btcm";
ti,sci = <&dmsc>;
ti,sci-dev-id = <159>;
ti,sci-proc-ids = <0x01 0xFF>;
resets = <&k3_reset 159 1>;
firmware-name = "am65x-mcu-r5f0_0-fw";
ti,atcm-enable = <1>;
ti,btcm-enable = <1>;
ti,loczrama = <1>;
mboxes = <&mailbox0 &mbox_mcu_r5fss0_core0>;
memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
<&mcu_r5fss0_core0_memory_region>;
sram = <&mcu_r5fss0_core0_sram>;
};
mcu_r5f1: r5f@41400000 {
compatible = "ti,am654-r5f";
reg = <0x41400000 0x00008000>,
<0x41410000 0x00008000>;
reg-names = "atcm", "btcm";
ti,sci = <&dmsc>;
ti,sci-dev-id = <245>;
ti,sci-proc-ids = <0x02 0xFF>;
resets = <&k3_reset 245 1>;
firmware-name = "am65x-mcu-r5f0_1-fw";
ti,atcm-enable = <1>;
ti,btcm-enable = <1>;
ti,loczrama = <1>;
mboxes = <&mailbox1 &mbox_mcu_r5fss0_core1>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 64: Optional properties:
Line 65: --------------------
Line 82: R5F Processor Child Nodes:
Line 83: ==========================
Line 143: The following properties are mandatory for R5F Core0 in both LockStep and Split
Line 144: modes, and are mandatory for R5F Core1 _only_ in Split mode. They are unused for
Line 145: R5F Core1 in LockStep mode:
Line 169: Optional properties:
Line 170: --------------------
Line 171: The following properties are optional properties for each of the R5F cores:
OMAP4+ Remoteproc Devices
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ti,omap-remoteproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Suman Anna <s-anna@ti.com>"
The OMAP family of SoCs usually have one or more slave processor sub-systems that are used to offload some of the processor-intensive tasks, or to manage other hardware accelerators, for achieving various system level goals. The processor cores in the sub-system are usually behind an IOMMU, and may contain additional sub-modules like Internal RAM and/or ROMs, L1 and/or L2 caches, an Interrupt Controller, a Cache Controller etc. The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor sub-system. The DSP processor sub-system can contain any of the TI's C64x, C66x or C67x family of DSP cores as the main execution unit. The IPU processor sub-system usually contains either a Dual-Core Cortex-M3 or Dual-Core Cortex-M4 processors. Each remote processor sub-system is represented as a single DT node. Each node has a number of required or optional properties that enable the OS running on the host processor (MPU) to perform the device management of the remote processor and to communicate with the remote processor. The various properties can be classified as constant or variable. The constant properties are dictated by the SoC and does not change from one board to another having the same SoC. Examples of constant properties include 'iommus', 'reg'. The variable properties are dictated by the system integration aspects such as memory on the board, or configuration used within the corresponding firmware image. Examples of variable properties include 'mboxes', 'memory-region', 'timers', 'watchdog-timers' etc.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,omap4-dsp", "ti,omap5-dsp", "ti,dra7-dsp", "ti,omap4-ipu", "ti,omap5-ipu", "ti,dra7-ipu"
iommus — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
phandles to OMAP IOMMU nodes, that need to be programmed for this remote processor to access any external RAM memory or other peripheral device address spaces. This property usually has only a single phandle. Multiple phandles are used only in cases where the sub-system has different ports for different sub-modules within the processor sub-system (eg: DRA7 DSPs), and need the same programming in both the MMUs.
mboxes — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
OMAP Mailbox specifier denoting the sub-mailbox, to be used for communication with the remote processor. The specifier format is as per the bindings, Documentation/devicetree/bindings/mailbox/ti,omap-mailbox.yaml This property should match with the sub-mailbox node used in the firmware image.
clocks — required here #
Maximum number of items (maxItems): 1
Main functional clock for the remote processor
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Reset handles for the remote processor
firmware-name — required here #
Default name of the firmware to load to the remote processor.
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
phandle to the reserved memory node to be associated with the remoteproc device. The reserved memory node can be a CMA memory node, and should be defined as per the bindings, Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
reg — not listed as required here #
Address space for any remoteproc memories present on the SoC. Should contain an entry for each value in 'reg-names'. These are mandatory for all DSP and IPU processors that have them (OMAP4/OMAP5 DSPs do not have any RAMs)
reg-names — not listed as required here #
Required names for each of the address spaces defined in the 'reg' property. Expects the names from the following list, in the specified order, each representing the corresponding internal RAM memory region.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"l2ram"
Item 2
Exact value (
const):"l1pram"
Item 3
Exact value (
const):"l1dram"
ti,bootreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to the System Control Configuration region
Item 2
register offset of the boot address register
Item 3
the bit shift within the register
This property is required for all the DSP instances on OMAP4, OMAP5 and DRA7xx SoCs.
ti,autosuspend-delay-ms — not listed as required here #
Custom autosuspend delay for the remoteproc in milliseconds. Recommended values is preferable to be in the order of couple of seconds. A negative value can also be used to disable the autosuspend behavior.
ti,timers — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Maximum number of items (
maxItems):1
One or more phandles to OMAP DMTimer nodes, that serve as System/Tick timers for the OS running on the remote processors. This will usually be a single timer if the processor sub-system is running in SMP mode, or one per core in the processor sub-system. This can also be used to reserve specific timers to be dedicated to the remote processors.
This property is mandatory on remote processors requiring external tick wakeup, and to support Power Management features. The timers to be used should match with the timers used in the firmware image.
ti,watchdog-timers — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Maximum number of items (
maxItems):1
One or more phandles to OMAP DMTimer nodes, used to serve as Watchdog timers for the processor cores. This will usually be one per executing processor core, even if the processor sub-system is running a SMP OS.
The timers to be used should match with the watchdog timers used in the firmware image.
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #
When the condition matches (then) #
Properties and child nodes (
properties) #
reg— required here #Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Required in this object (
required):"reg","reg-names","ti,bootreg"
When the condition does not match (else) #
Condition (
if) #Properties and child nodes (
properties) #
compatible— not listed as required hereAllowed values (
enum):"ti,omap4-ipu","ti,omap5-ipu","ti,dra7-ipu"When the condition matches (
then) #Properties and child nodes (
properties) #
reg— required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):1
ti,bootreg— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties) #
reg— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "iommus", "mboxes", "clocks", "resets", "firmware-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
//Example 1: OMAP4 DSP
/* DSP Reserved Memory node */
#include <dt-bindings/clock/omap4.h>
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
dsp_memory_region: dsp-memory@98000000 {
compatible = "shared-dma-pool";
reg = <0x98000000 0x800000>;
reusable;
};
};
/* DSP node */
ocp {
dsp: dsp {
compatible = "ti,omap4-dsp";
ti,bootreg = <&scm_conf 0x304 0>;
iommus = <&mmu_dsp>;
mboxes = <&mailbox &mbox_dsp>;
memory-region = <&dsp_memory_region>;
ti,timers = <&timer5>;
ti,watchdog-timers = <&timer6>;
clocks = <&tesla_clkctrl OMAP4_DSP_CLKCTRL 0>;
resets = <&prm_tesla 0>, <&prm_tesla 1>;
firmware-name = "omap4-dsp-fw.xe64T";
};
};
//Example 2: OMAP5 IPU
/* IPU Reserved Memory node */
#include <dt-bindings/clock/omap5.h>
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ipu_memory_region: ipu-memory@95800000 {
compatible = "shared-dma-pool";
reg = <0 0x95800000 0 0x3800000>;
reusable;
};
};
/* IPU node */
ocp {
#address-cells = <1>;
#size-cells = <1>;
ipu: ipu@55020000 {
compatible = "ti,omap5-ipu";
reg = <0x55020000 0x10000>;
reg-names = "l2ram";
iommus = <&mmu_ipu>;
mboxes = <&mailbox &mbox_ipu>;
memory-region = <&ipu_memory_region>;
ti,timers = <&timer3>, <&timer4>;
ti,watchdog-timers = <&timer9>, <&timer11>;
clocks = <&ipu_clkctrl OMAP5_MMU_IPU_CLKCTRL 0>;
resets = <&prm_core 2>;
firmware-name = "omap5-ipu-fw.xem4";
};
};
//Example 3: DRA7xx/AM57xx DSP
/* DSP1 Reserved Memory node */
#include <dt-bindings/clock/dra7.h>
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
dsp1_memory_region: dsp1-memory@99000000 {
compatible = "shared-dma-pool";
reg = <0x0 0x99000000 0x0 0x4000000>;
reusable;
};
};
/* DSP1 node */
ocp {
#address-cells = <1>;
#size-cells = <1>;
dsp1: dsp@40800000 {
compatible = "ti,dra7-dsp";
reg = <0x40800000 0x48000>,
<0x40e00000 0x8000>,
<0x40f00000 0x8000>;
reg-names = "l2ram", "l1pram", "l1dram";
ti,bootreg = <&scm_conf 0x55c 0>;
iommus = <&mmu0_dsp1>, <&mmu1_dsp1>;
mboxes = <&mailbox5 &mbox_dsp1_ipc3x>;
memory-region = <&dsp1_memory_region>;
ti,timers = <&timer5>;
ti,watchdog-timers = <&timer10>;
resets = <&prm_dsp1 0>;
clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
firmware-name = "dra7-dsp1-fw.xe66";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 87: Optional properties:
Line 88: --------------------
Line 89: Some of these properties are mandatory on some SoCs, and some are optional
Line 90: depending on the configuration of the firmware image to be executed on the
Line 91: remote processor. The conditions are mentioned for each property.
Line 92:
Line 93: The following are the optional properties:
TI PRU Consumer Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ti,pru-consumer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Suman Anna <s-anna@ti.com>"
A PRU application/consumer/user node typically uses one or more PRU device nodes to implement a PRU application/functionality. Each application/client node would need a reference to at least a PRU node, and optionally define some properties needed for hardware/firmware configuration. The below properties are a list of common properties supported by the PRU remoteproc infrastructure.
The application nodes shall define their own bindings like regular platform devices, so below are in addition to each node's bindings.
Properties and child nodes (properties) #
ti,prus — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
phandles to the PRU, RTU or Tx_PRU nodes used
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
Array item rules (items) #
Maximum number of items (
maxItems):1
firmware-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
firmwares for the PRU cores, the default firmware for the core from the PRU node will be used if not provided. The firmware names should correspond to the PRU cores listed in the 'ti,prus' property
ti,pruss-gp-mux-sel — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
Array item rules (items) #
array of values for the GP_MUX_SEL under PRUSS_GPCFG register for a PRU. This selects the internal muxing scheme for the PRU instance. Values should correspond to the PRU cores listed in the 'ti,prus' property. The GP_MUX_SEL setting is a per-slice setting (one setting for PRU0, RTU0, and Tx_PRU0 on K3 SoCs). Use the same value for all cores within the same slice in the associative array. If the array size is smaller than the size of 'ti,prus' property, the default out-of-reset value (0) for the PRU core is used.
Required in this object (required): "ti,prus"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI Programmable Realtime Unit (PRU) cores
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ti,pru-rproc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Suman Anna <s-anna@ti.com>"
Each Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS or PRUSS) has two 32-bit load/store RISC CPU cores called Programmable Real-Time Units (PRUs), each represented by a node. Each PRU core has a dedicated Instruction RAM, Control and Debug register sets, and use the Data RAMs present within the PRU-ICSS for code execution.
The K3 SoCs containing ICSSG v1.0 (eg: AM65x SR1.0) also have two Auxiliary PRU cores called RTUs with slightly different IP integration. The K3 SoCs containing the revised ICSSG v1.1 (eg: J721E, AM65x SR2.0) have an extra two auxiliary Transmit PRU cores called Tx_PRUs that augment the PRUs. Each RTU or Tx_PRU core can also be used independently like a PRU, or alongside a corresponding PRU core to provide/implement auxiliary functionality/support.
Each PRU, RTU or Tx_PRU core node should be defined as a child node of the corresponding PRU-ICSS node. Each node can optionally be rendered inactive by using the standard DT string property, "status".
Please see the overall PRU-ICSS bindings document for additional details
including a complete example,
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am3356-pru", "ti,am4376-pru", "ti,am5728-pru", "ti,am625-pru", "ti,am642-pru", "ti,am642-rtu", "ti,am642-tx-pru", "ti,am654-pru", "ti,am654-rtu", "ti,am654-tx-pru", "ti,j721e-pru", "ti,j721e-rtu", "ti,j721e-tx-pru", "ti,k2g-pru"
reg — required here #
Array item rules (items) #
Item 1
Address and Size of the PRU Instruction RAM
Item 2
Address and Size of the PRU CTRL sub-module registers
Item 3
Address and Size of the PRU Debug sub-module registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"iram"
Item 2
Exact value (
const):"control"
Item 3
Exact value (
const):"debug"
firmware-name — required here #
Should contain the name of the default firmware image file located on the firmware search path.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Interrupt specifiers enable the virtio/rpmsg communication between MPU and the PRU/RTU cores. For the values of the interrupt cells please refer to interrupt-controller/ti,pruss-intc.yaml schema.
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"vring"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Allowed values (
enum):"ti,am654-rtu","ti,j721e-rtu","ti,am642-rtu"
When the condition matches (then) #
Properties and child nodes (
properties) #
$nodename— not listed as required here #String pattern (
pattern):"^rtu@[0-9a-f]+$"
When the condition does not match (else) #
Condition (
if) #Properties and child nodes (
properties) #
compatible— not listed as required hereAllowed values (
enum):"ti,am654-tx-pru","ti,j721e-tx-pru","ti,am642-tx-pru"When the condition matches (
then) #Properties and child nodes (
properties) #
$nodename— not listed as required hereString pattern (
pattern):"^txpru@[0-9a-f]+"When the condition does not match (
else) #Properties and child nodes (
properties) #
$nodename— not listed as required hereString pattern (
pattern):"^pru@[0-9a-f]+$"
Required in this object (required): "compatible", "reg", "reg-names", "firmware-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
/* AM33xx PRU-ICSS */
pruss_tm: target-module@300000 { /* 0x4a300000, ap 9 04.0 */
compatible = "ti,sysc-pruss", "ti,sysc";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x300000 0x80000>;
pruss: pruss@0 {
compatible = "ti,am3356-pruss";
reg = <0x0 0x80000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
pruss_mem: memories@0 {
reg = <0x0 0x2000>,
<0x2000 0x2000>,
<0x10000 0x3000>;
reg-names = "dram0", "dram1", "shrdram2";
};
pru0: pru@34000 {
compatible = "ti,am3356-pru";
reg = <0x34000 0x2000>,
<0x22000 0x400>,
<0x22400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am335x-pru0-fw";
};
pru1: pru@38000 {
compatible = "ti,am3356-pru";
reg = <0x38000 0x2000>,
<0x24000 0x400>,
<0x24400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am335x-pru1-fw";
};
};
};
/* AM65x SR2.0 ICSSG */
#include <dt-bindings/soc/ti,sci_pm_domain.h>
icssg0: icssg@b000000 {
compatible = "ti,am654-icssg";
reg = <0xb000000 0x80000>;
power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0xb000000 0x80000>;
icssg0_mem: memories@0 {
reg = <0x0 0x2000>,
<0x2000 0x2000>,
<0x10000 0x10000>;
reg-names = "dram0", "dram1", "shrdram2";
};
pru0_0: pru@34000 {
compatible = "ti,am654-pru";
reg = <0x34000 0x4000>,
<0x22000 0x100>,
<0x22400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-pru0_0-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <16 2 2>;
interrupt-names = "vring";
};
rtu0_0: rtu@4000 {
compatible = "ti,am654-rtu";
reg = <0x4000 0x2000>,
<0x23000 0x100>,
<0x23400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-rtu0_0-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <20 4 4>;
interrupt-names = "vring";
};
tx_pru0_0: txpru@a000 {
compatible = "ti,am654-tx-pru";
reg = <0xa000 0x1800>,
<0x25000 0x100>,
<0x25400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-txpru0_0-fw";
};
pru0_1: pru@38000 {
compatible = "ti,am654-pru";
reg = <0x38000 0x4000>,
<0x24000 0x100>,
<0x24400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-pru0_1-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <18 3 3>;
interrupt-names = "vring";
};
rtu0_1: rtu@6000 {
compatible = "ti,am654-rtu";
reg = <0x6000 0x2000>,
<0x23800 0x100>,
<0x23c00 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-rtu0_1-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <22 5 5>;
interrupt-names = "vring";
};
tx_pru0_1: txpru@c000 {
compatible = "ti,am654-tx-pru";
reg = <0xc000 0x1800>,
<0x25800 0x100>,
<0x25c00 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-txpru0_1-fw";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 37: for AM335x SoC family (AM3356+ SoCs only)
Line 38: for AM437x SoC family (AM4376+ SoCs only)
Line 39: for AM57xx SoC family
Line 40: for PRUs in K3 AM62x SoC family
Line 41: for PRUs in K3 AM64x SoC family
Line 42: for RTUs in K3 AM64x SoC family
Line 43: for Tx_PRUs in K3 AM64x SoC family
Line 44: for PRUs in K3 AM65x SoC family
Line 45: for RTUs in K3 AM65x SoC family
Line 46: for Tx_PRUs in K3 AM65x SR2.0 SoCs
Line 47: for PRUs in K3 J721E SoC family
Line 48: for RTUs in K3 J721E SoC family
Line 49: for Tx_PRUs in K3 J721E SoC family
Line 50: for 66AK2G SoC family
Xilinx R5F processor subsystem
Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings
Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/xlnx,zynqmp-r5fss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ben Levinsky <ben.levinsky@amd.com>", "Tanmay Shah <tanmay.shah@amd.com>"
The Xilinx platforms include a pair of Cortex-R5F processors (RPU) for real-time processing based on the Cortex-R5F processor core from ARM. The Cortex-R5F processor implements the Arm v7-R architecture and includes a floating-point unit that implements the Arm VFPv3 instruction set.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "xlnx,zynqmp-r5fss", "xlnx,versal-r5fss", "xlnx,versal-net-r52fss"
#address-cells — required here #
Exact value (const): 2
#size-cells — required here #
Exact value (const): 2
ranges — required here #
Standard ranges definition providing address translations for local R5F TCM address spaces to bus addresses.
xlnx,cluster-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
Default value (default): 1
The RPU MPCore can operate in split mode (Dual-processor performance), Safety lock-step mode(Both RPU cores execute the same code in lock-step, clock-for-clock) or Single CPU mode (RPU core 0 is held in reset while core 1 runs normally). The processor does not support dynamic configuration. Switching between modes is only permitted immediately after a processor reset. If set to 1 then lockstep mode and if 0 then split mode. If set to 2 then single CPU mode. When not defined, default will be lockstep mode. In summary, 0: split mode 1: lockstep mode (default) 2: single cpu mode
xlnx,tcm-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Configure RPU TCM 0: split mode 1: lockstep mode
Properties matching a name pattern (patternProperties) #
^r(.*)@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
The RPU is located in the Low Power Domain of the Processor Subsystem. Each processor includes separate L1 instruction and data caches and tightly coupled memories (TCM). System memory is cacheable, but the TCM memory space is non-cacheable.
Each RPU contains one 64KB memory and two 32KB memories that are accessed via the TCM A and B port interfaces, for a total of 128KB per processor. In lock-step mode, the processor has access to 256KB of TCM memory.
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "xlnx,zynqmp-r5f", "xlnx,versal-r5f", "xlnx,versal-net-r52f"
reg — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
reg-names — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
power-domains — required here
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 5
mboxes — not listed as required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
mailbox channel to send data to RPU
Item 2
mailbox channel to receive data from RPU
mbox-names — not listed as required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
sram — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Array item rules (items)
Maximum number of items (
maxItems):1
phandles to one or more reserved on-chip SRAM regions. Other than TCM, the RPU can execute instructions and access data from the OCM memory, the main DDR memory, and other system memories.
The regions should be defined as child nodes of the respective SRAM node, and should be defined as per the generic bindings in Documentation/devicetree/bindings/sram/sram.yaml
memory-region — not listed as required here
List of phandles to the reserved memory regions associated with the remoteproc device. This is variable and describes the memories shared with the remote processor (e.g. remoteproc firmware and carveouts, rpmsg vrings, ...). This reserved memory region will be allocated in DDR memory.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Array item rules (items)
Item 1
region used for RPU firmware image section
Item 2
vdev buffer
Item 3
vring0
Item 4
vring1
Array items beyond the listed positions (additionalItems)
true
Allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names", "power-domains"
Required in this object (required): "compatible", "#address-cells", "#size-cells", "ranges"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
xlnx,tcm-mode— not listed as required here
false— Not permitted by this property rule.Properties matching a name pattern (
patternProperties)
^r52f@[0-9a-f]+$— name matches this regular expressionValue type (
type):"object"Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
ATCM internal memory
Item 2
BTCM internal memory
Item 3
CTCM internal memory
reg-names— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"atcm0"Item 2
Exact value (
const):"btcm0"Item 3
Exact value (
const):"ctcm0"
power-domains— not listed as required hereMinimum number of items (
minItems):2Array item rules (
items)Item 1
RPU core power domain
Item 2
ATCM power domain
Item 3
BTCM power domain
Item 4
CTCM power domain
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"xlnx,zynqmp-r5fss","xlnx,versal-r5fss"When the condition matches (
then) #Condition (
if)Properties and child nodes (
properties)
xlnx,cluster-mode— not listed as required hereWhen the condition matches (
then)Properties and child nodes (
properties)
xlnx,tcm-mode— required hereProperties matching a name pattern (
patternProperties)
^r5f@[0-9a-f]+$— name matches this regular expressionValue type (
type):"object"Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
ATCM internal memory
Item 2
BTCM internal memory
Item 3
extra ATCM memory in lockstep mode
Item 4
extra BTCM memory in lockstep mode
reg-names— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"atcm0"Item 2
Exact value (
const):"btcm0"Item 3
Exact value (
const):"atcm1"Item 4
Exact value (
const):"btcm1"
power-domains— not listed as required hereMinimum number of items (
minItems):2Array item rules (
items)Item 1
RPU core power domain
Item 2
ATCM power domain
Item 3
BTCM power domain
Item 4
second ATCM power domain
Item 5
second BTCM power domain
When the condition does not match (
else)Properties and child nodes (
properties)
xlnx,tcm-mode— required hereProperties matching a name pattern (
patternProperties)
^r5f@[0-9a-f]+$— name matches this regular expressionValue type (
type):"object"Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
ATCM internal memory
Item 2
BTCM internal memory
reg-names— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"atcm0"Item 2
Exact value (
const):"btcm0"
power-domains— not listed as required hereMinimum number of items (
minItems):2Array item rules (
items)Item 1
RPU core power domain
Item 2
ATCM power domain
Item 3
BTCM power domain
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/power/xlnx-zynqmp-power.h>
// Split mode configuration
soc {
#address-cells = <2>;
#size-cells = <2>;
remoteproc@ffe00000 {
compatible = "xlnx,zynqmp-r5fss";
xlnx,cluster-mode = <0>;
xlnx,tcm-mode = <0>;
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x10000>,
<0x0 0x20000 0x0 0xffe20000 0x0 0x10000>,
<0x1 0x0 0x0 0xffe90000 0x0 0x10000>,
<0x1 0x20000 0x0 0xffeb0000 0x0 0x10000>;
r5f@0 {
compatible = "xlnx,zynqmp-r5f";
reg = <0x0 0x0 0x0 0x10000>, <0x0 0x20000 0x0 0x10000>;
reg-names = "atcm0", "btcm0";
power-domains = <&zynqmp_firmware PD_RPU_0>,
<&zynqmp_firmware PD_R5_0_ATCM>,
<&zynqmp_firmware PD_R5_0_BTCM>;
memory-region = <&rproc_0_fw_image>, <&rpu0vdev0buffer>,
<&rpu0vdev0vring0>, <&rpu0vdev0vring1>;
mboxes = <&ipi_mailbox_rpu0 0>, <&ipi_mailbox_rpu0 1>;
mbox-names = "tx", "rx";
};
r5f@1 {
compatible = "xlnx,zynqmp-r5f";
reg = <0x1 0x0 0x0 0x10000>, <0x1 0x20000 0x0 0x10000>;
reg-names = "atcm0", "btcm0";
power-domains = <&zynqmp_firmware PD_RPU_1>,
<&zynqmp_firmware PD_R5_1_ATCM>,
<&zynqmp_firmware PD_R5_1_BTCM>;
memory-region = <&rproc_1_fw_image>, <&rpu1vdev0buffer>,
<&rpu1vdev0vring0>, <&rpu1vdev0vring1>;
mboxes = <&ipi_mailbox_rpu1 0>, <&ipi_mailbox_rpu1 1>;
mbox-names = "tx", "rx";
};
};
};
//Lockstep configuration
soc {
#address-cells = <2>;
#size-cells = <2>;
remoteproc@ffe00000 {
compatible = "xlnx,zynqmp-r5fss";
xlnx,cluster-mode = <1>;
xlnx,tcm-mode = <1>;
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x10000>,
<0x0 0x20000 0x0 0xffe20000 0x0 0x10000>,
<0x0 0x10000 0x0 0xffe10000 0x0 0x10000>,
<0x0 0x30000 0x0 0xffe30000 0x0 0x10000>;
r5f@0 {
compatible = "xlnx,zynqmp-r5f";
reg = <0x0 0x0 0x0 0x10000>,
<0x0 0x20000 0x0 0x10000>,
<0x0 0x10000 0x0 0x10000>,
<0x0 0x30000 0x0 0x10000>;
reg-names = "atcm0", "btcm0", "atcm1", "btcm1";
power-domains = <&zynqmp_firmware PD_RPU_0>,
<&zynqmp_firmware PD_R5_0_ATCM>,
<&zynqmp_firmware PD_R5_0_BTCM>,
<&zynqmp_firmware PD_R5_1_ATCM>,
<&zynqmp_firmware PD_R5_1_BTCM>;
memory-region = <&rproc_0_fw_image>, <&rpu0vdev0buffer>,
<&rpu0vdev0vring0>, <&rpu0vdev0vring1>;
mboxes = <&ipi_mailbox_rpu0 0>, <&ipi_mailbox_rpu0 1>;
mbox-names = "tx", "rx";
};
r5f@1 {
compatible = "xlnx,zynqmp-r5f";
reg = <0x1 0x0 0x0 0x10000>, <0x1 0x20000 0x0 0x10000>;
reg-names = "atcm0", "btcm0";
power-domains = <&zynqmp_firmware PD_RPU_1>,
<&zynqmp_firmware PD_R5_1_ATCM>,
<&zynqmp_firmware PD_R5_1_BTCM>;
memory-region = <&rproc_1_fw_image>, <&rpu1vdev0buffer>,
<&rpu1vdev0vring0>, <&rpu1vdev0vring1>;
mboxes = <&ipi_mailbox_rpu1 0>, <&ipi_mailbox_rpu1 1>;
mbox-names = "tx", "rx";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)