dts: st: add stm32c011X6 support

Provide support for STM32C011X6 family support

Signed-off-by: Romain Pelletant <romainp@kickmaker.net>
This commit is contained in:
Romain Pelletant 2024-04-20 19:46:41 +02:00 committed by Fabio Baltieri
parent 410edaebaa
commit c8bd343309
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,13 @@
/*
* Copyright (c) 2024 Kickmaker
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <st/c0/stm32c0.dtsi>
/ {
soc {
compatible = "st,stm32c011", "st,stm32c0", "simple-bus";
};
};

View File

@ -0,0 +1,22 @@
/*
* Copyright (c) 2024 Kickmaker
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/c0/stm32c011.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(6)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(32)>;
};
};
};
};