From ada2b3eba037581843357f560a4facf5df072218 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Mon, 4 Dec 2017 14:09:14 +0100 Subject: [PATCH] dts: stm32f0: add missing flash properties Add the missing Flash properties in the STM32F0 dtsi. Signed-off-by: Neil Armstrong --- dts/arm/st/stm32f0.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dts/arm/st/stm32f0.dtsi b/dts/arm/st/stm32f0.dtsi index d14580bbb66..57aee6b3989 100644 --- a/dts/arm/st/stm32f0.dtsi +++ b/dts/arm/st/stm32f0.dtsi @@ -20,8 +20,12 @@ reg = <0>; }; }; + flash0: flash@8000000 { + compatible = "soc-nv-flash"; reg = <0x08000000 DT_FLASH_SIZE>; + + write-block-size = <2>; }; sram0: memory@20000000 {