soc: Add the MAX32655 SoC

Add MAX32655 Kconfig and dts files

Co-authored-by: Maureen Helm <maureen.helm@analog.com>
Co-authored-by: Okan Sahin <okan.sahin@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
Sadik Ozer 2023-10-13 16:23:57 +03:00 committed by Alberto Escolar
commit 84a0dee00b
6 changed files with 496 additions and 0 deletions

View file

@ -11,6 +11,9 @@ config SOC_FAMILY_MAX32
select CLOCK_CONTROL
select BUILD_OUTPUT_HEX
config SOC_MAX32655
select CPU_CORTEX_M4
config SOC_MAX32690
select CPU_CORTEX_M4

View file

@ -0,0 +1,14 @@
# Analog Devices MAX32655 MCU
# Copyright (c) 2023-2024 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0
if SOC_MAX32655
config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/clocks/clk_ipo,clock-frequency)
config NUM_IRQS
default 110
endif # SOC_MAX32655

View file

@ -9,6 +9,14 @@ config SOC_FAMILY_MAX32
config SOC_FAMILY
default "max32" if SOC_FAMILY_MAX32
config SOC_MAX32655
bool
select SOC_FAMILY_MAX32
config SOC_MAX32655_M4
bool
select SOC_MAX32655
config SOC_MAX32690
bool
select SOC_FAMILY_MAX32
@ -18,4 +26,5 @@ config SOC_MAX32690_M4
select SOC_MAX32690
config SOC
default "max32655" if SOC_MAX32655
default "max32690" if SOC_MAX32690

View file

@ -4,6 +4,9 @@
family:
- name: max32
socs:
- name: max32655
cpuclusters:
- name: m4
- name: max32690
cpuclusters:
- name: m4