aboutsummaryrefslogtreecommitdiff
path: root/remoteproc/remoteproc.dtsi
blob: 2e38e17dc2c88db064c93721da010fd110c0b9bb (plain)
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
/*
 * Copyright (c) 2021 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
 * Foundation, and any use by you of this program is subject to the terms
 * of such GNU licence.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, you can access it online at
 * http://www.gnu.org/licenses/gpl-2.0.html.
 *
 * SPDX-License-Identifier: GPL-2.0-only
 */


/{
    /* Example for using reset driver dts entries for Ethos-U */
    ethosu_reset: sgm775_ethosu_bridge@0x500f0000 {
            compatible ="arm,ethosu-bridge-reset";
            #reset-cells = <1>;
            reg = <0x0 0x500f0000 0x0 0x00001000>;
    };

    /* configuration for the remote proc driver. */
    ethosu_cpu {
           #address-cells = <2>;
           #size-cells = <2>;
           range;
           compatible ="arm,ethosu-sgm775-rproc";
           reg = <0x0 0x50100000 0x0 0x00100000>,
                 <0x0 0x84000000 0x0 0x00100000>;
           reg-names = "rom", "shared";
           resets = <&ethosu_reset 0>;
           #ethosu,rproc-address-cells = <1>;
           ethosu,rproc-ranges = <0x0 0x50100000 0x00000000 0x0 0x00100000
                                  0x0 0x84000000 0x64000000 0x0 0x00100000>;
           ethosu,rproc-names = "rom", "shared";
    };
};