Skip to content

Commit 1091c2d

Browse files
committed
SOC: Infineon: CYW20829: Adding B1 devices to CYW20829 Family.
Adding B1 revision devices to CYW20829 family. Clean up unsupported devices from SOC files. Signed-off-by: John Batch <john.batch@infineon.com>
1 parent 930f166 commit 1091c2d

File tree

6 files changed

+66
-59
lines changed

6 files changed

+66
-59
lines changed

modules/hal_infineon/mtb-hal-cat1/CMakeLists.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
2-
# an affiliate of Cypress Semiconductor Corporation
1+
# Copyright (c) 2025 Infineon Technologies AG,
2+
# or an affiliate of Infineon Technologies AG.
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

@@ -60,13 +60,21 @@ zephyr_library_sources_ifdef(CONFIG_SOC_PACKAGE_PSOC6_04_68_QFN
6060
zephyr_library_sources_ifdef(CONFIG_SOC_PACKAGE_PSOC6_04_80_TQFP
6161
${hal_cat1a_dir}/source/pin_packages/cyhal_psoc6_04_80_tqfp.c)
6262

63+
zephyr_library_sources_ifdef(CONFIG_SOC_PACKAGE_CYW20829_48_QFN
64+
${hal_cat1b_dir}/source/pin_packages/cyhal_cyw20829_48_qfn.c)
6365
zephyr_library_sources_ifdef(CONFIG_SOC_PACKAGE_CYW20829_56_QFN
6466
${hal_cat1b_dir}/source/pin_packages/cyhal_cyw20829_56_qfn.c)
67+
zephyr_library_sources_ifdef(CONFIG_SOC_PACKAGE_CYW20829_64_BGA
68+
${hal_cat1b_dir}/source/pin_packages/cyhal_cyw20829_64_bga.c)
69+
zephyr_library_sources_ifdef(CONFIG_SOC_PACKAGE_CYW20829_77_BGA
70+
${hal_cat1b_dir}/source/pin_packages/cyhal_cyw20829_77_bga.c)
6571

6672
zephyr_library_sources_ifdef(CONFIG_SOC_PACKAGE_XMC7200_272_BGA
6773
${hal_cat1c_dir}/source/pin_packages/cyhal_xmc7200_272_bga.c)
6874

69-
zephyr_library_sources_ifdef(CONFIG_SOC_DIE_CYW20829
75+
zephyr_library_sources_ifdef(CONFIG_SOC_DIE_20829
76+
${hal_cat1b_dir}/source/triggers/cyhal_triggers_cyw20829.c)
77+
zephyr_library_sources_ifdef(CONFIG_SOC_DIE_89829
7078
${hal_cat1b_dir}/source/triggers/cyhal_triggers_cyw20829.c)
7179

7280
zephyr_library_sources_ifdef(CONFIG_SOC_DIE_PSOC6_01

soc/infineon/cat1b/cyw20829/Kconfig

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Copyright (c) 2024 Cypress Semiconductor Corporation (an Infineon company) or
2-
# an affiliate of Cypress Semiconductor Corporation
1+
# Copyright (c) 2025 Infineon Technologies AG,
2+
# or an affiliate of Infineon Technologies AG.
3+
#
34
# SPDX-License-Identifier: Apache-2.0
45

5-
# Infineon CAT1B devices
6-
7-
# Series definitions
86
config SOC_SERIES_CYW20829
97
select ARM
108
select CPU_HAS_ARM_MPU

soc/infineon/cat1b/cyw20829/Kconfig.defconfig

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
2-
# an affiliate of Cypress Semiconductor Corporation
1+
# Copyright (c) 2025 Infineon Technologies AG,
2+
# or an affiliate of Infineon Technologies AG.
3+
#
34
# SPDX-License-Identifier: Apache-2.0
45

56
# Infineon CYW20829 based MCU default configuration
67

7-
if SOC_DIE_CYW20829
8+
if SOC_SERIES_CYW20829
89

910
config INFINEON_CAT1_LP_TIMER
1011
bool
@@ -16,7 +17,7 @@ config NUM_IRQS
1617
default 70
1718

1819
config SYS_CLOCK_HW_CYCLES_PER_SEC
19-
default 96000000
20+
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
2021

2122
config BUILD_OUTPUT_ADJUST_LMA
2223
depends on XIP
@@ -30,4 +31,4 @@ config IDLE_STACK_SIZE
3031

3132
# add additional die specific params
3233

33-
endif # SOC_DIE_CYW20829
34+
endif # SOC_SERIES_CYW20829
Lines changed: 30 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,70 @@
1-
# Copyright (c) 2024 Cypress Semiconductor Corporation (an Infineon company) or
2-
# an affiliate of Cypress Semiconductor Corporation
1+
# Copyright (c) 2025 Infineon Technologies AG,
2+
# or an affiliate of Infineon Technologies AG.
3+
#
34
# SPDX-License-Identifier: Apache-2.0
45

56
# Infineon CYW20829 series MCUs
6-
7-
# SOC series
87
config SOC_SERIES_CYW20829
98
bool
9+
select SOC_FAMILY_INFINEON_CAT1B
1010

1111
config SOC_SERIES
1212
default "cyw20829" if SOC_SERIES_CYW20829
1313

14-
# SOC die
15-
config SOC_DIE_CYW20829
14+
# Infineon CYW20829 series MPNs
15+
config SOC_CYW20829B0LKML
1616
bool
17-
select SOC_FAMILY_INFINEON_CAT1B
17+
select SOC_SERIES_CYW20829
1818

19-
# SOC packages
20-
config SOC_PACKAGE_CYW20829_56_QFN
19+
config SOC_CYW89829B0232
2120
bool
21+
select SOC_SERIES_CYW20829
2222

23-
config SOC_PACKAGE_CYW20829_40_QFN
23+
config SOC_CYW20829B0000
2424
bool
25+
select SOC_SERIES_CYW20829
2526

26-
config SOC_PACKAGE_CYW20829_77_BGA
27+
config SOC_CYW20829B0010
2728
bool
29+
select SOC_SERIES_CYW20829
2830

29-
# MPN
30-
config SOC_CYW20829A0LKML
31+
config SOC_CYW20829B1240
3132
bool
32-
select SOC_DIE_CYW20829
33-
select SOC_PACKAGE_CYW20829_56_QFN
3433
select SOC_SERIES_CYW20829
3534

36-
config SOC_CYW20829A0KML
35+
config SOC_CYW20829B1340
3736
bool
38-
select SOC_DIE_CYW20829
39-
select SOC_PACKAGE_CYW20829_40_QFN
4037
select SOC_SERIES_CYW20829
4138

42-
config SOC_CYW89829A0KML
39+
config SOC_CYW89829B0062
4340
bool
44-
select SOC_DIE_CYW20829
45-
select SOC_PACKAGE_CYW20829_40_QFN
4641
select SOC_SERIES_CYW20829
4742

48-
config SOC_CYW20829B0LKML
43+
config SOC_CYW89829B1062
4944
bool
50-
select SOC_DIE_CYW20829
51-
select SOC_PACKAGE_CYW20829_56_QFN
5245
select SOC_SERIES_CYW20829
5346

54-
config SOC_CYW20829B0KML
47+
config SOC_CYW20829B1000
5548
bool
56-
select SOC_DIE_CYW20829
57-
select SOC_PACKAGE_CYW20829_40_QFN
5849
select SOC_SERIES_CYW20829
5950

60-
config SOC_CYW89829B0KML
51+
config SOC_CYW20829B1010
6152
bool
62-
select SOC_DIE_CYW20829
63-
select SOC_PACKAGE_CYW20829_40_QFN
6453
select SOC_SERIES_CYW20829
6554

66-
config SOC_CYW89829B01MKSBG
55+
config SOC_CYW89829B1232
6756
bool
68-
select SOC_DIE_CYW20829
69-
select SOC_PACKAGE_CYW20829_77_BGA
7057
select SOC_SERIES_CYW20829
7158

7259
config SOC
73-
default "cyw20829a0lkml" if SOC_CYW20829A0LKML
74-
default "cyw20829a0kml" if SOC_CYW20829A0KML
75-
default "cyw89829a0kml" if SOC_CYW89829A0KML
7660
default "cyw20829b0lkml" if SOC_CYW20829B0LKML
77-
default "cyw20829b0kml" if SOC_CYW20829B0KML
78-
default "cyw89829b0kml" if SOC_CYW89829B0KML
79-
default "cyw89829b01mksbg" if SOC_CYW89829B01MKSBG
61+
default "cyw89829b0232" if SOC_CYW89829B0232
62+
default "cyw20829b0000" if SOC_CYW20829B0000
63+
default "cyw20829b0010" if SOC_CYW20829B0010
64+
default "cyw20829b1240" if SOC_CYW20829B1240
65+
default "cyw20829b1340" if SOC_CYW20829B1340
66+
default "cyw89829b0062" if SOC_CYW89829B0062
67+
default "cyw89829b1062" if SOC_CYW89829B1062
68+
default "cyw20829b1000" if SOC_CYW20829B1000
69+
default "cyw20829b1010" if SOC_CYW20829B1010
70+
default "cyw89829b1232" if SOC_CYW89829B1232

soc/infineon/cat1b/soc.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
1+
# Copyright (c) 2025 Infineon Technologies AG,
2+
# or an affiliate of Infineon Technologies AG.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
16
family:
27
- name: cat1b
38
series:
49
- name: cyw20829
510
socs:
6-
- name: cyw20829a0lkml
7-
- name: cyw20829a0kml
8-
- name: cyw89829a0kml
911
- name: cyw20829b0lkml
10-
- name: cyw20829b0kml
11-
- name: cyw89829b0kml
12-
- name: cyw89829b01mksbg
12+
- name: cyw89829b0232
13+
- name: cyw20829b0000
14+
- name: cyw20829b0010
15+
- name: cyw20829b1240
16+
- name: cyw20829b1340
17+
- name: cyw89829b0062
18+
- name: cyw89829b1062
19+
- name: cyw20829b1000
20+
- name: cyw20829b1010
21+
- name: cyw89829b1232
1322
- name: psc3
1423
socs:
1524
- name: psc3m5fds2afq1

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ manifest:
185185
groups:
186186
- hal
187187
- name: hal_infineon
188-
revision: f3c571f772209b5970bdd1806da641244b5c4c38
188+
revision: pull/35/head
189189
path: modules/hal/infineon
190190
groups:
191191
- hal

0 commit comments

Comments
 (0)