blob: 900326f726c85a20c026e059545400ff4739cd50 [file] [log] [blame]
Kristofer Jonsson116a6352020-08-20 17:25:23 +02001/*
2 * (C) COPYRIGHT 2020 ARM Limited. All rights reserved.
3 *
4 * This program is free software and is provided to you under the terms of the
5 * GNU General Public License version 2 as published by the Free Software
6 * Foundation, and any use by you of this program is subject to the terms
7 * of such GNU licence.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, you can access it online at
16 * http://www.gnu.org/licenses/gpl-2.0.html.
17 *
18 * SPDX-License-Identifier: GPL-2.0-only
19 */
20
21 /* Example for mailbox driver dts entries */
22
23/{
24 ethosu_mailbox: mhu@6ca00000 {
25 compatible = "arm,mini_mhu", "arm,primecell";
26 reg = <0x0 0x6ca00000 0x0 0x1000>;
27 interrupts = <0 168 4>;
28 interrupt-names = "mhu_npu_rx";
29 #mbox-cells = <1>;
30 clocks = <&soc_refclk100mhz>;
31 clock-names = "apb_pclk";
32 };
33
34 mailbox_test {
35 compatible = "mailbox-test";
36 reg = <0x0 0x84000000 0x0 0x10000>, <0x0 0x84010000 0x0 0x10000>;
37 mboxes = <&ethosu_mailbox 0>, <&ethosu_mailbox 0>;
38 mbox-names = "tx", "rx";
39 };
40};