mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00

Add support for Arm Ethos-N NPU multi-device. The device tree parsing currently only supports one NPU device with multiple cores. To be able to support multi-device NPU configurations this patch adds support for having multiple NPU devices in the device tree. To be able to support multiple NPU devices in the SMC API, it has been changed in an incompatible way so the API version has been bumped. Signed-off-by: Laurent Carlier <laurent.carlier@arm.com> Change-Id: Ide279ce949bd06e8939268b9601c267e45f3edc3
27 lines
524 B
Text
27 lines
524 B
Text
/*
|
|
* Copyright (c) 2021, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/*
|
|
* For examples of multi-core and multi-device NPU, refer to the examples given in the
|
|
* Arm Ethos-N NPU driver stack.
|
|
* https://github.com/ARM-software/ethos-n-driver-stack
|
|
*/
|
|
|
|
/ {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
ethosn0: ethosn@6f300000 {
|
|
compatible = "ethosn";
|
|
reg = <0 0x6f300000 0 0x00100000>;
|
|
status = "okay";
|
|
|
|
core0 {
|
|
compatible = "ethosn-core";
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|