aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Åstrand <per.astrand@arm.com>2020-10-20 10:26:17 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2020-10-20 13:41:59 +0000
commitf8ae5e1f5ca090b37a701f9dd75ee57106d30dc8 (patch)
treed5181ca6cb84061a32d52e1d20ea24a9db9d1d01
parentb25695a00f3536d38c5ca24b406ec4d2e6d5b563 (diff)
downloadethos-u-linux-driver-stack-f8ae5e1f5ca090b37a701f9dd75ee57106d30dc8.tar.gz
Update example mailbox.dtsi for MHUv220.11-rc1
Change-Id: I1cfc62ad9a2d24f9b354ca9b7b97b4e65a1f9d34
-rw-r--r--mailbox/mailbox.dtsi52
1 files changed, 35 insertions, 17 deletions
diff --git a/mailbox/mailbox.dtsi b/mailbox/mailbox.dtsi
index 900326f..7774abf 100644
--- a/mailbox/mailbox.dtsi
+++ b/mailbox/mailbox.dtsi
@@ -1,5 +1,5 @@
/*
- * (C) COPYRIGHT 2020 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2020 Arm Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -17,24 +17,42 @@
*
* SPDX-License-Identifier: GPL-2.0-only
*/
-
- /* Example for mailbox driver dts entries */
+
+ /* Example for mailbox driver dts entries for mhuv2 */
/{
- ethosu_mailbox: mhu@6ca00000 {
- compatible = "arm,mini_mhu", "arm,primecell";
- reg = <0x0 0x6ca00000 0x0 0x1000>;
- interrupts = <0 168 4>;
- interrupt-names = "mhu_npu_rx";
- #mbox-cells = <1>;
- clocks = <&soc_refclk100mhz>;
- clock-names = "apb_pclk";
+ npu_mhuv2_0: mhuv2@50040000 {
+ compatible = "arm,primecell";
+ reg = <0x0 0x50040000 0x0 0x1000>,
+ <0x0 0x50050000 0x0 0x1000>;
+ clocks = <&clk_apb>;
+ clock-names = "apb_pclk";
+ #mbox-cells = <2>;
+ interrupts = <0 195 4>;
+ interrupt-names = "mhu_rx";
};
- mailbox_test {
- compatible = "mailbox-test";
- reg = <0x0 0x84000000 0x0 0x10000>, <0x0 0x84010000 0x0 0x10000>;
- mboxes = <&ethosu_mailbox 0>, <&ethosu_mailbox 0>;
- mbox-names = "tx", "rx";
- };
+ ethosu@0x50000000 {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ #interrupt-cells = <3>;
+ compatible = "arm,ethosu";
+ reg = <0 0x84000000 0 0x00010000>,
+ <0 0x84010000 0 0x00010000>,
+ <0 0x84020000 0 0x00010000>;
+ reg-names = "in_queue", "out_queue", "print_queue";
+ memory-region = <&ethosu_reserved>;
+ ranges = <>;
+ mboxes = <&npu_mhuv2_0 0>, <&npu_mhuv2_0 0>;
+ mbox-names = "tx", "rx";
+ dma-ranges = <0 0x60000000 0 0x80000000 0 0x20000000>;
+ };
+
+ mailbox_mhu_test@0x84000000 {
+ compatible = "mailbox-test";
+ reg = <0x0 0x84000000 0x0 0x10000>, <0x0 0x84010000 0x0 0x10000>;
+ mboxes = <&npu_mhuv2_0 0>, <&npu_mhuv2_0 0>;
+ mbox-names = "tx", "rx";
+ };
};
+