Skip to content

Commit

Permalink
soc: arm: st_stm32: stm32l0: Add support for stm32l051X6
Browse files Browse the repository at this point in the history
This commit add the dts for the STM32L051X6.

Signed-off-by: William MARTIN <william.martin@muxen.fr>
  • Loading branch information
wysman authored and carlescufi committed Jul 6, 2023
1 parent 3e294ac commit e153c0e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dts/arm/st/l0/stm32l051X6.dtsi
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2023 Muxen SAS
*
* SPDX-License-Identifier: Apache-2.0
*/

#include <mem.h>
#include <st/l0/stm32l051.dtsi>

/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(8)>;
};

soc {
flash-controller@40022000{
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(32)>;
};
};

};
};

0 comments on commit e153c0e

Please sign in to comment.