Skip to content

Commit d0cff9a

Browse files
committed
boards: microchip: mec_assy6941: Add support for MEC1653B
We added support for the MEC1653B daughter card on the mec_assy6941 EVB base board. Signed-off-by: Scott Worley <scott.worley@microchip.com>
1 parent 01ebba3 commit d0cff9a

File tree

6 files changed

+106
-0
lines changed

6 files changed

+106
-0
lines changed

boards/microchip/mec_assy6941/Kconfig.mec_assy6941

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config BOARD_MEC_ASSY6941
5+
select SOC_MEC1653B_NSZ if BOARD_MEC_ASSY6941_MEC1653B_NSZ
56
select SOC_MEC1743_QLJ if BOARD_MEC_ASSY6941_MEC1743_QLJ
67
select SOC_MEC1743_QSZ if BOARD_MEC_ASSY6941_MEC1743_QSZ
78
select SOC_MEC1753_QLJ if BOARD_MEC_ASSY6941_MEC1753_QLJ
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2025, Microchip Technology Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config BOARD_MEC_ASSY6941_MEC1653B_NSZ
5+
select SOC_MEC1653B_NSZ

boards/microchip/mec_assy6941/board.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ board:
33
full_name: MEC17xxEVB ASSY6941
44
vendor: microchip
55
socs:
6+
- name: mec1653b_nsz
67
- name: mec1743_qlj
78
- name: mec1743_qsz
89
- name: mec1753_qlj
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Copyright (c) 2025, Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/dts-v1/;
8+
9+
#include <microchip/mec/mec5_mec1653bnsz.dtsi>
10+
#include <microchip/mec5/mec1653b-nsz-b0-pinctrl.dtsi>
11+
12+
/ {
13+
model = "Microchip MEC ASSY6941 MEC1753B-NSZ evaluation board";
14+
compatible = "microchip,mec_assy6941-mec1653b_nsz";
15+
16+
chosen {
17+
zephyr,sram = &sram0;
18+
zephyr,flash = &flash0;
19+
zephyr,console = &uart1;
20+
rtimer-busy-wait-timer = &timer5;
21+
};
22+
23+
power-states {
24+
idle: idle {
25+
compatible = "zephyr,power-state";
26+
power-state-name = "suspend-to-idle";
27+
min-residency-us = <1000000>;
28+
};
29+
30+
suspend_to_ram: suspend_to_ram {
31+
compatible = "zephyr,power-state";
32+
power-state-name = "suspend-to-ram";
33+
min-residency-us = <2000000>;
34+
};
35+
};
36+
};
37+
38+
&cpu0 {
39+
clock-frequency = <96000000>;
40+
status = "okay";
41+
cpu-power-states = <&idle &suspend_to_ram>;
42+
};
43+
44+
/* Disable ARM SysTick kernel timer driver */
45+
&systick {
46+
status = "disabled";
47+
};
48+
49+
/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
50+
&rtimer {
51+
status = "okay";
52+
};
53+
54+
/* We chose 32-bit basic timer 5 for use by ktimer */
55+
&timer5 {
56+
status = "okay";
57+
};
58+
59+
&uart1 {
60+
compatible = "microchip,mec5-uart";
61+
status = "okay";
62+
clock-frequency = <1843200>;
63+
current-speed = <115200>;
64+
pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>;
65+
pinctrl-names = "default";
66+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#
2+
# Copyright (c) 2025, Microchip Technology Inc.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
identifier: mec_assy6941/mec1653b_nsz
8+
name: MEC174X EVB ASSY 6941 with MEC1653B-NSZ
9+
type: mcu
10+
arch: arm
11+
toolchain:
12+
- zephyr
13+
- gnuarmemb
14+
ram: 60
15+
flash: 352
16+
supported:
17+
- gpio
18+
- pinctrl
19+
testing:
20+
binaries:
21+
- spi_image.bin
22+
ignore_tags:
23+
- bluetooth
24+
- net
25+
vendor: microchip
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright (c) 2025, Microchip Technology Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
#
4+
5+
CONFIG_GPIO=y
6+
CONFIG_SERIAL=y
7+
CONFIG_CONSOLE=y
8+
CONFIG_UART_CONSOLE=y

0 commit comments

Comments
 (0)