Based on kernel version 6.14
. Page generated on 2025-04-02 08:20 EST
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/mailbox/microchip,sbi-ipc.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Microchip Inter-processor communication (IPC) mailbox controller maintainers: - Valentina Fernandez <valentina.fernandezalanis@microchip.com> description: The Microchip Inter-processor Communication (IPC) facilitates message passing between processors using an interrupt signaling mechanism. properties: compatible: oneOf: - description: Intended for use by software running in supervisor privileged mode (s-mode). This SBI interface is compatible with the Mi-V Inter-hart Communication (IHC) IP. const: microchip,sbi-ipc - description: Intended for use by the SBI implementation in machine mode (m-mode), this compatible string is for the MIV_IHC Soft-IP. const: microchip,miv-ihc-rtl-v2 reg: maxItems: 1 interrupts: minItems: 1 maxItems: 5 interrupt-names: minItems: 1 maxItems: 5 items: enum: - hart-0 - hart-1 - hart-2 - hart-3 - hart-4 - hart-5 "#mbox-cells": description: > For "microchip,sbi-ipc", the cell represents the global "logical" channel IDs. The meaning of channel IDs are platform firmware dependent. For "microchip,miv-ihc-rtl-v2", the cell represents the physical channel and does not vary based on the platform firmware. const: 1 microchip,ihc-chan-disabled-mask: description: > Represents the enable/disable state of the bi-directional IHC channels within the MIV-IHC IP configuration. A bit set to '1' indicates that the corresponding channel is disabled, and any read or write operations to that channel will return zero. A bit set to '0' indicates that the corresponding channel is enabled and will be accessible through its dedicated address range registers. The actual enable/disable state of each channel is determined by the IP block’s configuration. $ref: /schemas/types.yaml#/definitions/uint16 maximum: 0x7fff default: 0 required: - compatible - interrupts - interrupt-names - "#mbox-cells" allOf: - if: properties: compatible: contains: const: microchip,sbi-ipc then: properties: reg: not: {} description: The 'microchip,sbi-ipc' operates in a programming model that does not require memory-mapped I/O (MMIO) registers since it uses SBI ecalls provided by the m-mode/firmware SBI implementation to access hardware registers. microchip,ihc-chan-disabled-mask: false else: required: - reg - microchip,ihc-chan-disabled-mask additionalProperties: false examples: - | mailbox { compatible = "microchip,sbi-ipc"; interrupt-parent = <&plic>; interrupts = <180>, <179>, <178>; interrupt-names = "hart-1", "hart-2", "hart-3"; #mbox-cells = <1>; }; - | mailbox@50000000 { compatible = "microchip,miv-ihc-rtl-v2"; microchip,ihc-chan-disabled-mask = /bits/ 16 <0>; reg = <0x50000000 0x1c000>; interrupt-parent = <&plic>; interrupts = <180>, <179>, <178>; interrupt-names = "hart-1", "hart-2", "hart-3"; #mbox-cells = <1>; }; |