1/*
2 * Copyright (c) 2024 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/**
8 * STM32WB09 is mostly identical to STM32WB05.
9 * The only differences are RAM size, flash size and TRNG IP.
10 * Flash and RAM size are defined in the package-level DTSI.
11 */
12#include <st/wb0/stm32wb05.dtsi>
13
14/ {
15	soc {
16		compatible = "st,stm32wb09", "st,stm32wb0", "simple-bus";
17
18		rng: rng@48600000 {
19			/**
20			 * STM32WB09 TRNG has an interrupt line.
21			 * Switch to proper compatible, delete property
22			 * that doesn't apply to it, and add the interrupt
23			 * line as property.
24			 */
25			/delete-property/ generation-delay-ns;
26			compatible = "st,stm32-rng";
27			interrupts = <28 0>;
28		};
29	};
30};
31