Skip to content

Commit b3e29b6

Browse files
committed
dt-bindings: npu: Add Arm Ethos-U65/U85
Add a binding schema for Arm Ethos-U65/U85 NPU. The Arm Ethos-U NPUs are designed for edge AI inference applications. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Frank Li <Frank.Li@nxp.com> Acked-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Link: https://patch.msgid.link/20251020-ethos-v6-1-ecebc383c4b7@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 81233d5 commit b3e29b6

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/npu/arm,ethos.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Arm Ethos U65/U85
8+
9+
maintainers:
10+
- Rob Herring <robh@kernel.org>
11+
12+
description: >
13+
The Arm Ethos-U NPUs are designed for IoT inference applications. The NPUs
14+
can accelerate 8-bit and 16-bit integer quantized networks:
15+
16+
Transformer networks (U85 only)
17+
Convolutional Neural Networks (CNN)
18+
Recurrent Neural Networks (RNN)
19+
20+
Further documentation is available here:
21+
22+
U65 TRM: https://developer.arm.com/documentation/102023/
23+
U85 TRM: https://developer.arm.com/documentation/102685/
24+
25+
properties:
26+
compatible:
27+
oneOf:
28+
- items:
29+
- enum:
30+
- fsl,imx93-npu
31+
- const: arm,ethos-u65
32+
- items:
33+
- {}
34+
- const: arm,ethos-u85
35+
36+
reg:
37+
maxItems: 1
38+
39+
interrupts:
40+
maxItems: 1
41+
42+
clocks:
43+
maxItems: 2
44+
45+
clock-names:
46+
items:
47+
- const: core
48+
- const: apb
49+
50+
power-domains:
51+
maxItems: 1
52+
53+
sram:
54+
maxItems: 1
55+
56+
required:
57+
- compatible
58+
- reg
59+
- interrupts
60+
- clocks
61+
62+
additionalProperties: false
63+
64+
examples:
65+
- |
66+
#include <dt-bindings/interrupt-controller/irq.h>
67+
#include <dt-bindings/interrupt-controller/arm-gic.h>
68+
#include <dt-bindings/clock/imx93-clock.h>
69+
70+
npu@4a900000 {
71+
compatible = "fsl,imx93-npu", "arm,ethos-u65";
72+
reg = <0x4a900000 0x1000>;
73+
interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
74+
power-domains = <&mlmix>;
75+
clocks = <&clk IMX93_CLK_ML>, <&clk IMX93_CLK_ML_APB>;
76+
clock-names = "core", "apb";
77+
sram = <&sram>;
78+
};
79+
...

0 commit comments

Comments
 (0)