blob: 226f6772d0791fa934168e49eb62ffb34a7f85f0 [file]
# SPDX-FileCopyrightText: <text>Copyright 2022, 2025 Arm Limited and/or
# its affiliates <open-source-office@arm.com></text>
# SPDX-License-Identifier: Apache-2.0
description: |
The Arm Ethos-U is a micro NPU that enables neural networks to be hardware
accelerated on embedded devices. The Ethos-U NPU driver is provided as a
Zephyr module that is hooked up into the Tensorflow Lite Micro framework
as a 'TFLM custom operation'.
This device tree entry defines board specific properties like the register
map address and interrupt line, and is therefore expected to be included
into the device specific device tree file.
compatible: "arm,ethos-u"
include: base.yaml
properties:
reg:
required: true
interrupts:
required: true
secure-enable:
type: boolean
description: Configure Ethos-U NPU to operate in secure- or non-secure mode
privilege-enable:
type: boolean
description: Configure Ethos-U NPU to operate in privileged- or non-privileged mode
fast-memory-region:
type: phandle
description: |
Phandle to a node compatible with "zephyr,memory-region" that represents
a dedicated fast SRAM region used by the Ethos-U driver as scratch
memory (spill cache). This is used by Ethos-U65/Ethos-U85 when the model has
been compiled in Dedicated SRAM mode with Vela.
If omitted, the driver passes NULL/0 to ethosu_init() and no fast
scratch area is used.