soc: arm: add support for stm32h753xx
STM32H753xx is similar to STM32H743xx except that it has crypto/hash hardware acceleration and the memory configuration is always 2Mbytes flash and 1Mbyte RAM. Signed-off-by: Petri Oksanen <petri@iote.ai>
This commit is contained in:
parent
41fa181388
commit
349c50a682
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Petri Oksanen <petri@iote.ai>
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <st/h7/stm32h743.dtsi>
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Petri Oksanen <petri@iote.ai>
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <mem.h>
|
||||
#include <st/h7/stm32h753.dtsi>
|
||||
|
||||
/ {
|
||||
soc {
|
||||
flash-controller@52002000 {
|
||||
flash0: flash@8000000 {
|
||||
compatible = "soc-nv-flash";
|
||||
label = "FLASH_STM32";
|
||||
reg = <0x08000000 DT_SIZE_K(2048)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
|
@ -0,0 +1,14 @@
|
|||
# ST STM32H753X MCU configuration options
|
||||
|
||||
# Copyright (c) 2020 Petri Oksanen <petri@iote.ai>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32H753XX
|
||||
|
||||
config SOC
|
||||
default "stm32h753xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 150
|
||||
|
||||
endif # SOC_STM32H753XX
|
|
@ -31,4 +31,9 @@ config SOC_STM32H750XX
|
|||
select CPU_CORTEX_M7
|
||||
select CPU_HAS_FPU_DOUBLE_PRECISION
|
||||
|
||||
config SOC_STM32H753XX
|
||||
bool "STM32H753XX"
|
||||
select CPU_CORTEX_M7
|
||||
select CPU_HAS_FPU_DOUBLE_PRECISION
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Reference in New Issue