soc: Add the MAX32680 SoC

Add MAX32680 Kconfig and dts files

Co-authored-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
Sadik Ozer 2024-01-16 13:35:15 +03:00 committed by Anas Nashif
commit 6a8674ce12
6 changed files with 382 additions and 0 deletions

View file

@ -14,6 +14,9 @@ config SOC_FAMILY_MAX32
config SOC_MAX32655
select CPU_CORTEX_M4
config SOC_MAX32680
select CPU_CORTEX_M4
config SOC_MAX32690
select CPU_CORTEX_M4

View file

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

View file

@ -17,6 +17,14 @@ config SOC_MAX32655_M4
bool
select SOC_MAX32655
config SOC_MAX32680
bool
select SOC_FAMILY_MAX32
config SOC_MAX32680_M4
bool
select SOC_MAX32680
config SOC_MAX32690
bool
select SOC_FAMILY_MAX32
@ -27,4 +35,5 @@ config SOC_MAX32690_M4
config SOC
default "max32655" if SOC_MAX32655
default "max32680" if SOC_MAX32680
default "max32690" if SOC_MAX32690

View file

@ -7,6 +7,9 @@ family:
- name: max32655
cpuclusters:
- name: m4
- name: max32680
cpuclusters:
- name: m4
- name: max32690
cpuclusters:
- name: m4