Skip to content

Commit 6f0ad6e

Browse files
committed
dts: stm32n6: Add npu node and dts binding
Provide binding for `st,stm32-npu` compatible and node in SoC dtsi. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 6d69f16 commit 6f0ad6e

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

dts/arm/st/n6/stm32n6.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,14 @@
852852
resets = <&rctl STM32_RESET(APB5, 1)>;
853853
status = "disabled";
854854
};
855+
856+
npu: npu@580c0000 {
857+
compatible = "st,stm32-npu";
858+
reg = <0x580c0000 0x1000>;
859+
clocks = <&rcc STM32_CLOCK(AHB5, 31)>;
860+
resets = <&rctl STM32_RESET(AHB5, 31)>;
861+
status = "disabled";
862+
};
855863
};
856864
};
857865

dts/bindings/misc/st,stm32-npu.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2025 STMicroelectronics
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: STM32 Neural-ART accelerator
5+
6+
compatible: "st,stm32-npu"
7+
8+
include: [reset-device.yaml, base.yaml]
9+
10+
properties:
11+
reg:
12+
required: true
13+
14+
clocks:
15+
required: true
16+
17+
resets:
18+
required: true

0 commit comments

Comments
 (0)