STMicroelectronics STM32 IPC controller

Schema identifier ($id): "http://devicetree.org/schemas/mailbox/st,stm32-ipcc.yaml#"

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

The IPCC block provides a non blocking signaling mechanism to post and retrieve messages in an atomic way between two processors. It provides the signaling for N bidirectionnal channels. The number of channels (N) can be read from a dedicated register.

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-ipcc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

rx channel occupied

Item 2

tx channel free

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

#mbox-cells — required here #

Exact value (const): 1

st,proc-id — required here #

Processor id using the mailbox (0 or 1)

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Required in this object (required): "compatible", "reg", "st,proc-id", "clocks", "interrupt-names", "#mbox-cells", "interrupts"

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/stm32mp1-clks.h>
ipcc: mailbox@4c001000 {
  compatible = "st,stm32mp1-ipcc";
  #mbox-cells = <1>;
  reg = <0x4c001000 0x400>;
  st,proc-id = <0>;
  interrupts-extended = <&exti 61 1>,
                        <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
  interrupt-names = "rx", "tx";
  clocks = <&rcc_clk IPCC>;
  wakeup-source;
};

Source notes #

Annotations retained from the schema source

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

Edit this page