From eca57905a3f8c212cfe88f3f2974bcbaa1bf3d20 Mon Sep 17 00:00:00 2001 From: Ricardo Rivera-Matos Date: Fri, 18 Apr 2025 12:07:16 -0500 Subject: [PATCH] dts: arm: st: f4: adds stm32f401Xd dtsi Adds a dtsi file for the STM32F401XD family of devices. These devices are closely related to the STM32F401XE family of devices but with a reduced flash memory from 512kB to 384kB. Signed-off-by: Ricardo Rivera-Matos --- dts/arm/st/f4/stm32f401Xd.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dts/arm/st/f4/stm32f401Xd.dtsi diff --git a/dts/arm/st/f4/stm32f401Xd.dtsi b/dts/arm/st/f4/stm32f401Xd.dtsi new file mode 100644 index 00000000000..b15480221f4 --- /dev/null +++ b/dts/arm/st/f4/stm32f401Xd.dtsi @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2025 Cirrus Logic, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include +#include + +/ { + sram0: memory@20000000 { + reg = <0x20000000 DT_SIZE_K(96)>; + }; + + soc { + flash-controller@40023c00 { + flash0: flash@8000000 { + reg = <0x08000000 DT_SIZE_K(384)>; + }; + }; + }; +};