dts: mbox: add PolarFire SoC mailbox interface

Add Microchip's PolarFire SoC mailbox node.

Signed-off-by: Harshit Agarwal <harshit.agarwal@microchip.com>
This commit is contained in:
Harshit Agarwal 2024-01-25 08:08:16 +05:30 committed by Chris Friedt
parent ccb2a0df04
commit f4a8ec3f93
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,45 @@
#
# Copyright (c) 2024 Microchip Technology Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
include: [base.yaml, mailbox-controller.yaml]
properties:
compatible:
const: microchip,mpfs-mailbox
reg:
- items:
- description: mailbox control registers
- description: mailbox interrupt registers
- description: mailbox data registers
interrupts:
maxItems: 1
"#mbox-cells":
const: 1
required:
- compatible
- reg
- interrupts
- "#mbox-cells"
additionalProperties: false
examples:
- |
soc {
#address-cells = <2>;
#size-cells = <2>;
mbox: mailbox@37020000 {
compatible = "microchip,mpfs-mailbox";
reg = <0x37020000 0x58>, <0x2000318C 0x40>,
<0x37020800 0x100>;
interrupt-parent = <&L1>;
interrupts = <96>;
#mbox-cells = <1>;
};
};

View file

@ -129,6 +129,16 @@
riscv,ndev = <186>;
};
mbox: mailbox@37020000 {
compatible = "microchip,mpfs-mailbox";
reg = <0x37020000 0x58>, <0x2000318C 0x40>,
<0x37020800 0x100>;
interrupt-parent = <&plic>;
interrupts = <96 1>;
#mbox-cells = <1>;
status = "disabled";
};
uart0: uart@20000000 {
compatible = "ns16550";
reg = <0x20000000 0x1000>;