# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/mailbox/axiado,ax3005-mailbox.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Axiado AX3005 Mailbox Controller maintainers: - Krishnakumar Kesavan - Prasad Bolisetty - Swark Yang description: The Axiado mailbox controller provides inter-processor communication channels between subsystems within the Axiado SoC. The hardware has separate TX and RX register regions. Only the RX channels (channels 8-15) generate interrupts; TX channels are purely poll/write-based. properties: compatible: const: axiado,ax3005-mailbox reg: items: - description: TX mailbox register region - description: RX mailbox register region reg-names: items: - const: tx - const: rx interrupts: description: One interrupt per RX channel. The hardware exposes eight RX interrupt lines corresponding to channels 8 through 15. maxItems: 8 interrupt-names: description: Named interrupt lines for each RX channel, from ch8 to ch15. items: - const: ch8 - const: ch9 - const: ch10 - const: ch11 - const: ch12 - const: ch13 - const: ch14 - const: ch15 "#mbox-cells": description: Number of cells in a mailbox specifier. A single cell encodes the channel index as seen by the client. const: 1 required: - compatible - reg - reg-names - interrupts - interrupt-names - "#mbox-cells" additionalProperties: false examples: - | #include soc { #address-cells = <2>; #size-cells = <2>; mailbox@330f2000 { compatible = "axiado,ax3005-mailbox"; reg = <0x0 0x330f2000 0x0 0x2000>, <0x0 0x331b0000 0x0 0x1000>; reg-names = "tx", "rx"; /* Only RX channels (8-15) have IRQs */ interrupts = , , , , , , , ; interrupt-names = "ch8", "ch9", "ch10", "ch11", "ch12", "ch13", "ch14", "ch15"; interrupt-parent = <&gic500>; #mbox-cells = <1>; }; };